2026-01-20 14:06:31 -06:00

555 B

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)
    {
      "name": "string"
    }
    
  • UpdateLocationRequest (PUT /api/locations/{id})
    {
      "name": "string"
    }
    

Stored documents (MongoDB)

  • Location
    {
      "id": "string (ObjectId)",
      "ownerUserId": "string",
      "name": "string",
      "createdUtc": "string (ISO-8601 datetime)"
    }