Adding endpoint to only get locations visible to character
Deploy Promiscuity Auth API / deploy (push) Successful in 48s
Deploy Promiscuity Character API / deploy (push) Successful in 59s
Deploy Promiscuity Locations API / deploy (push) Successful in 44s
k8s smoke test / test (push) Successful in 7s

This commit is contained in:
2026-03-13 10:49:57 -05:00
parent 4ba06bf7e0
commit 84f8087647
16 changed files with 865 additions and 51 deletions
+29 -13
View File
@@ -12,16 +12,32 @@ Inbound JSON documents
```
Stored documents (MongoDB)
- Character
```json
{
"id": "string (ObjectId)",
"ownerUserId": "string",
"name": "string",
"coord": {
"x": "number",
"y": "number"
},
"createdUtc": "string (ISO-8601 datetime)"
}
```
- Character
```json
{
"id": "string (ObjectId)",
"ownerUserId": "string",
"name": "string",
"coord": {
"x": "number",
"y": "number"
},
"visionRadius": "number",
"createdUtc": "string (ISO-8601 datetime)"
}
```
Outbound JSON documents
- VisibleLocation (`GET /api/characters/{id}/visible-locations`)
```json
[
{
"id": "string (ObjectId)",
"name": "string",
"coord": {
"x": "number",
"y": "number"
}
}
]
```