Skip to content

[RFD]: REST API standards #107

@alexlovelltroy

Description

@alexlovelltroy

Decision Goal

Based on discussion(s), we should create a single API Development Standards document in the community repo and a set of reusable tests that verify API compliance

Category

Code Quality

Stakeholders / Affected Areas

Developers

Decision Needed By

No response

Problem Statement

OpenCHAMI microservices expose REST APIs which can be consumed by clients and other services. While REST itself describes the way resources are represented and modified over http using verbs, it intentionally doesn't prescribe associated API standards and behaviors.

Within OpenCHAMI, we seek to establish a set of conventions and tests to validate those conventions which make client development easier and provide intuitive interfaces.

Proposed Solution

I propose we create API implementation standards for APIs controlled by OpenCHAMI. We should store these standards in the community repository. We should subsequently create tests that validate services are following our standard conventions and flag variances as BUGs in the appropriate repositories.

For discussion and possible inclusion:

Alternatives Considered

No response

Other Considerations

No response

Related Docs / PRs

No response

Metadata

Metadata

Assignees

Labels

rfdRequest for Discussion

Type

No type

Projects

Status

Inbox

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions