Boavizta / boaviztapi

🛠 Giving access to BOAVIZTA reference data and methodologies trough a RESTful API
GNU Affero General Public License v3.0
66 stars 23 forks source link

Document API routes design through ADR #186

Open demeringo opened 1 year ago

demeringo commented 1 year ago

Problem

With the addition of new objects in V0.3 (terminals, peripherals a.s.o) we need more routes in the API.

We have been discussing though various chnnels what would be the best way regarding how to organize or names API routes.

Theses informal discussions or design choices would be interresting to serve as guidelines document for future implementers.

Solution

I propose to create a Architecture Decision Record on the subject, and formalize our different perspectives on the subject through the related PR.

Alternatives

Additional context or elements

Some of the requierements were to ensure that routes remain easy to integrate (like when building GUI), discoverable, consistent and understandable from end-user perspective.

Need to extrac the schematic from Miro also.

demeringo commented 1 year ago

@da-ekchajzer @AirLoren @bpetit @samuelrince I will initiate this when time permit ;-)

da-ekchajzer commented 1 year ago

This page should help : https://dev.doc.api.boavizta.org/Reference/routes/

da-ekchajzer commented 5 months ago

@demeringo do you think this documentation is sufficient https://dev.doc.api.boavizta.org/Reference/routes/? If not, what do you have in mind?