-
Notifications
You must be signed in to change notification settings - Fork 0
Implementation Details
Nikolaus Spring edited this page Apr 16, 2024
·
2 revisions
Fetches all listings (with max page size 20) from the DB. Use the continuationToken query parameter to retrieve further pages.
NOTE: {city} is a path parameter that is expected to be 1. all lowercase and 2. to not contain any spaces
TODO figure out what to do with e.g. äöüß
- pageSize
- continuationToken
- minSize
- maxSize ... TODO
Fetches the listing with the given id in the given city.
Returns 200 OK or 404 NOT FOUND.
Internal naming of trigger definitions follows camelCase.
As a database we use CosmosDB Core/NoSQL.
The CosmosDB endpoint name does not matter, because it is injected by app settings anyway.
The DB has the following setup
- DB name:
gewoscout-db- Container name:
ListingsByCity- PK:
/_partionKey
- PK:
- Container name: