Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.

Define the initial OpenAPI specification #4

Merged
merged 2 commits into from
Jul 5, 2023
Merged

Conversation

masih
Copy link
Member

@masih masih commented Jun 28, 2023

Define the OpenAPI specification with endpoints to store data, retrieve data and check the status of a data by ID.

The API specification uses the prefix /v0 while it is being developed. All bets are off in this version in terms of breaking changes.

The API introduces /data namespace to encapsulate data management and allow room for other domain-specific entities should they be identified later.

Relative to the existing API drafts in Notion documents etc., the specification here opts for minimalism over extra features. This is to allow iteration over core functionality that is: store, retrieve, check.

@masih masih requested review from willscott and hannahhoward June 28, 2023 11:26
Define the OpenAPI specification with endpoints to store data, retrieve
data and check the status of a data by ID.

The API specification uses the prefix `/v0` while it is being developed.
All bets are off in this version in terms of breaking changes.

The API introduces `/data` namespace to encapsulate data management and
allow room for other domain-specific entities should they be identified
later.

Relative to the existing API drafts in Notion documents etc., the
specification here opts for minimalism over extra features. This is to
allow iteration over core functionality that is: store, retrieve, check.
@masih masih force-pushed the masih/inital_api_spec branch from d5fad7d to 13970fb Compare June 29, 2023 16:07
@masih
Copy link
Member Author

masih commented Jul 5, 2023

What are your thoughts on renaming data to blob?

@willscott
Copy link
Collaborator

blob seems like a good name from where we ended up in our last session

Further to modeling discussions, it seems the term `blob` is a better
representation of arbitrary binary data exchanged by the Motion API.

Rename the API specification to reflect this.
@masih masih merged commit a06961a into main Jul 5, 2023
@masih masih deleted the masih/inital_api_spec branch July 5, 2023 14:25
@masih masih self-assigned this Jul 20, 2023
@TorfinnOlsen TorfinnOlsen added this to the M1.0 Motion Testable API milestone Jul 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants