Creating documentation

This commit is contained in:
Zeeshaun Masood
2026-01-20 14:06:31 -06:00
parent faa9a5e9d5
commit d003f67273
9 changed files with 155 additions and 9 deletions
+29
View File
@@ -0,0 +1,29 @@
# LocationsApi document shapes
This service expects JSON request bodies for location creation and updates and
stores location documents in MongoDB.
Inbound JSON documents
- CreateLocationRequest (`POST /api/locations`)
```json
{
"name": "string"
}
```
- UpdateLocationRequest (`PUT /api/locations/{id}`)
```json
{
"name": "string"
}
```
Stored documents (MongoDB)
- Location
```json
{
"id": "string (ObjectId)",
"ownerUserId": "string",
"name": "string",
"createdUtc": "string (ISO-8601 datetime)"
}
```