Base Endpoints
Every model submitted to the generator results in it’s own service being produced.
Each of these generates a number of operations. All of the operations are exposed via different HTTP verbs and query params from the same base address.
- A Collection Operation (this is where paging, text search, ordering, and shaping are most useful)
- A Get By Id Operation
- A Create Model Operation
- An Update Model Operation
- A Partial Update Operation
- A Delete Operation
For a given model all will be exposed via a call http requests to a URL built from your username and name of your mmodel. something like
https://gateway.automatedapi.com/{Username}/{Modelname}s (yes we pluralize automatically)
Example
User AutomatedAPI creates model ‘Pet’ with two properties: Tag and Name (and the third autogenerated PetId property) Exposed Address: https://gateway.automatedapi.com/AutomatedAPI/Pets
This represents the single root by which all api calls can be built into your consumer applications.