Gathering infra
Deploy Promiscuity Auth API / deploy (push) Successful in 46s
Deploy Promiscuity Character API / deploy (push) Successful in 45s
Deploy Promiscuity Inventory API / deploy (push) Successful in 46s
Deploy Promiscuity Locations API / deploy (push) Successful in 1m3s
k8s smoke test / test (push) Successful in 7s
Deploy Promiscuity Auth API / deploy (push) Successful in 46s
Deploy Promiscuity Character API / deploy (push) Successful in 45s
Deploy Promiscuity Inventory API / deploy (push) Successful in 46s
Deploy Promiscuity Locations API / deploy (push) Successful in 1m3s
k8s smoke test / test (push) Successful in 7s
This commit is contained in:
@@ -21,6 +21,13 @@ Inbound JSON documents
|
||||
}
|
||||
```
|
||||
`coord` cannot be updated.
|
||||
- GatherResourceRequest (`POST /api/locations/{id}/gather`)
|
||||
```json
|
||||
{
|
||||
"characterId": "string (Character ObjectId)",
|
||||
"resourceKey": "wood"
|
||||
}
|
||||
```
|
||||
|
||||
Stored documents (MongoDB)
|
||||
- Location
|
||||
@@ -32,6 +39,26 @@ Stored documents (MongoDB)
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"resources": [
|
||||
{
|
||||
"itemKey": "wood",
|
||||
"remainingQuantity": 100,
|
||||
"gatherQuantity": 3
|
||||
}
|
||||
],
|
||||
"createdUtc": "string (ISO-8601 datetime)"
|
||||
}
|
||||
```
|
||||
|
||||
Outbound JSON documents
|
||||
- GatherResourceResponse (`POST /api/locations/{id}/gather`)
|
||||
```json
|
||||
{
|
||||
"locationId": "string (ObjectId)",
|
||||
"characterId": "string (ObjectId)",
|
||||
"resourceKey": "wood",
|
||||
"quantityGranted": 3,
|
||||
"remainingQuantity": 97,
|
||||
"inventoryResponseJson": "string (raw InventoryApi response JSON)"
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user