{"items":[{"type":"link","label":"Log my Care Open API","link":"/docs/openapi","routeSlug":"/docs/openapi","content":{"contentType":"overview","meta":{"name":"Log my Care Open API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"index.json","url":"/_bundle/docs/openapi/@v1.108.0/index.json?download"},{"kind":"download","label":"index.yaml","url":"/_bundle/docs/openapi/@v1.108.0/index.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[{"kind":"email","title":"API Support","email":"support@logmycare.co.uk","label":"support@logmycare.co.uk","withCopyButton":true,"copyContent":"support@logmycare.co.uk"}]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Log my Care Open API (1.108.0)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"API for accessing Log my Care data. Most endpoints are read-only ("},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"GET"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"); the Residents endpoint additionally supports creating and updating records ("},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"POST"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"/"},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"PUT"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). Authenticate by exchanging your API key for a JWT token via "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"POST /openapi/auth/token/exchange"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", then include the token in the "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Authorization: Bearer"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header."},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h2","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Authentication"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Token Exchange (Required)"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":": Exchange the API key for a short-lived JWT token (15 minutes) using "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"POST /openapi/auth/token/exchange"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":". This provides enhanced security by minimizing API key exposure."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"All authenticated endpoints require a valid JWT token in the "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Authorization: Bearer"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" header."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h2","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Available Endpoints"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h3","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Health & Status"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /health"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - System health check (no authentication required)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/health"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Alternative health check path (legacy compatibility)"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h3","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Residents"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/residents"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - List all residents with filtering and pagination"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/residents/:id"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Get specific resident by ID"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"POST /openapi/api/residents"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Create a resident"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"PUT /openapi/api/residents/:id"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Update a resident"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters: "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homeId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"residentId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"dateField"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h3","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Care Plans"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/careplans"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - List all care plans with filtering"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/careplans/:id"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Get specific care plan by ID"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters: "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homeId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"residentId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"carePlanId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"dateField"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h3","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Goals"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/goals"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - List all goals with filtering"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/goals/:id"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Get specific goal by ID"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters: "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homeId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"residentId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"dateField"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h3","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Incident Reports"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/incident-reports"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - List all incident reports"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/incident-reports/:id"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Get specific incident report by ID"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters: "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homeId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"residentId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"severity"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"dateField"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h3","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Risk Assessments"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/risk-assessments"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - List all risk assessments"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/risk-assessments/:id"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Get specific risk assessment by ID"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters: "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homeId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"residentId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"dateField"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h3","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Homes"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/homes"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - List all care homes"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/homes/:id"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Get specific home by ID"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters: "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h3","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Users"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/users"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - List all users"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/users/:id"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Get specific user by ID"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters: "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"dateField"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h3","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Logs"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/logs"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - List all daily care logs"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/logs/:id"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Get specific log by ID"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters: "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homeId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"residentId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"categoryId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"itemId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"loggedById"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"dateField"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h3","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Log Categories"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/logcategories"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - List all log categories (no authentication required)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/logcategories/:id"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Get specific log category by ID (no authentication required)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters: "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h3","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Log Category Items"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/logcategoryitems"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - List all log category items (no authentication required)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/logcategoryitems/:id"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Get specific log category item by ID (no authentication required)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters: "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h3","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Documents"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/documents"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - List all resident documents"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/documents/:id"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Get specific document by ID"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters: "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homeId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"residentId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"categoryId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"dateField"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h3","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Home Documents"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/home-documents"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - List all home-scoped documents"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/home-documents/:id"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Get specific home document by ID"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters: "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homeId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"categoryId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"dateField"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h3","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Devices"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/devices"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - List all devices (tablets, phones, laptops)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"GET /openapi/api/devices/:id"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Get specific device by ID"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters: "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"type"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"deviceStatus"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"h2","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Common Features"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Pagination"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":": All list endpoints support "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" (default: 1) and "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" (default: 10, max: 100) parameters."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Date Filtering"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":": Many endpoints support "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", and "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"dateField"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" parameters for filtering by date ranges."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Rate limits"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":": 100 requests/minute per IP (unauthenticated), 1,000 requests/minute with JWT token authentication."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Security"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":": All requests logged, input validated, parameterised queries, rate limiting enforced."},"children":[]}]}]}],"sectionId":"/docs/openapi"}],"sectionId":"/docs/openapi"}]}]}},{"type":"group","label":"health","link":"/docs/openapi/health","routeSlug":"/docs/openapi/health","items":[{"label":"Health check","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/health/gethealth","routeSlug":"/docs/openapi/health/gethealth","metadata":{"seo":{"title":"Health check","description":"Health check endpoint that returns the application status, uptime, and version information."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getHealth","name":"Health check","isWebhook":false,"pointer":"/paths/~1health/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Health check","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Health check endpoint that returns the application status, uptime, and version information."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"This endpoint is used by load balancers and monitoring systems."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Note:"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" This endpoint does not require authentication."},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT token obtained from token exchange endpoint"}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/health","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/health","href":"health/gethealth","openApiOperationId":"getHealth","summary":"Health check"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Application is healthy","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_418"}},"schemaId":"schema_418"}],"pointer":"/paths/~1health/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_418","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_418"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/health/gethealth"}],"panels":[]}]},"httpPath":"/health"},{"label":"getHealthLegacy","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/health/gethealthlegacy","routeSlug":"/docs/openapi/health/gethealthlegacy","metadata":{"seo":{"title":"getHealthLegacy"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getHealthLegacy","name":"getHealthLegacy","isWebhook":false,"pointer":"/paths/~1openapi~1health/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"getHealthLegacy","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT token obtained from token exchange endpoint"}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/openapi/health","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/openapi/health","href":"health/gethealthlegacy","openApiOperationId":"getHealthLegacy"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200"}],"pointer":"/paths/~1openapi~1health/get/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/health/gethealthlegacy"}],"panels":[]}]},"httpPath":"/openapi/health"}],"content":{"contentType":"group","meta":{"name":"health"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"health","showPageActions":true},{"nodeType":"markdoc","content":"Health check and system status"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/health","summary":"Health check","prefix":{"name":"get","color":"get"},"badges":[],"link":"/health/gethealth","deprecated":false},{"title":"/openapi/health","summary":"getHealthLegacy","prefix":{"name":"get","color":"get"},"badges":[],"link":"/health/gethealthlegacy","deprecated":false}]}]}]}]}},{"type":"group","label":"token-exchange","link":"/docs/openapi/token-exchange","routeSlug":"/docs/openapi/token-exchange","items":[{"label":"Exchange API key for short-lived access token","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/token-exchange/exchangetoken","routeSlug":"/docs/openapi/token-exchange/exchangetoken","metadata":{"seo":{"title":"Exchange API key for short-lived access token","description":"Exchange a long-lived API key for a short-lived JWT access token (15 minutes)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"exchangeToken","name":"Exchange API key for short-lived access token","isWebhook":false,"pointer":"/paths/~1auth~1token~1exchange/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Exchange API key for short-lived access token","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Exchange a long-lived API key for a short-lived JWT access token (15 minutes)."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"This provides enhanced security by minimizing API key exposure."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Permissions and Scope:"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"All permissions, scopes, and home access are automatically determined by the API key"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"No need to specify permissions in the request body"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"The generated token will have all permissions associated with the API key"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Rate Limits:"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Tracked per client IP address, independent of API key"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"10 requests per minute, applied consistently across all environments"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Security Features:"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Tokens expire automatically after 15 minutes"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"IP-based monitoring and abuse detection"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Comprehensive audit logging"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Usage Pattern:"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ol","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Exchange API key for access token at secure endpoint"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Use access token for API calls (never use API key directly)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Re-exchange when token expires (every 15 minutes)"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"This follows OAuth 2.0 Token Exchange (RFC 8693) patterns."},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT token obtained from token exchange endpoint"}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"User-Agent","in":"header","schemaId":"schema_419","description":"Client identification for security monitoring"},{"name":"X-Forwarded-For","in":"header","schemaId":"schema_419","description":"Client IP address for rate limiting and monitoring"}],"pointer":"/paths/~1auth~1token~1exchange/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/TokenExchangeRequestDto"}},"schemaId":"components/schemas/TokenExchangeRequestDto","pointer":"/paths/~1auth~1token~1exchange/post/requestBody","description":"Token exchange request parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/auth/token/exchange","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"User-Agent","in":"header","required":false,"schemaId":"schema_419"},{"name":"X-Forwarded-For","in":"header","required":false,"schemaId":"schema_419"}],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/TokenExchangeRequestDto"}},"responseCodes":["200","400","429"],"pointer":"/auth/token/exchange","href":"token-exchange/exchangetoken","openApiOperationId":"exchangeToken","summary":"Exchange API key for short-lived access token"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"schemaId":"components/schemas/TokenExchangeRequestDto","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/TokenExchangeRequestDto"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Token exchange successful","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TokenExchangeResponseDto"}},"schemaId":"components/schemas/TokenExchangeResponseDto"},{"code":"400","description":"Invalid request (bad API key, invalid scope, etc.)","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TokenExchangeErrorDto"}},"schemaId":"components/schemas/TokenExchangeErrorDto"},{"code":"429","description":"Rate limit exceeded for this endpoint or API key"}],"pointer":"/paths/~1auth~1token~1exchange/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/TokenExchangeResponseDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TokenExchangeResponseDto"}}},{"code":"400","schemaId":"components/schemas/TokenExchangeErrorDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TokenExchangeErrorDto"}}},{"code":"429"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/token-exchange/exchangetoken"}],"panels":[]}]},"httpPath":"/auth/token/exchange"}],"content":{"contentType":"group","meta":{"name":"token-exchange"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"token-exchange","showPageActions":true},{"nodeType":"markdoc","content":"API key authentication"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/auth/token/exchange","summary":"Exchange API key for short-lived access token","prefix":{"name":"post","color":"post"},"badges":[],"link":"/token-exchange/exchangetoken","deprecated":false}]}]}]}]}},{"type":"group","label":"Modules / Residents","link":"/docs/openapi/modules-residents","routeSlug":"/docs/openapi/modules-residents","items":[{"label":"Get residents","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-residents/getresidents","routeSlug":"/docs/openapi/modules-residents/getresidents","metadata":{"seo":{"title":"Get residents","description":"Retrieves residents with personal details, medical history, room location, and care preferences."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getResidents","name":"Get residents","isWebhook":false,"pointer":"/paths/~1api~1residents/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get residents","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves residents with personal details, medical history, room location, and care preferences."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters:"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homeId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by specific care home"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"residentId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by specific resident"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Date range filtering"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"dateField"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Date field to filter on (e.g., createdOn, admissionDate)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Pagination controls (default: page=1, limit=10, max=100)"},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDate","in":"query","schemaId":"schema_420","description":"Start date for filtering (inclusive)"},{"name":"endDate","in":"query","schemaId":"schema_421","description":"End date for filtering (inclusive)"},{"name":"page","in":"query","schemaId":"schema_422","description":"Page number (1-based)"},{"name":"limit","in":"query","schemaId":"schema_423","description":"Number of records per page"},{"name":"homeId","in":"query","schemaId":"schema_424","description":"Filter by home ID"},{"name":"residentId","in":"query","schemaId":"schema_425","description":"Filter by resident ID"},{"name":"dateField","in":"query","schemaId":"schema_426","description":"Date field to filter on"}],"pointer":"/paths/~1api~1residents/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/residents","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[],"query":[{"name":"startDate","in":"query","required":false,"example":"2026-01-01","schemaId":"schema_420"},{"name":"endDate","in":"query","required":false,"example":"2026-12-31","schemaId":"schema_421"},{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_422"},{"name":"limit","in":"query","required":false,"example":10,"schemaId":"schema_423"},{"name":"homeId","in":"query","required":false,"example":"home-123-abc","schemaId":"schema_424"},{"name":"residentId","in":"query","required":false,"example":"resident-456-def","schemaId":"schema_425"},{"name":"dateField","in":"query","required":false,"example":"created_on","schemaId":"schema_426"}],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","500"],"pointer":"/api/residents","href":"modules-residents/getresidents","openApiOperationId":"getResidents","summary":"Get residents"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved records","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ResidentResponseDto"}},"schemaId":"components/schemas/ResidentResponseDto"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/get/responses/401/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1residents/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ResidentResponseDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ResidentResponseDto"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/get/responses/401/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-residents/getresidents"}],"panels":[]}]},"httpPath":"/api/residents"},{"label":"Create resident","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-residents/createresident","routeSlug":"/docs/openapi/modules-residents/createresident","metadata":{"seo":{"title":"Create resident","description":"Create resident"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createResident","name":"Create resident","isWebhook":false,"pointer":"/paths/~1api~1residents/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create resident","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateResidentDto"}},"schemaId":"components/schemas/CreateResidentDto","pointer":"/paths/~1api~1residents/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/residents","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/CreateResidentDto"}},"responseCodes":["201","400","401","403","409","500"],"pointer":"/api/residents","href":"modules-residents/createresident","openApiOperationId":"createResident","summary":"Create resident"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"schemaId":"components/schemas/CreateResidentDto","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateResidentDto"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Successfully created resident","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_427"}},"schemaId":"schema_427"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/post/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/post/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/post/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/post/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/post/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/post/responses/403/content/application~1json/example"]},{"code":"409","description":"Resident with this externalSource already exists","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto"}},"schemaId":"components/schemas/ErrorResponseDto"},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/post/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/post/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1residents/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"schema_427","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_427"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/post/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/post/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/post/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/post/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/post/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/post/responses/403/content/application~1json/example"]}}},{"code":"409","schemaId":"components/schemas/ErrorResponseDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto"}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/post/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents/post/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-residents/createresident"}],"panels":[]}]},"httpPath":"/api/residents"},{"label":"Get resident by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-residents/getresidentbyid","routeSlug":"/docs/openapi/modules-residents/getresidentbyid","metadata":{"seo":{"title":"Get resident by ID","description":"Retrieves complete resident information including medical history, allergies, GP details, care preferences, and room location."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getResidentById","name":"Get resident by ID","isWebhook":false,"pointer":"/paths/~1api~1residents~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get resident by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves complete resident information including medical history, allergies, GP details, care preferences, and room location."},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_428","description":"Unique identifier of the resident","required":true}],"pointer":"/paths/~1api~1residents~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/residents/{id}","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"64f8a1b23d4e5f6a7b8c9d0e","schemaId":"schema_428"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","404","500"],"pointer":"/api/residents/{id}","href":"modules-residents/getresidentbyid","openApiOperationId":"getResidentById","summary":"Get resident by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved resident","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_427"}},"schemaId":"schema_427"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/get/responses/401/content/application~1json/example"]},{"code":"404","description":"Resident not found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/get/responses/404/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1residents~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_427","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_427"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/get/responses/401/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/get/responses/404/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-residents/getresidentbyid"}],"panels":[]}]},"httpPath":"/api/residents/{id}"},{"label":"Update resident","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-residents/updateresident","routeSlug":"/docs/openapi/modules-residents/updateresident","metadata":{"seo":{"title":"Update resident","description":"Update resident"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateResident","name":"Update resident","isWebhook":false,"pointer":"/paths/~1api~1residents~1{id}/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update resident","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_428","description":"Unique identifier of the resident","required":true}],"pointer":"/paths/~1api~1residents~1{id}/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdateResidentDto"}},"schemaId":"components/schemas/UpdateResidentDto","pointer":"/paths/~1api~1residents~1{id}/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/api/residents/{id}","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"64f8a1b23d4e5f6a7b8c9d0e","schemaId":"schema_428"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/UpdateResidentDto"}},"responseCodes":["200","400","401","403","404","409","500"],"pointer":"/api/residents/{id}","href":"modules-residents/updateresident","openApiOperationId":"updateResident","summary":"Update resident"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"schemaId":"components/schemas/UpdateResidentDto","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdateResidentDto"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully updated resident","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_427"}},"schemaId":"schema_427"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/403/content/application~1json/example"]},{"code":"404","description":"Resident not found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/404/content/application~1json/example"]},{"code":"409","description":"Resident with this externalSource already exists","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto"}},"schemaId":"components/schemas/ErrorResponseDto"},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1residents~1{id}/put/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_427","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_427"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/403/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/404/content/application~1json/example"]}}},{"code":"409","schemaId":"components/schemas/ErrorResponseDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto"}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1residents~1{id}/put/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-residents/updateresident"}],"panels":[]}]},"httpPath":"/api/residents/{id}"}],"content":{"contentType":"group","meta":{"name":"Modules / Residents"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Modules / Residents","showPageActions":true},{"nodeType":"markdoc","content":"Resident records"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/residents","summary":"Get residents","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-residents/getresidents","deprecated":false},{"title":"/api/residents","summary":"Create resident","prefix":{"name":"post","color":"post"},"badges":[],"link":"/modules-residents/createresident","deprecated":false},{"title":"/api/residents/{id}","summary":"Get resident by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-residents/getresidentbyid","deprecated":false},{"title":"/api/residents/{id}","summary":"Update resident","prefix":{"name":"put","color":"put"},"badges":[],"link":"/modules-residents/updateresident","deprecated":false}]}]}]}]}},{"type":"group","label":"Modules / Users","link":"/docs/openapi/modules-users","routeSlug":"/docs/openapi/modules-users","items":[{"label":"Get users","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-users/getusers","routeSlug":"/docs/openapi/modules-users/getusers","metadata":{"seo":{"title":"Get users","description":"Retrieves users with their roles, permissions, and homeIds. Password fields are excluded for security."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getUsers","name":"Get users","isWebhook":false,"pointer":"/paths/~1api~1users/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get users","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves users with their roles, permissions, and homeIds. Password fields are excluded for security."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters:"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homeId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by specific care home"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Date range filtering"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"dateField"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Date field to filter on (default: createdOn)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Pagination controls"},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDate","in":"query","schemaId":"schema_420","description":"Start date for filtering (inclusive)"},{"name":"endDate","in":"query","schemaId":"schema_421","description":"End date for filtering (inclusive)"},{"name":"page","in":"query","schemaId":"schema_422","description":"Page number (1-based)"},{"name":"limit","in":"query","schemaId":"schema_423","description":"Number of records per page"},{"name":"dateField","in":"query","schemaId":"schema_429","description":"Date field to filter on"}],"pointer":"/paths/~1api~1users/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/users","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[],"query":[{"name":"startDate","in":"query","required":false,"example":"2026-01-01","schemaId":"schema_420"},{"name":"endDate","in":"query","required":false,"example":"2026-12-31","schemaId":"schema_421"},{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_422"},{"name":"limit","in":"query","required":false,"example":10,"schemaId":"schema_423"},{"name":"dateField","in":"query","required":false,"example":"created_on","schemaId":"schema_429"}],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","500"],"pointer":"/api/users","href":"modules-users/getusers","openApiOperationId":"getUsers","summary":"Get users"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved records","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserResponseDto"}},"schemaId":"components/schemas/UserResponseDto"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/get/responses/401/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1users/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/UserResponseDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserResponseDto"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/get/responses/401/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-users/getusers"}],"panels":[]}]},"httpPath":"/api/users"},{"label":"Create user","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-users/createuser","routeSlug":"/docs/openapi/modules-users/createuser","metadata":{"seo":{"title":"Create user","description":"Create user"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createUser","name":"Create user","isWebhook":false,"pointer":"/paths/~1api~1users/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateUserDto"}},"schemaId":"components/schemas/CreateUserDto","pointer":"/paths/~1api~1users/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/users","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/CreateUserDto"}},"responseCodes":["201","400","401","403","409","500"],"pointer":"/api/users","href":"modules-users/createuser","openApiOperationId":"createUser","summary":"Create user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"schemaId":"components/schemas/CreateUserDto","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateUserDto"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Successfully created user","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_430"}},"schemaId":"schema_430"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/post/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/post/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/post/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/post/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/post/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/post/responses/403/content/application~1json/example"]},{"code":"409","description":"User with this email or externalSource already exists","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto"}},"schemaId":"components/schemas/ErrorResponseDto"},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/post/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/post/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1users/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"schema_430","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_430"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/post/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/post/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/post/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/post/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/post/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/post/responses/403/content/application~1json/example"]}}},{"code":"409","schemaId":"components/schemas/ErrorResponseDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto"}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/post/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users/post/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-users/createuser"}],"panels":[]}]},"httpPath":"/api/users"},{"label":"Get user by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-users/getuserbyid","routeSlug":"/docs/openapi/modules-users/getuserbyid","metadata":{"seo":{"title":"Get user by ID","description":"Retrieves a complete user profile including roles, permissions, homeIds, and employment details. Password fields are excluded for security."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getUserById","name":"Get user by ID","isWebhook":false,"pointer":"/paths/~1api~1users~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get user by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves a complete user profile including roles, permissions, homeIds, and employment details. Password fields are excluded for security."},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_428","description":"Unique identifier of the user","required":true}],"pointer":"/paths/~1api~1users~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/users/{id}","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"64f8a1b23d4e5f6a7b8c9d0e","schemaId":"schema_428"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","404","500"],"pointer":"/api/users/{id}","href":"modules-users/getuserbyid","openApiOperationId":"getUserById","summary":"Get user by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved user","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_430"}},"schemaId":"schema_430"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/get/responses/401/content/application~1json/example"]},{"code":"404","description":"User not found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/get/responses/404/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1users~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_430","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_430"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/get/responses/401/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/get/responses/404/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-users/getuserbyid"}],"panels":[]}]},"httpPath":"/api/users/{id}"},{"label":"Update user","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-users/updateuser","routeSlug":"/docs/openapi/modules-users/updateuser","metadata":{"seo":{"title":"Update user","description":"Update user"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateUser","name":"Update user","isWebhook":false,"pointer":"/paths/~1api~1users~1{id}/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_428","description":"Unique identifier of the user","required":true}],"pointer":"/paths/~1api~1users~1{id}/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdateUserDto"}},"schemaId":"components/schemas/UpdateUserDto","pointer":"/paths/~1api~1users~1{id}/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/api/users/{id}","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"64f8a1b23d4e5f6a7b8c9d0e","schemaId":"schema_428"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/UpdateUserDto"}},"responseCodes":["200","400","401","403","404","409","500"],"pointer":"/api/users/{id}","href":"modules-users/updateuser","openApiOperationId":"updateUser","summary":"Update user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"schemaId":"components/schemas/UpdateUserDto","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdateUserDto"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully updated user","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_430"}},"schemaId":"schema_430"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/403/content/application~1json/example"]},{"code":"404","description":"User not found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/404/content/application~1json/example"]},{"code":"409","description":"User with this email or externalSource already exists","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto"}},"schemaId":"components/schemas/ErrorResponseDto"},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1users~1{id}/put/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_430","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_430"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/403/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/404/content/application~1json/example"]}}},{"code":"409","schemaId":"components/schemas/ErrorResponseDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto"}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1users~1{id}/put/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-users/updateuser"}],"panels":[]}]},"httpPath":"/api/users/{id}"}],"content":{"contentType":"group","meta":{"name":"Modules / Users"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Modules / Users","showPageActions":true},{"nodeType":"markdoc","content":"User records"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/users","summary":"Get users","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-users/getusers","deprecated":false},{"title":"/api/users","summary":"Create user","prefix":{"name":"post","color":"post"},"badges":[],"link":"/modules-users/createuser","deprecated":false},{"title":"/api/users/{id}","summary":"Get user by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-users/getuserbyid","deprecated":false},{"title":"/api/users/{id}","summary":"Update user","prefix":{"name":"put","color":"put"},"badges":[],"link":"/modules-users/updateuser","deprecated":false}]}]}]}]}},{"type":"group","label":"Modules / Care Plans","link":"/docs/openapi/modules-care-plans","routeSlug":"/docs/openapi/modules-care-plans","items":[{"label":"Get care plans","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-care-plans/getcareplans","routeSlug":"/docs/openapi/modules-care-plans/getcareplans","metadata":{"seo":{"title":"Get care plans","description":"Retrieves care plans with goals, assessments, documents, and tracking information."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getCarePlans","name":"Get care plans","isWebhook":false,"pointer":"/paths/~1api~1careplans/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get care plans","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves care plans with goals, assessments, documents, and tracking information."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters:"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homeId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by specific care home"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"residentId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by specific resident"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"carePlanId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by care plan ID"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Date range filtering"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"dateField"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Date field to filter on (default: createdOn)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Pagination controls"},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDate","in":"query","schemaId":"schema_420","description":"Start date for filtering (inclusive)"},{"name":"endDate","in":"query","schemaId":"schema_421","description":"End date for filtering (inclusive)"},{"name":"page","in":"query","schemaId":"schema_422","description":"Page number (1-based)"},{"name":"limit","in":"query","schemaId":"schema_423","description":"Number of records per page"},{"name":"homeId","in":"query","schemaId":"schema_424","description":"Filter by home ID"},{"name":"residentId","in":"query","schemaId":"schema_425","description":"Filter by resident ID"},{"name":"dateField","in":"query","schemaId":"schema_431","description":"Date field to filter on for care plan records"},{"name":"carePlanId","in":"query","schemaId":"schema_432","description":"Filter care plans by care plan ID"}],"pointer":"/paths/~1api~1careplans/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/careplans","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[],"query":[{"name":"startDate","in":"query","required":false,"example":"2026-01-01","schemaId":"schema_420"},{"name":"endDate","in":"query","required":false,"example":"2026-12-31","schemaId":"schema_421"},{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_422"},{"name":"limit","in":"query","required":false,"example":10,"schemaId":"schema_423"},{"name":"homeId","in":"query","required":false,"example":"home-123-abc","schemaId":"schema_424"},{"name":"residentId","in":"query","required":false,"example":"resident-456-def","schemaId":"schema_425"},{"name":"dateField","in":"query","required":false,"schemaId":"components/schemas/CarePlanDateField"},{"name":"carePlanId","in":"query","required":false,"example":"CP-2024-001","schemaId":"schema_432"}],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","500"],"pointer":"/api/careplans","href":"modules-care-plans/getcareplans","openApiOperationId":"getCarePlans","summary":"Get care plans"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved records","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CarePlanResponseDto"}},"schemaId":"components/schemas/CarePlanResponseDto"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans/get/responses/401/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1careplans/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/CarePlanResponseDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CarePlanResponseDto"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans/get/responses/401/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-care-plans/getcareplans"}],"panels":[]}]},"httpPath":"/api/careplans"},{"label":"Get care plan by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-care-plans/getcareplanbyid","routeSlug":"/docs/openapi/modules-care-plans/getcareplanbyid","metadata":{"seo":{"title":"Get care plan by ID","description":"Retrieves a complete care plan including goals, assessments, documents, risk assessments, and review history."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getCarePlanById","name":"Get care plan by ID","isWebhook":false,"pointer":"/paths/~1api~1careplans~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get care plan by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves a complete care plan including goals, assessments, documents, risk assessments, and review history."},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_428","description":"Unique identifier of the care plan","required":true}],"pointer":"/paths/~1api~1careplans~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/careplans/{id}","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"64f8a1b23d4e5f6a7b8c9d0e","schemaId":"schema_428"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","404","500"],"pointer":"/api/careplans/{id}","href":"modules-care-plans/getcareplanbyid","openApiOperationId":"getCarePlanById","summary":"Get care plan by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved care plan","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_433"}},"schemaId":"schema_433"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans~1{id}/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans~1{id}/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans~1{id}/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans~1{id}/get/responses/401/content/application~1json/example"]},{"code":"404","description":"Care Plan not found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans~1{id}/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans~1{id}/get/responses/404/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans~1{id}/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans~1{id}/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1careplans~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_433","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_433"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans~1{id}/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans~1{id}/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans~1{id}/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans~1{id}/get/responses/401/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans~1{id}/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans~1{id}/get/responses/404/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans~1{id}/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1careplans~1{id}/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-care-plans/getcareplanbyid"}],"panels":[]}]},"httpPath":"/api/careplans/{id}"}],"content":{"contentType":"group","meta":{"name":"Modules / Care Plans"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Modules / Care Plans","showPageActions":true},{"nodeType":"markdoc","content":"Care plan records"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/careplans","summary":"Get care plans","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-care-plans/getcareplans","deprecated":false},{"title":"/api/careplans/{id}","summary":"Get care plan by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-care-plans/getcareplanbyid","deprecated":false}]}]}]}]}},{"type":"group","label":"Modules / Homes","link":"/docs/openapi/modules-homes","routeSlug":"/docs/openapi/modules-homes","items":[{"label":"Get homes","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-homes/gethomes","routeSlug":"/docs/openapi/modules-homes/gethomes","metadata":{"seo":{"title":"Get homes","description":"Retrieves care homes with facility details, ODS code, address, bed capacity, features, and home group."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getHomes","name":"Get homes","isWebhook":false,"pointer":"/paths/~1api~1homes/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get homes","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves care homes with facility details, ODS code, address, bed capacity, features, and home group."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters:"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Pagination controls"},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_422","description":"Page number (1-based)"},{"name":"limit","in":"query","schemaId":"schema_423","description":"Number of records per page"}],"pointer":"/paths/~1api~1homes/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/homes","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_422"},{"name":"limit","in":"query","required":false,"example":10,"schemaId":"schema_423"}],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","403","500"],"pointer":"/api/homes","href":"modules-homes/gethomes","openApiOperationId":"getHomes","summary":"Get homes"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved records","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/HomeResponseDto"}},"schemaId":"components/schemas/HomeResponseDto"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes/get/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes/get/responses/403/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1homes/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/HomeResponseDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/HomeResponseDto"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes/get/responses/403/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-homes/gethomes"}],"panels":[]}]},"httpPath":"/api/homes"},{"label":"Get home by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-homes/gethomebyid","routeSlug":"/docs/openapi/modules-homes/gethomebyid","metadata":{"seo":{"title":"Get home by ID","description":"Retrieves complete care home information including ODS code, address, bed capacity, home group, rota settings, and feature flags."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getHomeById","name":"Get home by ID","isWebhook":false,"pointer":"/paths/~1api~1homes~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get home by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves complete care home information including ODS code, address, bed capacity, home group, rota settings, and feature flags."},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_428","description":"Unique identifier of the home","required":true}],"pointer":"/paths/~1api~1homes~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/homes/{id}","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"64f8a1b23d4e5f6a7b8c9d0e","schemaId":"schema_428"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","403","404","500"],"pointer":"/api/homes/{id}","href":"modules-homes/gethomebyid","openApiOperationId":"getHomeById","summary":"Get home by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved home","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_434"}},"schemaId":"schema_434"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/403/content/application~1json/example"]},{"code":"404","description":"Home not found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/404/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1homes~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_434","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_434"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/403/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/404/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1homes~1{id}/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-homes/gethomebyid"}],"panels":[]}]},"httpPath":"/api/homes/{id}"}],"content":{"contentType":"group","meta":{"name":"Modules / Homes"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Modules / Homes","showPageActions":true},{"nodeType":"markdoc","content":"Care home records"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/homes","summary":"Get homes","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-homes/gethomes","deprecated":false},{"title":"/api/homes/{id}","summary":"Get home by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-homes/gethomebyid","deprecated":false}]}]}]}]}},{"type":"group","label":"Modules / Incident Reports","link":"/docs/openapi/modules-incident-reports","routeSlug":"/docs/openapi/modules-incident-reports","items":[{"label":"Get incident reports","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-incident-reports/getincidentreports","routeSlug":"/docs/openapi/modules-incident-reports/getincidentreports","metadata":{"seo":{"title":"Get incident reports","description":"Retrieves incident reports with severity, status, case details, and investigation notes."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getIncidentReports","name":"Get incident reports","isWebhook":false,"pointer":"/paths/~1api~1incident-reports/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get incident reports","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves incident reports with severity, status, case details, and investigation notes."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters:"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homeId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by specific care home"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"residentId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by specific resident"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"severity"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by severity level (1=lowest, 5=highest)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Date range filtering"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"dateField"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Date field to filter on (created_on, closed_on, reviewed_on, or ingested_on)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Pagination controls"},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDate","in":"query","schemaId":"schema_420","description":"Start date for filtering (inclusive)"},{"name":"endDate","in":"query","schemaId":"schema_421","description":"End date for filtering (inclusive)"},{"name":"page","in":"query","schemaId":"schema_422","description":"Page number (1-based)"},{"name":"limit","in":"query","schemaId":"schema_423","description":"Number of records per page"},{"name":"homeId","in":"query","schemaId":"schema_424","description":"Filter by home ID"},{"name":"residentId","in":"query","schemaId":"schema_425","description":"Filter by resident ID"},{"name":"severity","in":"query","schemaId":"schema_435","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Filter by severity level (1=lowest, 5=highest)"},"children":[]}]}]}]},{"name":"dateField","in":"query","schemaId":"schema_436","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Date field to filter on (created_on, closed_on, reviewed_on, or ingested_on)"},"children":[]}]}]}]}],"pointer":"/paths/~1api~1incident-reports/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/incident-reports","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[],"query":[{"name":"startDate","in":"query","required":false,"example":"2026-01-01","schemaId":"schema_420"},{"name":"endDate","in":"query","required":false,"example":"2026-12-31","schemaId":"schema_421"},{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_422"},{"name":"limit","in":"query","required":false,"example":10,"schemaId":"schema_423"},{"name":"homeId","in":"query","required":false,"example":"home-123-abc","schemaId":"schema_424"},{"name":"residentId","in":"query","required":false,"example":"resident-456-def","schemaId":"schema_425"},{"name":"severity","in":"query","required":false,"example":2,"schemaId":"schema_435"},{"name":"dateField","in":"query","required":false,"example":"ingested_on","schemaId":"schema_436"}],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","403","500"],"pointer":"/api/incident-reports","href":"modules-incident-reports/getincidentreports","openApiOperationId":"getIncidentReports","summary":"Get incident reports"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved records","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/IncidentReportResponseDto"}},"schemaId":"components/schemas/IncidentReportResponseDto"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports/get/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports/get/responses/403/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1incident-reports/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/IncidentReportResponseDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/IncidentReportResponseDto"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports/get/responses/403/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-incident-reports/getincidentreports"}],"panels":[]}]},"httpPath":"/api/incident-reports"},{"label":"Get incident report by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-incident-reports/getincidentreportbyid","routeSlug":"/docs/openapi/modules-incident-reports/getincidentreportbyid","metadata":{"seo":{"title":"Get incident report by ID","description":"Retrieves complete incident details including log, case information, witnesses, actions taken, and closure notes."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getIncidentReportById","name":"Get incident report by ID","isWebhook":false,"pointer":"/paths/~1api~1incident-reports~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get incident report by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves complete incident details including log, case information, witnesses, actions taken, and closure notes."},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_428","description":"Unique identifier of the incident report","required":true}],"pointer":"/paths/~1api~1incident-reports~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/incident-reports/{id}","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"64f8a1b23d4e5f6a7b8c9d0e","schemaId":"schema_428"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","403","404","500"],"pointer":"/api/incident-reports/{id}","href":"modules-incident-reports/getincidentreportbyid","openApiOperationId":"getIncidentReportById","summary":"Get incident report by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved incident report","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_437"}},"schemaId":"schema_437"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/403/content/application~1json/example"]},{"code":"404","description":"Incident Report not found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/404/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1incident-reports~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_437","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_437"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/403/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/404/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1incident-reports~1{id}/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-incident-reports/getincidentreportbyid"}],"panels":[]}]},"httpPath":"/api/incident-reports/{id}"}],"content":{"contentType":"group","meta":{"name":"Modules / Incident Reports"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Modules / Incident Reports","showPageActions":true},{"nodeType":"markdoc","content":"Incident report records"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/incident-reports","summary":"Get incident reports","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-incident-reports/getincidentreports","deprecated":false},{"title":"/api/incident-reports/{id}","summary":"Get incident report by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-incident-reports/getincidentreportbyid","deprecated":false}]}]}]}]}},{"type":"group","label":"Modules / Goals","link":"/docs/openapi/modules-goals","routeSlug":"/docs/openapi/modules-goals","items":[{"label":"Get goals","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-goals/getgoals","routeSlug":"/docs/openapi/modules-goals/getgoals","metadata":{"seo":{"title":"Get goals","description":"Retrieves care goals with objectives, progress tracking, action plans, success measurements, and review history."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getGoals","name":"Get goals","isWebhook":false,"pointer":"/paths/~1api~1goals/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get goals","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves care goals with objectives, progress tracking, action plans, success measurements, and review history."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters:"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homeId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by specific care home"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"residentId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by specific resident"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Date range filtering"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Pagination controls"},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDate","in":"query","schemaId":"schema_420","description":"Start date for filtering (inclusive)"},{"name":"endDate","in":"query","schemaId":"schema_421","description":"End date for filtering (inclusive)"},{"name":"page","in":"query","schemaId":"schema_422","description":"Page number (1-based)"},{"name":"limit","in":"query","schemaId":"schema_423","description":"Number of records per page"},{"name":"homeId","in":"query","schemaId":"schema_424","description":"Filter by home ID"},{"name":"residentId","in":"query","schemaId":"schema_425","description":"Filter by resident ID"},{"name":"dateField","in":"query","schemaId":"schema_438","description":"Date field to filter on"}],"pointer":"/paths/~1api~1goals/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/goals","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[],"query":[{"name":"startDate","in":"query","required":false,"example":"2026-01-01","schemaId":"schema_420"},{"name":"endDate","in":"query","required":false,"example":"2026-12-31","schemaId":"schema_421"},{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_422"},{"name":"limit","in":"query","required":false,"example":10,"schemaId":"schema_423"},{"name":"homeId","in":"query","required":false,"example":"home-123-abc","schemaId":"schema_424"},{"name":"residentId","in":"query","required":false,"example":"resident-456-def","schemaId":"schema_425"},{"name":"dateField","in":"query","required":false,"example":"created_on","schemaId":"schema_438"}],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","403","500"],"pointer":"/api/goals","href":"modules-goals/getgoals","openApiOperationId":"getGoals","summary":"Get goals"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved records","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GoalResponseDto"}},"schemaId":"components/schemas/GoalResponseDto"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals/get/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals/get/responses/403/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1goals/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/GoalResponseDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GoalResponseDto"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals/get/responses/403/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-goals/getgoals"}],"panels":[]}]},"httpPath":"/api/goals"},{"label":"Get goal by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-goals/getgoalbyid","routeSlug":"/docs/openapi/modules-goals/getgoalbyid","metadata":{"seo":{"title":"Get goal by ID","description":"Retrieves complete goal details including objectives, progress history, action plans, logs, and success measurements."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getGoalById","name":"Get goal by ID","isWebhook":false,"pointer":"/paths/~1api~1goals~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get goal by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves complete goal details including objectives, progress history, action plans, logs, and success measurements."},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_428","description":"Unique identifier of the goal","required":true}],"pointer":"/paths/~1api~1goals~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/goals/{id}","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"64f8a1b23d4e5f6a7b8c9d0e","schemaId":"schema_428"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","403","404","500"],"pointer":"/api/goals/{id}","href":"modules-goals/getgoalbyid","openApiOperationId":"getGoalById","summary":"Get goal by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved goal","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_439"}},"schemaId":"schema_439"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/403/content/application~1json/example"]},{"code":"404","description":"Goal not found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/404/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1goals~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_439","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_439"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/403/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/404/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1goals~1{id}/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-goals/getgoalbyid"}],"panels":[]}]},"httpPath":"/api/goals/{id}"}],"content":{"contentType":"group","meta":{"name":"Modules / Goals"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Modules / Goals","showPageActions":true},{"nodeType":"markdoc","content":"Goal records"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/goals","summary":"Get goals","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-goals/getgoals","deprecated":false},{"title":"/api/goals/{id}","summary":"Get goal by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-goals/getgoalbyid","deprecated":false}]}]}]}]}},{"type":"group","label":"Modules / Risk Assessments","link":"/docs/openapi/modules-risk-assessments","routeSlug":"/docs/openapi/modules-risk-assessments","items":[{"label":"Get risk assessments","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-risk-assessments/getriskassessments","routeSlug":"/docs/openapi/modules-risk-assessments/getriskassessments","metadata":{"seo":{"title":"Get risk assessments","description":"Retrieves risk assessments with safety evaluations, hazard identification, risk scores, and mitigation strategies."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getRiskAssessments","name":"Get risk assessments","isWebhook":false,"pointer":"/paths/~1api~1risk-assessments/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get risk assessments","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves risk assessments with safety evaluations, hazard identification, risk scores, and mitigation strategies."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters:"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homeId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by specific care home"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"residentId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by specific resident"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Date range filtering"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Pagination controls"},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDate","in":"query","schemaId":"schema_420","description":"Start date for filtering (inclusive)"},{"name":"endDate","in":"query","schemaId":"schema_421","description":"End date for filtering (inclusive)"},{"name":"page","in":"query","schemaId":"schema_422","description":"Page number (1-based)"},{"name":"limit","in":"query","schemaId":"schema_423","description":"Number of records per page"},{"name":"homeId","in":"query","schemaId":"schema_424","description":"Filter by home ID"},{"name":"residentId","in":"query","schemaId":"schema_425","description":"Filter by resident ID"},{"name":"dateField","in":"query","schemaId":"schema_440","description":"Date field to filter on"}],"pointer":"/paths/~1api~1risk-assessments/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/risk-assessments","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[],"query":[{"name":"startDate","in":"query","required":false,"example":"2026-01-01","schemaId":"schema_420"},{"name":"endDate","in":"query","required":false,"example":"2026-12-31","schemaId":"schema_421"},{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_422"},{"name":"limit","in":"query","required":false,"example":10,"schemaId":"schema_423"},{"name":"homeId","in":"query","required":false,"example":"home-123-abc","schemaId":"schema_424"},{"name":"residentId","in":"query","required":false,"example":"resident-456-def","schemaId":"schema_425"},{"name":"dateField","in":"query","required":false,"example":"created_on","schemaId":"schema_440"}],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","403","500"],"pointer":"/api/risk-assessments","href":"modules-risk-assessments/getriskassessments","openApiOperationId":"getRiskAssessments","summary":"Get risk assessments"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved records","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/RiskAssessmentResponseDto"}},"schemaId":"components/schemas/RiskAssessmentResponseDto"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments/get/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments/get/responses/403/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1risk-assessments/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/RiskAssessmentResponseDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/RiskAssessmentResponseDto"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments/get/responses/403/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-risk-assessments/getriskassessments"}],"panels":[]}]},"httpPath":"/api/risk-assessments"},{"label":"Get risk assessment by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-risk-assessments/getriskassessmentbyid","routeSlug":"/docs/openapi/modules-risk-assessments/getriskassessmentbyid","metadata":{"seo":{"title":"Get risk assessment by ID","description":"Retrieves complete risk assessment details including form data, risk scores, review history, and assessor information."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getRiskAssessmentById","name":"Get risk assessment by ID","isWebhook":false,"pointer":"/paths/~1api~1risk-assessments~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get risk assessment by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves complete risk assessment details including form data, risk scores, review history, and assessor information."},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_428","description":"Unique identifier of the risk assessment","required":true}],"pointer":"/paths/~1api~1risk-assessments~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/risk-assessments/{id}","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"64f8a1b23d4e5f6a7b8c9d0e","schemaId":"schema_428"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","403","404","500"],"pointer":"/api/risk-assessments/{id}","href":"modules-risk-assessments/getriskassessmentbyid","openApiOperationId":"getRiskAssessmentById","summary":"Get risk assessment by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved risk assessment","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_441"}},"schemaId":"schema_441"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/403/content/application~1json/example"]},{"code":"404","description":"Risk Assessment not found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/404/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1risk-assessments~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_441","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_441"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/403/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/404/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1risk-assessments~1{id}/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-risk-assessments/getriskassessmentbyid"}],"panels":[]}]},"httpPath":"/api/risk-assessments/{id}"}],"content":{"contentType":"group","meta":{"name":"Modules / Risk Assessments"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Modules / Risk Assessments","showPageActions":true},{"nodeType":"markdoc","content":"Risk assessment records"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/risk-assessments","summary":"Get risk assessments","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-risk-assessments/getriskassessments","deprecated":false},{"title":"/api/risk-assessments/{id}","summary":"Get risk assessment by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-risk-assessments/getriskassessmentbyid","deprecated":false}]}]}]}]}},{"type":"group","label":"Modules / Logs","link":"/docs/openapi/modules-logs","routeSlug":"/docs/openapi/modules-logs","items":[{"label":"Get logs (daily care notes)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-logs/getlogs","routeSlug":"/docs/openapi/modules-logs/getlogs","metadata":{"seo":{"title":"Get logs (daily care notes)","description":"Retrieves logs (daily care notes) logged by staff members about residents' care, activities, and observations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getLogs","name":"Get logs (daily care notes)","isWebhook":false,"pointer":"/paths/~1api~1logs/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get logs (daily care notes)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves logs (daily care notes) logged by staff members about residents' care, activities, and observations."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters:"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homeId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by specific care home"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"residentId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by specific resident"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"categoryId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by log category (e.g., Meals & Nutrition)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"itemId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by log category item (e.g., Breakfast)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"loggedById"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by user who logged the entry"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Date range filtering"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"dateField"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Date field to filter on (default: timeLogged)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Pagination controls (default: page=1, limit=10, max=100)"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Note:"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" Deleted logs are automatically excluded from results."},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDate","in":"query","schemaId":"schema_420","description":"Start date for filtering (inclusive)"},{"name":"endDate","in":"query","schemaId":"schema_421","description":"End date for filtering (inclusive)"},{"name":"page","in":"query","schemaId":"schema_422","description":"Page number (1-based)"},{"name":"limit","in":"query","schemaId":"schema_423","description":"Number of records per page"},{"name":"homeId","in":"query","schemaId":"schema_424","description":"Filter by home ID"},{"name":"residentId","in":"query","schemaId":"schema_442","description":"Filter by resident ID"},{"name":"categoryId","in":"query","schemaId":"schema_443","description":"Filter by log category ID"},{"name":"itemId","in":"query","schemaId":"schema_444","description":"Filter by log category item ID"},{"name":"loggedById","in":"query","schemaId":"schema_445","description":"Filter by user who logged (loggedBy)"},{"name":"dateField","in":"query","schemaId":"schema_446","description":"Date field to filter on (only timeLogged supported)"}],"pointer":"/paths/~1api~1logs/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/logs","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[],"query":[{"name":"startDate","in":"query","required":false,"example":"2026-01-01","schemaId":"schema_420"},{"name":"endDate","in":"query","required":false,"example":"2026-12-31","schemaId":"schema_421"},{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_422"},{"name":"limit","in":"query","required":false,"example":10,"schemaId":"schema_423"},{"name":"homeId","in":"query","required":false,"example":"home-123-abc","schemaId":"schema_424"},{"name":"residentId","in":"query","required":false,"example":"63299b624e4c26570fe21e75","schemaId":"schema_442"},{"name":"categoryId","in":"query","required":false,"example":"5f155c4ac49007031a671d4f","schemaId":"schema_443"},{"name":"itemId","in":"query","required":false,"example":"5f155c4ac49007031a671d50","schemaId":"schema_444"},{"name":"loggedById","in":"query","required":false,"example":"68ef4775c1e051de495b175a","schemaId":"schema_445"},{"name":"dateField","in":"query","required":false,"example":"timeLogged","schemaId":"schema_446"}],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","403","500"],"pointer":"/api/logs","href":"modules-logs/getlogs","openApiOperationId":"getLogs","summary":"Get logs (daily care notes)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved records","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/LogResponseDto"}},"schemaId":"components/schemas/LogResponseDto"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs/get/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs/get/responses/403/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1logs/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/LogResponseDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/LogResponseDto"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs/get/responses/403/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-logs/getlogs"}],"panels":[]}]},"httpPath":"/api/logs"},{"label":"Get log by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-logs/getlogbyid","routeSlug":"/docs/openapi/modules-logs/getlogbyid","metadata":{"seo":{"title":"Get log by ID","description":"Retrieves complete log information including populated references for home, resident, loggedBy, editedBy, category, and item."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getLogById","name":"Get log by ID","isWebhook":false,"pointer":"/paths/~1api~1logs~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get log by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves complete log information including populated references for home, resident, loggedBy, editedBy, category, and item."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Logs represent daily care notes and observations logged by staff members."},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_428","description":"Unique identifier of the log","required":true}],"pointer":"/paths/~1api~1logs~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/logs/{id}","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"64f8a1b23d4e5f6a7b8c9d0e","schemaId":"schema_428"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","403","404","500"],"pointer":"/api/logs/{id}","href":"modules-logs/getlogbyid","openApiOperationId":"getLogById","summary":"Get log by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved log","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_447"}},"schemaId":"schema_447"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/403/content/application~1json/example"]},{"code":"404","description":"Log not found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/404/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1logs~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_447","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_447"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/403/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/404/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1logs~1{id}/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-logs/getlogbyid"}],"panels":[]}]},"httpPath":"/api/logs/{id}"}],"content":{"contentType":"group","meta":{"name":"Modules / Logs"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Modules / Logs","showPageActions":true},{"nodeType":"markdoc","content":"Daily care log records"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/logs","summary":"Get logs (daily care notes)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-logs/getlogs","deprecated":false},{"title":"/api/logs/{id}","summary":"Get log by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-logs/getlogbyid","deprecated":false}]}]}]}]}},{"type":"group","label":"Modules / Log Categories","link":"/docs/openapi/modules-log-categories","routeSlug":"/docs/openapi/modules-log-categories","items":[{"label":"Get log categories","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-log-categories/getlogcategories","routeSlug":"/docs/openapi/modules-log-categories/getlogcategories","metadata":{"seo":{"title":"Get log categories","description":"Retrieves log categories used to classify daily care notes and observations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getLogCategories","name":"Get log categories","isWebhook":false,"pointer":"/paths/~1api~1logcategories/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get log categories","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves log categories used to classify daily care notes and observations."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Examples:"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" Meals & Nutrition, Personal Care, Activities, Health & Wellbeing, Medication"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters:"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Pagination controls (default: page=1, limit=10, max=100)"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Note:"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" This endpoint does not require authentication. Log categories are public reference data."},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT token obtained from token exchange endpoint"}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_422","description":"Page number (1-based)"},{"name":"limit","in":"query","schemaId":"schema_423","description":"Number of records per page"}],"pointer":"/paths/~1api~1logcategories/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/logcategories","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_422"},{"name":"limit","in":"query","required":false,"example":10,"schemaId":"schema_423"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/api/logcategories","href":"modules-log-categories/getlogcategories","openApiOperationId":"getLogCategories","summary":"Get log categories"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of log categories","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/LogCategoryResponseDto"}},"schemaId":"components/schemas/LogCategoryResponseDto"}],"pointer":"/paths/~1api~1logcategories/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/LogCategoryResponseDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/LogCategoryResponseDto"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-log-categories/getlogcategories"}],"panels":[]}]},"httpPath":"/api/logcategories"},{"label":"Get log category by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-log-categories/getlogcategorybyid","routeSlug":"/docs/openapi/modules-log-categories/getlogcategorybyid","metadata":{"seo":{"title":"Get log category by ID","description":"Retrieves a log category with its id, name, and color."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getLogCategoryById","name":"Get log category by ID","isWebhook":false,"pointer":"/paths/~1api~1logcategories~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get log category by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves a log category with its id, name, and color."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Log categories are used to organize and classify daily care logs."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Note:"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" This endpoint does not require authentication."},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT token obtained from token exchange endpoint"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_428","description":"Unique identifier of the logcategory","required":true}],"pointer":"/paths/~1api~1logcategories~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/logcategories/{id}","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"64f8a1b23d4e5f6a7b8c9d0e","schemaId":"schema_428"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/api/logcategories/{id}","href":"modules-log-categories/getlogcategorybyid","openApiOperationId":"getLogCategoryById","summary":"Get log category by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Log category details","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_448"}},"schemaId":"schema_448"}],"pointer":"/paths/~1api~1logcategories~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_448","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_448"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-log-categories/getlogcategorybyid"}],"panels":[]}]},"httpPath":"/api/logcategories/{id}"}],"content":{"contentType":"group","meta":{"name":"Modules / Log Categories"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Modules / Log Categories","showPageActions":true},{"nodeType":"markdoc","content":"Log category records"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/logcategories","summary":"Get log categories","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-log-categories/getlogcategories","deprecated":false},{"title":"/api/logcategories/{id}","summary":"Get log category by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-log-categories/getlogcategorybyid","deprecated":false}]}]}]}]}},{"type":"group","label":"Modules / Log Category Items","link":"/docs/openapi/modules-log-category-items","routeSlug":"/docs/openapi/modules-log-category-items","items":[{"label":"Get log category items","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-log-category-items/getlogcategoryitems","routeSlug":"/docs/openapi/modules-log-category-items/getlogcategoryitems","metadata":{"seo":{"title":"Get log category items","description":"Retrieves log category items representing specific activities or observations within a log category."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getLogCategoryItems","name":"Get log category items","isWebhook":false,"pointer":"/paths/~1api~1logcategoryitems/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get log category items","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves log category items representing specific activities or observations within a log category."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Examples:"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" Breakfast (under Meals & Nutrition), Shower (under Personal Care), Walk in Garden (under Activities)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters:"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Pagination controls (default: page=1, limit=10, max=100)"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Note:"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" This endpoint does not require authentication. Items are sorted by "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"order"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" for proper UI display."},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT token obtained from token exchange endpoint"}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_422","description":"Page number (1-based)"},{"name":"limit","in":"query","schemaId":"schema_423","description":"Number of records per page"}],"pointer":"/paths/~1api~1logcategoryitems/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/logcategoryitems","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_422"},{"name":"limit","in":"query","required":false,"example":10,"schemaId":"schema_423"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/api/logcategoryitems","href":"modules-log-category-items/getlogcategoryitems","openApiOperationId":"getLogCategoryItems","summary":"Get log category items"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of log category items","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/LogCategoryItemResponseDto"}},"schemaId":"components/schemas/LogCategoryItemResponseDto"}],"pointer":"/paths/~1api~1logcategoryitems/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/LogCategoryItemResponseDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/LogCategoryItemResponseDto"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-log-category-items/getlogcategoryitems"}],"panels":[]}]},"httpPath":"/api/logcategoryitems"},{"label":"Get log category item by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-log-category-items/getlogcategoryitembyid","routeSlug":"/docs/openapi/modules-log-category-items/getlogcategoryitembyid","metadata":{"seo":{"title":"Get log category item by ID","description":"Retrieves a log category item with its id, name, and parent category id."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getLogCategoryItemById","name":"Get log category item by ID","isWebhook":false,"pointer":"/paths/~1api~1logcategoryitems~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get log category item by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves a log category item with its id, name, and parent category id."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Log category items represent specific activities or observations that can be logged by staff members."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Note:"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" This endpoint does not require authentication."},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"Bearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT token obtained from token exchange endpoint"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_428","description":"Unique identifier of the logcategoryitem","required":true}],"pointer":"/paths/~1api~1logcategoryitems~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/logcategoryitems/{id}","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"64f8a1b23d4e5f6a7b8c9d0e","schemaId":"schema_428"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"Bearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/api/logcategoryitems/{id}","href":"modules-log-category-items/getlogcategoryitembyid","openApiOperationId":"getLogCategoryItemById","summary":"Get log category item by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Log category item details","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_449"}},"schemaId":"schema_449"}],"pointer":"/paths/~1api~1logcategoryitems~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_449","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_449"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-log-category-items/getlogcategoryitembyid"}],"panels":[]}]},"httpPath":"/api/logcategoryitems/{id}"}],"content":{"contentType":"group","meta":{"name":"Modules / Log Category Items"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Modules / Log Category Items","showPageActions":true},{"nodeType":"markdoc","content":"Log category item records"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/logcategoryitems","summary":"Get log category items","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-log-category-items/getlogcategoryitems","deprecated":false},{"title":"/api/logcategoryitems/{id}","summary":"Get log category item by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-log-category-items/getlogcategoryitembyid","deprecated":false}]}]}]}]}},{"type":"group","label":"Modules / Documents","link":"/docs/openapi/modules-documents","routeSlug":"/docs/openapi/modules-documents","items":[{"label":"Get documents (resident documents)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-documents/getdocuments","routeSlug":"/docs/openapi/modules-documents/getdocuments","metadata":{"seo":{"title":"Get documents (resident documents)","description":"Retrieves resident-specific documents including medical records, assessments, care plans, and other resident documentation."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getDocuments","name":"Get documents (resident documents)","isWebhook":false,"pointer":"/paths/~1api~1documents/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get documents (resident documents)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves resident-specific documents including medical records, assessments, care plans, and other resident documentation."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters:"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homeId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by specific care home"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"residentId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by specific resident"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"categoryId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by document category"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Date range filtering"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"dateField"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Date field to filter on (default: createdAt)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Pagination controls (default: page=1, limit=10, max=100)"},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDate","in":"query","schemaId":"schema_420","description":"Start date for filtering (inclusive)"},{"name":"endDate","in":"query","schemaId":"schema_421","description":"End date for filtering (inclusive)"},{"name":"page","in":"query","schemaId":"schema_422","description":"Page number (1-based)"},{"name":"limit","in":"query","schemaId":"schema_423","description":"Number of records per page"},{"name":"homeId","in":"query","schemaId":"schema_424","description":"Filter by home ID"},{"name":"residentId","in":"query","schemaId":"schema_442","description":"Filter by resident ID"},{"name":"categoryId","in":"query","schemaId":"schema_443","description":"Filter by document category ID"},{"name":"dateField","in":"query","schemaId":"schema_450","description":"Date field to filter on (only createdAt supported)"}],"pointer":"/paths/~1api~1documents/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/documents","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[],"query":[{"name":"startDate","in":"query","required":false,"example":"2026-01-01","schemaId":"schema_420"},{"name":"endDate","in":"query","required":false,"example":"2026-12-31","schemaId":"schema_421"},{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_422"},{"name":"limit","in":"query","required":false,"example":10,"schemaId":"schema_423"},{"name":"homeId","in":"query","required":false,"example":"home-123-abc","schemaId":"schema_424"},{"name":"residentId","in":"query","required":false,"example":"63299b624e4c26570fe21e75","schemaId":"schema_442"},{"name":"categoryId","in":"query","required":false,"example":"5f155c4ac49007031a671d4f","schemaId":"schema_443"},{"name":"dateField","in":"query","required":false,"example":"createdAt","schemaId":"schema_450"}],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","403","500"],"pointer":"/api/documents","href":"modules-documents/getdocuments","openApiOperationId":"getDocuments","summary":"Get documents (resident documents)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved records","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DocumentResponseDto"}},"schemaId":"components/schemas/DocumentResponseDto"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents/get/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents/get/responses/403/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1documents/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/DocumentResponseDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DocumentResponseDto"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents/get/responses/403/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-documents/getdocuments"}],"panels":[]}]},"httpPath":"/api/documents"},{"label":"Get document by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-documents/getdocumentbyid","routeSlug":"/docs/openapi/modules-documents/getdocumentbyid","metadata":{"seo":{"title":"Get document by ID","description":"Retrieves complete document information including file details, category, resident, and home references."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getDocumentById","name":"Get document by ID","isWebhook":false,"pointer":"/paths/~1api~1documents~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get document by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves complete document information including file details, category, resident, and home references."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Documents represent files uploaded for specific residents, including PDFs and other file types."},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_428","description":"Unique identifier of the document","required":true}],"pointer":"/paths/~1api~1documents~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/documents/{id}","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"64f8a1b23d4e5f6a7b8c9d0e","schemaId":"schema_428"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","403","404","500"],"pointer":"/api/documents/{id}","href":"modules-documents/getdocumentbyid","openApiOperationId":"getDocumentById","summary":"Get document by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved document","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_451"}},"schemaId":"schema_451"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/403/content/application~1json/example"]},{"code":"404","description":"Document not found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/404/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1documents~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_451","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_451"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/403/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/404/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1documents~1{id}/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-documents/getdocumentbyid"}],"panels":[]}]},"httpPath":"/api/documents/{id}"}],"content":{"contentType":"group","meta":{"name":"Modules / Documents"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Modules / Documents","showPageActions":true},{"nodeType":"markdoc","content":"Resident document records"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/documents","summary":"Get documents (resident documents)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-documents/getdocuments","deprecated":false},{"title":"/api/documents/{id}","summary":"Get document by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-documents/getdocumentbyid","deprecated":false}]}]}]}]}},{"type":"group","label":"Modules / Home Documents","link":"/docs/openapi/modules-home-documents","routeSlug":"/docs/openapi/modules-home-documents","items":[{"label":"Get home documents (home-scoped documents)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-home-documents/gethomedocuments","routeSlug":"/docs/openapi/modules-home-documents/gethomedocuments","metadata":{"seo":{"title":"Get home documents (home-scoped documents)","description":"Retrieves home-scoped documents including policies, procedures, licenses, training materials, and other home-level documentation."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getHomeDocuments","name":"Get home documents (home-scoped documents)","isWebhook":false,"pointer":"/paths/~1api~1home-documents/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get home documents (home-scoped documents)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves home-scoped documents including policies, procedures, licenses, training materials, and other home-level documentation."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters:"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homeId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by specific care home"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"categoryId"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by home document category"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Date range filtering"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"dateField"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Date field to filter on (default: createdAt)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Pagination controls (default: page=1, limit=10, max=100)"},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDate","in":"query","schemaId":"schema_420","description":"Start date for filtering (inclusive)"},{"name":"endDate","in":"query","schemaId":"schema_421","description":"End date for filtering (inclusive)"},{"name":"page","in":"query","schemaId":"schema_422","description":"Page number (1-based)"},{"name":"limit","in":"query","schemaId":"schema_423","description":"Number of records per page"},{"name":"homeId","in":"query","schemaId":"schema_424","description":"Filter by home ID"},{"name":"residentId","in":"query","schemaId":"schema_425","description":"Filter by resident ID"},{"name":"categoryId","in":"query","schemaId":"schema_443","description":"Filter by home document category ID"},{"name":"dateField","in":"query","schemaId":"schema_450","description":"Date field to filter on (only createdAt supported)"}],"pointer":"/paths/~1api~1home-documents/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/home-documents","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[],"query":[{"name":"startDate","in":"query","required":false,"example":"2026-01-01","schemaId":"schema_420"},{"name":"endDate","in":"query","required":false,"example":"2026-12-31","schemaId":"schema_421"},{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_422"},{"name":"limit","in":"query","required":false,"example":10,"schemaId":"schema_423"},{"name":"homeId","in":"query","required":false,"example":"home-123-abc","schemaId":"schema_424"},{"name":"residentId","in":"query","required":false,"example":"resident-456-def","schemaId":"schema_425"},{"name":"categoryId","in":"query","required":false,"example":"5f155c4ac49007031a671d4f","schemaId":"schema_443"},{"name":"dateField","in":"query","required":false,"example":"createdAt","schemaId":"schema_450"}],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","403","500"],"pointer":"/api/home-documents","href":"modules-home-documents/gethomedocuments","openApiOperationId":"getHomeDocuments","summary":"Get home documents (home-scoped documents)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved records","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/HomeDocumentResponseDto"}},"schemaId":"components/schemas/HomeDocumentResponseDto"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents/get/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents/get/responses/403/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1home-documents/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/HomeDocumentResponseDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/HomeDocumentResponseDto"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents/get/responses/403/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-home-documents/gethomedocuments"}],"panels":[]}]},"httpPath":"/api/home-documents"},{"label":"Get home document by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-home-documents/gethomedocumentbyid","routeSlug":"/docs/openapi/modules-home-documents/gethomedocumentbyid","metadata":{"seo":{"title":"Get home document by ID","description":"Retrieves complete home document information including file details, category, and home references."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getHomeDocumentById","name":"Get home document by ID","isWebhook":false,"pointer":"/paths/~1api~1home-documents~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get home document by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves complete home document information including file details, category, and home references."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Home documents are scoped to care homes rather than individual residents, including policies, procedures, and licenses."},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_428","description":"Unique identifier of the home document","required":true}],"pointer":"/paths/~1api~1home-documents~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/home-documents/{id}","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"64f8a1b23d4e5f6a7b8c9d0e","schemaId":"schema_428"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","403","404","500"],"pointer":"/api/home-documents/{id}","href":"modules-home-documents/gethomedocumentbyid","openApiOperationId":"getHomeDocumentById","summary":"Get home document by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved homedocument","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_452"}},"schemaId":"schema_452"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/403/content/application~1json/example"]},{"code":"404","description":"HomeDocument not found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/404/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1home-documents~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_452","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_452"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/403/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/404/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1home-documents~1{id}/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-home-documents/gethomedocumentbyid"}],"panels":[]}]},"httpPath":"/api/home-documents/{id}"}],"content":{"contentType":"group","meta":{"name":"Modules / Home Documents"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Modules / Home Documents","showPageActions":true},{"nodeType":"markdoc","content":"Home-scoped document records"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/home-documents","summary":"Get home documents (home-scoped documents)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-home-documents/gethomedocuments","deprecated":false},{"title":"/api/home-documents/{id}","summary":"Get home document by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-home-documents/gethomedocumentbyid","deprecated":false}]}]}]}]}},{"type":"group","label":"Modules / Devices","link":"/docs/openapi/modules-devices","routeSlug":"/docs/openapi/modules-devices","items":[{"label":"Get devices","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-devices/getdevices","routeSlug":"/docs/openapi/modules-devices/getdevices","metadata":{"seo":{"title":"Get devices","description":"Retrieves devices (tablets, phones, laptops) registered to care homes for logging activities."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getDevices","name":"Get devices","isWebhook":false,"pointer":"/paths/~1api~1devices/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get devices","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves devices (tablets, phones, laptops) registered to care homes for logging activities."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"All ObjectId reference fields are populated one level deep with "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"{ id, name }"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":"."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"The "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homes"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" array in the response is filtered to only include entries for homes the API key has access to."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"strong","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Filters:"},"children":[]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"ul","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"type"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by device type (tablet, phone, laptop)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"deviceStatus"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Filter by home assignment status (pending, approved, blocked)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"startDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"endDate"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Date range filtering on createdOn"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"li","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"page"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"limit"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" - Pagination controls (default: page=1, limit=10, max=100)"},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDate","in":"query","schemaId":"schema_420","description":"Start date for filtering (inclusive)"},{"name":"endDate","in":"query","schemaId":"schema_421","description":"End date for filtering (inclusive)"},{"name":"page","in":"query","schemaId":"schema_422","description":"Page number (1-based)"},{"name":"limit","in":"query","schemaId":"schema_423","description":"Number of records per page"},{"name":"type","in":"query","schemaId":"schema_453","description":"Filter by device type"},{"name":"deviceStatus","in":"query","schemaId":"schema_454","description":"Filter by device home assignment status. If not provided, returns devices with any status."}],"pointer":"/paths/~1api~1devices/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/devices","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[],"query":[{"name":"startDate","in":"query","required":false,"example":"2026-01-01","schemaId":"schema_420"},{"name":"endDate","in":"query","required":false,"example":"2026-12-31","schemaId":"schema_421"},{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_422"},{"name":"limit","in":"query","required":false,"example":10,"schemaId":"schema_423"},{"name":"type","in":"query","required":false,"example":"tablet","schemaId":"schema_453"},{"name":"deviceStatus","in":"query","required":false,"example":"approved","schemaId":"schema_454"}],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","403","500"],"pointer":"/api/devices","href":"modules-devices/getdevices","openApiOperationId":"getDevices","summary":"Get devices"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved records","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DeviceResponseDto"}},"schemaId":"components/schemas/DeviceResponseDto"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices/get/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices/get/responses/403/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1devices/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/DeviceResponseDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DeviceResponseDto"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices/get/responses/403/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-devices/getdevices"}],"panels":[]}]},"httpPath":"/api/devices"},{"label":"Get device by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/modules-devices/getdevicebyid","routeSlug":"/docs/openapi/modules-devices/getdevicebyid","metadata":{"seo":{"title":"Get device by ID","description":"Retrieves complete device information including populated user references, home assignments with status, and audit fields."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getDeviceById","name":"Get device by ID","isWebhook":false,"pointer":"/paths/~1api~1devices~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get device by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Retrieves complete device information including populated user references, home assignments with status, and audit fields."},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"p","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"The "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"code","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"homes"},"children":[]}]},{"$$mdtype":"Node","type":"text","attributes":{"content":" array is filtered to only include entries for homes the API key has access to. FCM (push notification) fields are excluded from the response."},"children":[]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearer","scopes":[]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_428","description":"Unique identifier of the device","required":true}],"pointer":"/paths/~1api~1devices~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/devices/{id}","servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"64f8a1b23d4e5f6a7b8c9d0e","schemaId":"schema_428"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200","400","401","403","404","500"],"pointer":"/api/devices/{id}","href":"modules-devices/getdevicebyid","openApiOperationId":"getDeviceById","summary":"Get device by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successfully retrieved device","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_455"}},"schemaId":"schema_455"},{"code":"400","description":"Invalid query parameters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Authentication required or invalid credentials","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/401/content/application~1json/example"]},{"code":"403","description":"Insufficient permissions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/403/content/application~1json/example"]},{"code":"404","description":"Device not found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/404/content/application~1json/example"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1api~1devices~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_455","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_455"}}},{"code":"400","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/403/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/404/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponseDto","exampleIds":["paths/~1api~1devices~1{id}/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/modules-devices/getdevicebyid"}],"panels":[]}]},"httpPath":"/api/devices/{id}"}],"content":{"contentType":"group","meta":{"name":"Modules / Devices"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Modules / Devices","showPageActions":true},{"nodeType":"markdoc","content":"Device records"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/devices","summary":"Get devices","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-devices/getdevices","deprecated":false},{"title":"/api/devices/{id}","summary":"Get device by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/modules-devices/getdevicebyid","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/TokenExchangeRequestDto":{"id":"components/schemas/TokenExchangeRequestDto","kind":"json-schema","title":"TokenExchangeRequestDto","data":{"type":"object","properties":{"grant_type":{"type":"string","description":"Grant type for token exchange","enum":["api_key_exchange"],"example":"api_key_exchange"},"api_key":{"type":"string","description":"API key to exchange for access token. The API key in MongoDB defines all permissions, scopes, and home access.","example":"sk_live_abcd1234...","minLength":8}},"required":["grant_type","api_key"]}},"components/schemas/TokenExchangeResponseDto":{"id":"components/schemas/TokenExchangeResponseDto","kind":"json-schema","title":"TokenExchangeResponseDto","data":{"type":"object","properties":{"access_token":{"type":"string","description":"Short-lived JWT access token","example":"eyJhbGciOiJIUzI1NiI..."},"token_type":{"type":"string","description":"Token type","enum":["Bearer"],"example":"Bearer"},"expires_in":{"type":"number","description":"Token expiration time in seconds","example":900},"scope":{"description":"Granted permissions/scope","example":["residents:read","careplans:read"],"type":"array","items":{"type":"string"}},"issued_token_type":{"type":"string","description":"Type of issued token","example":"urn:ietf:params:oauth:token-type:jwt"}},"required":["access_token","token_type","expires_in","scope","issued_token_type"]}},"components/schemas/TokenExchangeErrorDto":{"id":"components/schemas/TokenExchangeErrorDto","kind":"json-schema","title":"TokenExchangeErrorDto","data":{"type":"object","properties":{"error":{"type":"string","description":"Error code","example":"invalid_request"},"error_description":{"type":"string","description":"Human-readable error description","example":"Invalid API key"},"error_details":{"type":"object","description":"Additional error details","example":{"field":"api_key","code":"invalid"}}},"required":["error","error_description"]}},"components/schemas/PaginationMetaDto":{"id":"components/schemas/PaginationMetaDto","kind":"json-schema","title":"PaginationMetaDto","data":{"type":"object","properties":{"page":{"type":"number","description":"Current page number","example":1},"limit":{"type":"number","description":"Number of records per page","example":10},"total":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Total number of records. Shows '10000+' when count exceeds 10,000 for performance optimization."},"children":[]}]}]}],"oneOf":[{"type":"number"},{"type":"string"}],"example":150},"totalPages":{"type":"number","description":"Total number of pages","example":15},"hasNext":{"type":"boolean","description":"Whether there is a next page","example":true},"hasPrev":{"type":"boolean","description":"Whether there is a previous page","example":false}},"required":["page","limit","total","totalPages","hasNext","hasPrev"]}},"components/schemas/ResidentResponseDto":{"id":"components/schemas/ResidentResponseDto","kind":"json-schema","title":"ResidentResponseDto","data":{"type":"object","properties":{"data":{"description":"Array of residents","example":[{"id":"69613fc010eecc5386f987ae","name":{"first":"Margaret","last":"Thompson"},"email":"margaret.thompson@example.com","gender":"female","dateOfBirth":"1945-06-15T00:00:00.000Z","createdOn":"2026-01-15T09:30:00.000Z","admissionDate":"2026-01-10T00:00:00.000Z","preferredName":"Maggie","status":"active","statusChangedOn":"2026-01-20T10:00:00.000Z","isInactive":false,"home":{"id":"66e2aeef14dce156439010d5","name":"Sunrise Care Home"},"location":{"roomName":"Room 12","unit":"Oak Wing","floor":"1"},"nhsNumber":"999 000 0001","bloodType":"O+","allergies":"Penicillin","hasAllergies":true,"noKnownAllergies":false,"residentAllergies":["Penicillin","Latex"],"medicalHistory":"Hypertension, Type 2 diabetes","height":"165cm","gpCode":"G1234567","gpName":"Dr. Sarah Williams","gpEmail":"sarah.williams@nhs.example.com","gpTelephone":"+44 1632 960123","gpAddress":{"street1":"1 Example Lane","suburb":"Exampletown","postcode":"EX1 1CD","country":"United Kingdom"},"gpSurgeryName":"Example Medical Practice","phones":[{"number":"+44 7700 900123","type":"mobile"}],"addresses":[{"street1":"45 Example Avenue","suburb":"Exampletown","postcode":"EX1 1EF","country":"United Kingdom","isCurrent":true,"isPrevious":false}],"importantContacts":[{"name":{"first":"Robert","last":"Thompson"},"relationship":"Son","nextOfKin":true,"lpa":true,"phone":"+44 7700 900456","email":"robert.thompson@example.com","addresses":[{"street1":"1 Example Street","suburb":"Leeds","postcode":"EX1 1EX","country":"United Kingdom"}]}],"preferredContactMethod":"noPreference","religion":"Christian","ethnicity":"White British","nationality":"British","nationalities":["British"],"languagesSpoken":["English"],"maritalStatus":"widowed","birthplace":"York","sexualPreference":"heterosexual","carePackage":{"fundingSource":"localAuthority","fundingSourceNotes":"Funded by York City Council","fundingSourceOther":""},"fundingSource":"localAuthority","fundingSourceNotes":"Funded by York City Council","fundingSourceOther":"","keyworkers":["68406c31e55ca6b6d2262f56"],"carerPreferences":{"gender":"female","language":"English"},"preferredDrink":"Tea with milk","preferredAdminRoute":"oral","dols":{"status":"authorised","startDate":"2026-02-01T00:00:00.000Z","endDate":"2026-08-01T00:00:00.000Z","reviewDate":"2026-05-01T00:00:00.000Z","applicationDate":"2026-01-15T00:00:00.000Z"},"dolsStartDate":"2026-02-01T00:00:00.000Z","dolsEndDate":"2026-08-01T00:00:00.000Z","dolsReviewDate":"2026-05-01T00:00:00.000Z","dolsApplicationDate":"2026-01-15T00:00:00.000Z","dnacpr":{"hasDnacpr":true,"details":"DNACPR in place, reviewed by GP","reviewDate":"2026-06-01T00:00:00.000Z","formPhysicalLocation":"Front of care file"},"dnacprDetails":"DNACPR in place, reviewed by GP","dnacprReviewDate":"2026-06-01T00:00:00.000Z","dnacprFormPhysicalLocation":"Front of care file","recentMustScore":"1","recentWaterlowScore":"12","recentDrinkConsumption":"1500ml","hasChokingRisk":false,"prnMedsNote":"Paracetamol PRN for pain","nationalInsurance":"QQ123456C","summary":"Margaret is a friendly resident who enjoys gardening and reading.","otherIdentifiers":[{"type":"localAuthorityRef","value":"LA-2026-0042"}],"customId":"example-resident-id-123","ageYears":80}],"type":"array","items":{"type":"object"}},"pagination":{"description":"Pagination metadata","allOf":[{"$ref":"#/components/schemas/PaginationMetaDto"}]}},"required":["data","pagination"]}},"components/schemas/ErrorDetailDto":{"id":"components/schemas/ErrorDetailDto","kind":"json-schema","title":"ErrorDetailDto","data":{"type":"object","properties":{"field":{"type":"string","description":"Field that caused the error","example":"startDate"},"provided":{"type":"string","description":"Value that was provided","example":"invalid-date"},"expected":{"type":"string","description":"Expected format or value","example":"ISO 8601 format (YYYY-MM-DD)"}},"required":["field","provided","expected"]}},"components/schemas/ErrorDto":{"id":"components/schemas/ErrorDto","kind":"json-schema","title":"ErrorDto","data":{"type":"object","properties":{"code":{"type":"string","description":"Error code","example":"VALIDATION_ERROR","enum":["AUTHENTICATION_REQUIRED","RATE_LIMIT_EXCEEDED","VALIDATION_ERROR","NOT_FOUND","DATABASE_ERROR","INTERNAL_ERROR","METHOD_NOT_ALLOWED"]},"message":{"type":"string","description":"Error message","example":"Invalid date format"},"details":{"description":"Additional error details","allOf":[{"$ref":"#/components/schemas/ErrorDetailDto"}]},"timestamp":{"type":"string","description":"ISO 8601 timestamp of when the error occurred","example":"2025-09-10T10:30:00Z"},"correlationId":{"type":"string","description":"Correlation ID for tracking","example":"req_12345"}},"required":["code","message","timestamp","correlationId"]}},"components/schemas/ErrorResponseDto":{"id":"components/schemas/ErrorResponseDto","kind":"json-schema","title":"ErrorResponseDto","data":{"type":"object","properties":{"error":{"description":"Error information","allOf":[{"$ref":"#/components/schemas/ErrorDto"}]}},"required":["error"]}},"components/schemas/ResidentNameDto":{"id":"components/schemas/ResidentNameDto","kind":"json-schema","title":"ResidentNameDto","data":{"type":"object","properties":{"first":{"type":"string","example":"Jane"},"last":{"type":"string","example":"Smith"},"full":{"type":"string","example":"Jane Smith"}},"required":["first","last"]}},"components/schemas/ExternalSourceDto":{"id":"components/schemas/ExternalSourceDto","kind":"json-schema","title":"ExternalSourceDto","data":{"type":"object","properties":{"sourceName":{"type":"string","example":"my-integration","description":"Name of the external system"},"sourceId":{"type":"string","example":"ext-12345","description":"Unique identifier in the external system"},"sourceType":{"type":"string","example":"api","description":"Type of the record in the external system","enum":["api","import","integration"]},"externalCreatedAt":{"type":"string","example":"2024-01-15T09:30:00.000Z","description":"When the record was created in the external system (ISO 8601)"},"sourceRecordUrl":{"type":"string","example":"https://app.example.com/residents/ext-12345","description":"URL to the record in the external system"},"metadata":{"type":"object","example":{"region":"north","ward":"A"},"description":"Additional metadata from the external system"}},"required":["sourceName","sourceId","sourceType"]}},"components/schemas/CreateResidentDto":{"id":"components/schemas/CreateResidentDto","kind":"json-schema","title":"CreateResidentDto","data":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/ResidentNameDto"},"home":{"type":"string","example":"507f1f77bcf86cd799439011","description":"Home ID"},"dateOfBirth":{"type":"string","example":"1945-06-15","description":"ISO 8601 date"},"gender":{"type":"string","enum":["male","female","any","unknown","unspecified","other"]},"status":{"type":"string","enum":["active","inactive","hospitalised","deceased","discharged","pre-assessment","dummy"]},"externalSource":{"$ref":"#/components/schemas/ExternalSourceDto"}},"required":["name","home","dateOfBirth"]}},"components/schemas/UpdateResidentDto":{"id":"components/schemas/UpdateResidentDto","kind":"json-schema","title":"UpdateResidentDto","data":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/ResidentNameDto"},"dateOfBirth":{"type":"string","example":"1945-06-15","description":"ISO 8601 date"},"gender":{"type":"string","enum":["male","female","any","unknown","unspecified","other"]},"status":{"type":"string","enum":["active","inactive","hospitalised","deceased","discharged","pre-assessment","dummy"]},"preferredName":{"type":"string","example":"Jen"},"externalSource":{"$ref":"#/components/schemas/ExternalSourceDto"}}}},"components/schemas/UserResponseDto":{"id":"components/schemas/UserResponseDto","kind":"json-schema","title":"UserResponseDto","data":{"type":"object","properties":{"data":{"description":"Array of users","example":[{"id":"68406c31e55ca6b6d2262f56","name":{"first":"Jane","last":"Smith","full":"Jane Smith"},"email":"jane.smith@example.co.uk","role":"carehome-admin","cernerRole":"standard","active":true,"deleted":false,"dateOfBirth":"1985-03-22T00:00:00.000Z","startDate":"2026-01-02T00:00:00.000Z","endDate":null,"createdOn":"2026-01-15T09:00:00.000Z","lastSeen":"2026-02-10T16:45:00.000Z","firstLogin":"2026-01-15T09:18:06.809Z","phoneNumber":"+44 7700 900789","address":{"name":"","number":"10","street1":"Example Road","street2":"","suburb":"York","state":"","postcode":"EX1 1AB"},"allergies":"None","hasAllergies":"no","home":"5a1174a35dcb0e004030a28d","homes":["5a1174a35dcb0e004030a28d"],"permissions":["residents:read","logs:read"],"permissionsTemplate":"care-home-admin","medicationPermission":true,"gpConnectPermission":false,"zones":["Oak Wing"],"allZones":false,"workProfile":{"contractType":"fullTime","contractedHoursPerWeek":37.5,"contractNotes":"","rotaPreferenceNotes":"Prefers day shifts","canDoOvertime":true,"availableTransportation":["car"],"availability":{}},"hasRequestedDemo":false,"picture":"https://lmc-care-uploads.s3.eu-west-2.amazonaws.com/photos/users/example-user-id/avatar.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=EXAMPLE%2F20260115%2Feu-west-2%2Fs3%2Faws4_request&X-Amz-Date=20260115T090000Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=examplesignature","summary":"Experienced care home administrator.","customId":"example-admin-id-123","resident":null,"emergencyContactName":{"first":"John","last":"Smith"},"emergencyContactRelation":"Spouse","emergencyContactNumber":"+44 7700 900999"}],"type":"array","items":{"type":"object"}},"pagination":{"description":"Pagination metadata","allOf":[{"$ref":"#/components/schemas/PaginationMetaDto"}]}},"required":["data","pagination"]}},"components/schemas/UserNameDto":{"id":"components/schemas/UserNameDto","kind":"json-schema","title":"UserNameDto","data":{"type":"object","properties":{"first":{"type":"string","example":"Jane"},"last":{"type":"string","example":"Smith"}},"required":["first","last"]}},"components/schemas/CreateUserDto":{"id":"components/schemas/CreateUserDto","kind":"json-schema","title":"CreateUserDto","data":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/UserNameDto"},"email":{"type":"string","example":"jane.smith@sunrisecare.co.uk"},"role":{"type":"string","enum":["carer","senior-carer","carehome-admin","management"]},"home":{"type":"string","example":"507f1f77bcf86cd799439011","description":"Primary home ID"},"homes":{"example":[],"type":"array","items":{"type":"string"}},"externalSource":{"$ref":"#/components/schemas/ExternalSourceDto"}},"required":["name","email","role","home"]}},"components/schemas/UpdateUserDto":{"id":"components/schemas/UpdateUserDto","kind":"json-schema","title":"UpdateUserDto","data":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/UserNameDto"},"email":{"type":"string","example":"jane.smith@sunrisecare.co.uk"},"role":{"type":"string","enum":["carer","senior-carer","carehome-admin","management"]},"active":{"type":"boolean","example":true},"externalSource":{"$ref":"#/components/schemas/ExternalSourceDto"}}}},"components/schemas/CarePlanDateField":{"id":"components/schemas/CarePlanDateField","kind":"json-schema","title":"CarePlanDateField","data":{"type":"string","enum":["created_on","edited_on","next_review_date","ingested_on"]}},"components/schemas/CarePlanResponseDto":{"id":"components/schemas/CarePlanResponseDto","kind":"json-schema","title":"CarePlanResponseDto","data":{"type":"object","properties":{"data":{"description":"Array of care plans with comprehensive care information","example":[{"id":"697b6a5b943a178423a9264b","name":"Enhanced Mobility Care Plan","home":{"id":"66e2aeef14dce156439010d5","name":"Sunrise Care Home"},"resident":{"id":"69613fc010eecc5386f987ae","name":{"first":"Margaret","last":"Thompson","full":"Margaret Thompson"},"preferredName":"Maggie"},"editedBy":{"id":"68406c31e55ca6b6d2262f56","name":{"first":"Sarah","last":"Manager","full":"Sarah Manager"}},"goals":["6968bf21c441cf6fb4ac9a3e"],"needs":"Requires support with mobility and transfers.","strengths":"Motivated to remain independent; engages well with physiotherapy.","reviewComment":"Progressing well, continue current plan.","nextReviewDate":"2026-04-29T00:00:00.000Z","editedOn":"2026-02-01T11:00:00.000Z","createdOn":"2026-01-29T14:10:35.209Z","isCustom":true,"outcomes":"Maintain independent mobility within the home.","sections":[{"title":"Mobility","needs":"Requires assistance with transfers and walking longer distances.","strengths":"Able to walk short distances with a frame.","outcomes":"Walk to the dining room with minimal assistance."}],"documents":["6977686fc18f55207654e609"],"revisions":1,"carePlanId":"5f213e77cdd809d04ba664be","isRevision":false,"skillNeeds":["68cae49a5df0b900121771f2"],"subActivity":"Transfers","fluidTracking":{"enabled":true,"intakeTarget":1500},"riskAssessments":["696f910b62d69cb14944bd29"],"noIdentifiedNeed":false,"noFurtherSupportRequired":false}],"type":"array","items":{"type":"object"}},"pagination":{"description":"Pagination metadata including total count, current page, and page size","example":{"page":1,"limit":10,"total":150,"totalPages":15,"hasNext":true,"hasPrevious":false},"allOf":[{"$ref":"#/components/schemas/PaginationMetaDto"}]}},"required":["data","pagination"]}},"components/schemas/HomeResponseDto":{"id":"components/schemas/HomeResponseDto","kind":"json-schema","title":"HomeResponseDto","data":{"type":"object","properties":{"data":{"description":"Array of homes","example":[{"id":"66e2aeef14dce156439010d5","name":"Sunrise Care Home","active":true,"address":{"postcode":"EX1 1AB","state":null,"street1":"123 Example Street","suburb":"Exampletown","isPrevious":false,"isCurrent":true,"country":"United Kingdom"},"odsCode":"EX001","incidentSeverity":{"1":"Minor","2":"Moderate","3":"Significant","4":"Serious","5":"Major"},"telephone":"+44 1632 960456","bedCapacity":45,"countryCode":"ENG","preferredPeopleNominative":"Residents","preferredCarePlansNominative":"Care Plans","customId":"example-home-id-123","homeGroup":{"id":"5f155c4ac49007031a671d4e","name":"Sunrise Care Group"},"logCategoryItems":[{"id":"5e81db67b1b4e673bc2bb8cc","name":"Catheter"}],"familyLogCategoryItems":[{"id":"68cae49a5df0b900121771f2","name":"Activities"}],"picture":"https://lmc-care-uploads.s3.eu-west-2.amazonaws.com/photos/home/example-home-id/home.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=EXAMPLE%2F20260720%2Feu-west-2%2Fs3%2Faws4_request&X-Amz-Date=20260720T085642Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=examplesignature","showAllResidentsButton":true,"visitBasedAccessControl":false,"startAccessTimeValue":1,"startAccessTimeUnit":"hours","endAccessTimeValue":1,"endAccessTimeUnit":"hours","sortByRoomNumber":true,"familyCarePlans":true,"familyDocuments":true,"familyShowNames":true,"familyShowDates":true,"locations":["Oak Wing","Maple Wing"],"tier":"premium","careSetting":"residential","serviceUserType":"olderPeople","secondaryCareSetting":"nursing","secondaryServiceUserType":"dementia","rotaSettings":{"flexiVisits":false,"fundingTypesCount":3,"contractTypesCount":2,"absenceTypesCount":4,"shiftTypesCount":5,"visitTypesCount":0},"privacyOfficers":[{"id":"507f1f77bcf86cd799439022","name":"Jane Smith","email":"jane.smith@example.com","startDate":"2026-01-15T00:00:00.000Z"}],"features":{"deviceAccessControl":{"granted":true,"enabled":true},"eMAR":{"granted":true,"enabled":false},"family":{"granted":true,"enabled":true},"geoLocation":{"granted":false,"enabled":false},"rota":{"granted":true,"enabled":true},"noticeBoard":{"granted":true,"enabled":true},"positiveBehaviour":{"granted":false,"enabled":false}},"createdOn":"2026-07-20T08:56:42.725Z"}],"type":"array","items":{"type":"object"}},"pagination":{"description":"Pagination metadata","allOf":[{"$ref":"#/components/schemas/PaginationMetaDto"}]}},"required":["data","pagination"]}},"components/schemas/IncidentReportResponseDto":{"id":"components/schemas/IncidentReportResponseDto","kind":"json-schema","title":"IncidentReportResponseDto","data":{"type":"object","properties":{"data":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Array of incident reports with enriched data from open_api schema"},"children":[]}]}]}],"example":[{"id":"6980aa75a5429846498a40da","createdOn":"2026-04-09T18:48:00.000Z","log":{"title":"Safeguarding","description":"Resident reported feeling unsafe in the garden area. Staff responded immediately and documented the incident.","timeLogged":"2026-04-09T18:48:00.000Z","location":"Garden"},"case":null,"home":{"id":"66e2aeef14dce156439010d5","name":"Sunrise Care Home"},"resident":{"id":"69613fc010eecc5386f987b2","name":{"first":"David","last":"Williams","full":"David Williams"}},"status":"needsReview","closedBy":null,"closedOn":null,"severity":2,"isDeleted":false,"reviewedOn":null,"closeComment":null,"category":{"id":"5e867702b349f776c8d48c34","name":"Incident","icon":"https://lmc-data-production.s3.eu-west-2.amazonaws.com/icons/qXxuGVYsSRgAcXoZ.png","color":"#FF3366"},"item":{"id":"68cae49a5df0b900121771f2","name":"Safeguarding","icon":"https://lmc-data-production.s3.eu-west-2.amazonaws.com/icons/DrpQZb2rGf1HHvuI.png"}}],"type":"array","items":{"type":"object"}},"pagination":{"description":"Pagination metadata","allOf":[{"$ref":"#/components/schemas/PaginationMetaDto"}]}},"required":["data","pagination"]}},"components/schemas/GoalResponseDto":{"id":"components/schemas/GoalResponseDto","kind":"json-schema","title":"GoalResponseDto","data":{"type":"object","properties":{"data":{"description":"Array of goals","example":[{"id":"6968bf21c441cf6fb4ac9a3e","home":{"id":"home-123-abc","name":"Sunrise Care Home"},"resident":{"id":"resident_id_123","name":{"first":"John","last":"Doe","full":"John Doe"}},"createdBy":{"id":"user_id_789","name":{"first":"Sarah","last":"Manager","full":"Sarah Manager"}},"editedBy":{"id":"user_id_790","name":{"first":"Jane","last":"Smith","full":"Jane Smith"}},"logs":["6968bf21c441cf6fb4ac9a3f","696f874462d69cb149439f25"],"title":"Improve Mobility","seenBy":[],"status":"notStarted","actions":[],"endDate":"2026-06-30T00:00:00.000Z","editedOn":"2026-01-23T14:18:42.514Z","createdOn":"2026-01-15T10:30:00.000Z","startDate":"2026-01-15T00:00:00.000Z","importance":8,"description":"Increase independent walking distance to 50 meters","nextReviewDate":"2026-03-30T00:00:00.000Z","progressHistory":[{"date":"2026-01-15T10:19:13.900Z","progress":0}],"successMeasurement":"Able to walk 50 meters independently"}],"type":"array","items":{"type":"object"}},"pagination":{"description":"Pagination metadata","allOf":[{"$ref":"#/components/schemas/PaginationMetaDto"}]}},"required":["data","pagination"]}},"components/schemas/RiskAssessmentResponseDto":{"id":"components/schemas/RiskAssessmentResponseDto","kind":"json-schema","title":"RiskAssessmentResponseDto","data":{"type":"object","properties":{"data":{"description":"Array of risk assessments","example":[{"id":"696f910b62d69cb14944bd29","form":{"id":"6960cb5add702a0011af4ce2","name":"","formFields":[]},"home":{"id":"home-123-abc","name":"Sunrise Care Home"},"resident":{"id":"resident_id_123","name":{"first":"John","last":"Doe","full":"John Doe"},"preferredName":"Johnny"},"createdBy":{"id":"user_id_789","name":{"first":"Sarah","last":"Manager","full":"Sarah Manager"}},"seenBy":[],"archived":false,"createdOn":"2026-01-20T14:28:27.400Z","riskLevel":"high","riskScore":12,"incomplete":false,"reviewedOn":"2026-01-20T14:28:27.401Z"}],"type":"array","items":{"type":"object"}},"pagination":{"description":"Pagination metadata","allOf":[{"$ref":"#/components/schemas/PaginationMetaDto"}]}},"required":["data","pagination"]}},"components/schemas/LogResponseDto":{"id":"components/schemas/LogResponseDto","kind":"json-schema","title":"LogResponseDto","data":{"type":"object","properties":{"data":{"description":"Array of logs (daily care notes) with enriched data","example":[{"id":"6980bf40b0d86defd672b8a1","title":"Resident had a good breakfast","type":"log","timeLogged":"2026-02-02T15:14:02.272Z","originalTimeLog":"2026-02-02T15:14:08.625Z","description":"Ate all food, engaged in conversation with other residents. No assistance required.","location":"Dining Room","deleted":false,"home":{"id":"66e2aeef14dce156439010d5","name":"Sunrise Care Home"},"resident":{"id":"69613fc010eecc5386f987ae","name":{"first":"Margaret","last":"Thompson","full":"Margaret Thompson"}},"loggedBy":{"id":"68406c31e55ca6b6d2262f56","name":{"first":"Jane","last":"Smith","full":"Jane Smith"}},"editedBy":{"id":"68ef4775c1e051de495b175a","name":{"first":"Sarah","last":"Manager","full":"Sarah Manager"}},"category":{"id":"5e867702b349f776c8d48c34","name":"Food & Drink"},"item":{"id":"68cae49a5df0b900121771f2","name":"Breakfast"},"editedAt":"2026-02-02T15:20:00.000Z","revisions":0,"picture1":"https://lmc-care-uploads.s3.eu-west-2.amazonaws.com/photos/home/logs/example-home-id/photo1.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=EXAMPLE%2F20260202%2Feu-west-2%2Fs3%2Faws4_request&X-Amz-Date=20260202T151402Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=examplesignature","picture2":null,"picture3":null,"videoFile":null,"videoThumbnail":null,"hidden":false,"isNextHandover":false,"revoked":false,"revokedAt":null,"nonEditable":false,"amount1":250,"amount2":0,"amountType":"ml","stockQuantityType":"volume","latitude":51.5,"longitude":-1.5,"accuracy":10,"itemSublevel":"Lunch","doneBySu":false,"response":{"questions":[{"key":"mood","label":"Mood","value":"Happy"}]}}],"type":"array","items":{"type":"object"}},"pagination":{"description":"Pagination metadata","allOf":[{"$ref":"#/components/schemas/PaginationMetaDto"}]}},"required":["data","pagination"]}},"components/schemas/LogCategoryResponseDto":{"id":"components/schemas/LogCategoryResponseDto","kind":"json-schema","title":"LogCategoryResponseDto","data":{"type":"object","properties":{"data":{"description":"Array of log categories","example":[{"id":"5f213e77cdd809d04ba664be","name":"Body Maps","color":"#9966FB"}],"type":"array","items":{"type":"object"}},"pagination":{"description":"Pagination metadata","allOf":[{"$ref":"#/components/schemas/PaginationMetaDto"}]}},"required":["data","pagination"]}},"components/schemas/LogCategoryItemResponseDto":{"id":"components/schemas/LogCategoryItemResponseDto","kind":"json-schema","title":"LogCategoryItemResponseDto","data":{"type":"object","properties":{"data":{"description":"Array of log category items","example":[{"id":"5e81db67b1b4e673bc2bb8cc","name":"Catheter","category":"5e867702b349f776c8d48c2f"}],"type":"array","items":{"type":"object"}},"pagination":{"description":"Pagination metadata","allOf":[{"$ref":"#/components/schemas/PaginationMetaDto"}]}},"required":["data","pagination"]}},"components/schemas/DocumentResponseDto":{"id":"components/schemas/DocumentResponseDto","kind":"json-schema","title":"DocumentResponseDto","data":{"type":"object","properties":{"data":{"description":"Array of documents with enriched data","example":[{"id":"6977686fc18f55207654e609","name":"Medical Assessment - January 2026","createdAt":"2026-01-26T13:13:19.529Z","home":{"id":"66e2aeef14dce156439010d5","name":"Sunrise Care Home"},"resident":{"id":"69613fc010eecc5386f987ae","name":{"first":"Margaret","last":"Thompson","full":"Margaret Thompson"}},"category":{"id":"5f155c4ac49007031a671d4f","name":"Care Plans"},"pdf":"https://lmc-care-uploads.s3.eu-west-2.amazonaws.com/docs/home/documents/example-home-id/document-file.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=EXAMPLE%2F20260126%2Feu-west-2%2Fs3%2Faws4_request&X-Amz-Date=20260126T131319Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=examplesignature","originalFile":"Medical_Assessment_Jan2026.pdf","attachedToCarePlan":true}],"type":"array","items":{"type":"object"}},"pagination":{"description":"Pagination metadata","allOf":[{"$ref":"#/components/schemas/PaginationMetaDto"}]}},"required":["data","pagination"]}},"components/schemas/HomeDocumentResponseDto":{"id":"components/schemas/HomeDocumentResponseDto","kind":"json-schema","title":"HomeDocumentResponseDto","data":{"type":"object","properties":{"data":{"description":"Array of home documents with enriched data","example":[{"id":"6915ffc2e924f18fb5af8879","name":"Fire Safety Policy - 2026","createdAt":"2026-11-13T15:56:50.600Z","home":{"id":"66e2aeef14dce156439010d5","name":"Sunrise Care Home"},"category":{"id":"5f155c4ac49007031a671d4f","name":"General"},"pdf":"https://lmc-care-uploads.s3.eu-west-2.amazonaws.com/docs/home/homeDocuments/example-home-id/document-file.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=EXAMPLE%2F20260113%2Feu-west-2%2Fs3%2Faws4_request&X-Amz-Date=20260113T155650Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=examplesignature","originalFile":"Fire_Safety_Policy_2026.pdf"}],"type":"array","items":{"type":"object"}},"pagination":{"description":"Pagination metadata","allOf":[{"$ref":"#/components/schemas/PaginationMetaDto"}]}},"required":["data","pagination"]}},"components/schemas/DeviceResponseDto":{"id":"components/schemas/DeviceResponseDto","kind":"json-schema","title":"DeviceResponseDto","data":{"type":"object","properties":{"data":{"description":"Array of devices","example":[{"id":"64f8a1b23d4e5f6a7b8c9d0e","name":"Reception Tablet","uuid":"550e8400-e29b-41d4-a716-446655440000","version":"4.2.1","model":"iPad Pro 12.9","type":"tablet","users":[{"id":"64f8a1b23d4e5f6a7b8c9d01","name":{"first":"Jane","last":"Smith","full":"Jane Smith"}}],"homes":[{"home":{"id":"64f8a1b23d4e5f6a7b8c9d02","name":"Sunrise Care Home"},"status":"approved"}],"lastUsedBy":{"id":"64f8a1b23d4e5f6a7b8c9d01","name":{"first":"Jane","last":"Smith","full":"Jane Smith"}},"lastUsedOn":"2026-03-07T14:30:00.000Z","createdBy":{"id":"64f8a1b23d4e5f6a7b8c9d03","name":{"first":"Admin","last":"User","full":"Admin User"}},"createdOn":"2026-01-15T10:00:00.000Z","editedBy":{"id":"64f8a1b23d4e5f6a7b8c9d01","name":{"first":"Jane","last":"Smith","full":"Jane Smith"}},"editedOn":"2026-03-07T14:30:00.000Z"}],"type":"array","items":{"type":"object"}},"pagination":{"description":"Pagination metadata","allOf":[{"$ref":"#/components/schemas/PaginationMetaDto"}]}},"required":["data","pagination"]}},"schema_418":{"kind":"json-schema","data":{"type":"object","properties":{"status":{"type":"string","enum":["ok","error"],"example":"ok"},"timestamp":{"type":"string","format":"date-time","example":"2024-09-10T10:30:00.000Z"},"uptime":{"type":"number","example":3600000,"description":"Application uptime in milliseconds"},"version":{"type":"string","example":"1.0.0","description":"Application version from package.json"},"commitSha":{"type":"string","example":"9f8e7d6a1b2c3d4e5f60718293a4b5c6d7e8f901","description":"Git commit SHA the running build was built from"},"databaseSource":{"type":"string","enum":["mongo"],"example":"mongo","description":"Active database source implementation"}}},"id":"schema_418"},"schema_419":{"kind":"json-schema","data":{"type":"string"},"id":"schema_419"},"schema_420":{"kind":"json-schema","data":{"format":"date","example":"2026-01-01","type":"string"},"id":"schema_420"},"schema_421":{"kind":"json-schema","data":{"format":"date","example":"2026-12-31","type":"string"},"id":"schema_421"},"schema_422":{"kind":"json-schema","data":{"minimum":1,"default":1,"example":1,"type":"number"},"id":"schema_422"},"schema_423":{"kind":"json-schema","data":{"minimum":1,"maximum":100,"default":10,"example":10,"type":"number"},"id":"schema_423"},"schema_424":{"kind":"json-schema","data":{"example":"home-123-abc","type":"string"},"id":"schema_424"},"schema_425":{"kind":"json-schema","data":{"example":"resident-456-def","type":"string"},"id":"schema_425"},"schema_426":{"kind":"json-schema","data":{"example":"created_on","type":"string","enum":["created_on","date_of_birth","admission_date","status_changed_on","ingested_on"]},"id":"schema_426"},"schema_427":{"kind":"json-schema","data":{"example":{"id":"69613fc010eecc5386f987ae","name":{"first":"Margaret","last":"Thompson"},"email":"margaret.thompson@example.com","gender":"female","dateOfBirth":"1945-06-15T00:00:00.000Z","createdOn":"2026-01-15T09:30:00.000Z","admissionDate":"2026-01-10T00:00:00.000Z","preferredName":"Maggie","status":"active","statusChangedOn":"2026-01-20T10:00:00.000Z","isInactive":false,"home":{"id":"66e2aeef14dce156439010d5","name":"Sunrise Care Home"},"location":{"roomName":"Room 12","unit":"Oak Wing","floor":"1"},"nhsNumber":"999 000 0001","bloodType":"O+","allergies":"Penicillin","hasAllergies":true,"noKnownAllergies":false,"residentAllergies":["Penicillin","Latex"],"medicalHistory":"Hypertension, Type 2 diabetes","height":"165cm","gpCode":"G1234567","gpName":"Dr. Sarah Williams","gpEmail":"sarah.williams@nhs.example.com","gpTelephone":"+44 1632 960123","gpAddress":{"street1":"1 Example Lane","suburb":"Exampletown","postcode":"EX1 1CD","country":"United Kingdom"},"gpSurgeryName":"Example Medical Practice","phones":[{"number":"+44 7700 900123","type":"mobile"}],"addresses":[{"street1":"45 Example Avenue","suburb":"Exampletown","postcode":"EX1 1EF","country":"United Kingdom","isCurrent":true,"isPrevious":false}],"importantContacts":[{"name":{"first":"Robert","last":"Thompson"},"relationship":"Son","nextOfKin":true,"lpa":true,"phone":"+44 7700 900456","email":"robert.thompson@example.com","addresses":[{"street1":"1 Example Street","suburb":"Leeds","postcode":"EX1 1EX","country":"United Kingdom"}]}],"preferredContactMethod":"noPreference","religion":"Christian","ethnicity":"White British","nationality":"British","nationalities":["British"],"languagesSpoken":["English"],"maritalStatus":"widowed","birthplace":"York","sexualPreference":"heterosexual","carePackage":{"fundingSource":"localAuthority","fundingSourceNotes":"Funded by York City Council","fundingSourceOther":""},"fundingSource":"localAuthority","fundingSourceNotes":"Funded by York City Council","fundingSourceOther":"","keyworkers":["68406c31e55ca6b6d2262f56"],"carerPreferences":{"gender":"female","language":"English"},"preferredDrink":"Tea with milk","preferredAdminRoute":"oral","dols":{"status":"authorised","startDate":"2026-02-01T00:00:00.000Z","endDate":"2026-08-01T00:00:00.000Z","reviewDate":"2026-05-01T00:00:00.000Z","applicationDate":"2026-01-15T00:00:00.000Z"},"dolsStartDate":"2026-02-01T00:00:00.000Z","dolsEndDate":"2026-08-01T00:00:00.000Z","dolsReviewDate":"2026-05-01T00:00:00.000Z","dolsApplicationDate":"2026-01-15T00:00:00.000Z","dnacpr":{"hasDnacpr":true,"details":"DNACPR in place, reviewed by GP","reviewDate":"2026-06-01T00:00:00.000Z","formPhysicalLocation":"Front of care file"},"dnacprDetails":"DNACPR in place, reviewed by GP","dnacprReviewDate":"2026-06-01T00:00:00.000Z","dnacprFormPhysicalLocation":"Front of care file","recentMustScore":"1","recentWaterlowScore":"12","recentDrinkConsumption":"1500ml","hasChokingRisk":false,"prnMedsNote":"Paracetamol PRN for pain","nationalInsurance":"QQ123456C","summary":"Margaret is a friendly resident who enjoys gardening and reading.","otherIdentifiers":[{"type":"localAuthorityRef","value":"LA-2026-0042"}],"customId":"example-resident-id-123","ageYears":80}},"id":"schema_427"},"schema_428":{"kind":"json-schema","data":{"example":"64f8a1b23d4e5f6a7b8c9d0e","type":"string"},"id":"schema_428"},"schema_429":{"kind":"json-schema","data":{"default":"created_on","example":"created_on","type":"string","enum":["created_on","start_date","end_date","last_seen_on","first_login_on","ingested_on"]},"id":"schema_429"},"schema_430":{"kind":"json-schema","data":{"example":{"id":"68406c31e55ca6b6d2262f56","name":{"first":"Jane","last":"Smith","full":"Jane Smith"},"email":"jane.smith@example.co.uk","role":"carehome-admin","cernerRole":"standard","active":true,"deleted":false,"dateOfBirth":"1985-03-22T00:00:00.000Z","startDate":"2026-01-02T00:00:00.000Z","endDate":null,"createdOn":"2026-01-15T09:00:00.000Z","lastSeen":"2026-02-10T16:45:00.000Z","firstLogin":"2026-01-15T09:18:06.809Z","phoneNumber":"+44 7700 900789","address":{"name":"","number":"10","street1":"Example Road","street2":"","suburb":"York","state":"","postcode":"EX1 1AB"},"allergies":"None","hasAllergies":"no","home":"5a1174a35dcb0e004030a28d","homes":["5a1174a35dcb0e004030a28d"],"permissions":["residents:read","logs:read"],"permissionsTemplate":"care-home-admin","medicationPermission":true,"gpConnectPermission":false,"zones":["Oak Wing"],"allZones":false,"workProfile":{"contractType":"fullTime","contractedHoursPerWeek":37.5,"contractNotes":"","rotaPreferenceNotes":"Prefers day shifts","canDoOvertime":true,"availableTransportation":["car"],"availability":{}},"hasRequestedDemo":false,"picture":"https://lmc-care-uploads.s3.eu-west-2.amazonaws.com/photos/users/example-user-id/avatar.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=EXAMPLE%2F20260115%2Feu-west-2%2Fs3%2Faws4_request&X-Amz-Date=20260115T090000Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=examplesignature","summary":"Experienced care home administrator.","customId":"example-admin-id-123","resident":null,"emergencyContactName":{"first":"John","last":"Smith"},"emergencyContactRelation":"Spouse","emergencyContactNumber":"+44 7700 900999"}},"id":"schema_430"},"schema_431":{"kind":"json-schema","data":{"$ref":"#/components/schemas/CarePlanDateField"},"id":"schema_431"},"schema_432":{"kind":"json-schema","data":{"maxLength":100,"example":"CP-2024-001","type":"string"},"id":"schema_432"},"schema_433":{"kind":"json-schema","data":{"example":{"id":"697b6a5b943a178423a9264b","name":"Enhanced Mobility Care Plan","home":{"id":"66e2aeef14dce156439010d5","name":"Sunrise Care Home"},"resident":{"id":"69613fc010eecc5386f987ae","name":{"first":"Margaret","last":"Thompson","full":"Margaret Thompson"},"preferredName":"Maggie"},"editedBy":{"id":"68406c31e55ca6b6d2262f56","name":{"first":"Sarah","last":"Manager","full":"Sarah Manager"}},"goals":["6968bf21c441cf6fb4ac9a3e"],"needs":"Requires support with mobility and transfers.","strengths":"Motivated to remain independent; engages well with physiotherapy.","reviewComment":"Progressing well, continue current plan.","nextReviewDate":"2026-04-29T00:00:00.000Z","editedOn":"2026-02-01T11:00:00.000Z","createdOn":"2026-01-29T14:10:35.209Z","isCustom":true,"outcomes":"Maintain independent mobility within the home.","sections":[{"title":"Mobility","needs":"Requires assistance with transfers and walking longer distances.","strengths":"Able to walk short distances with a frame.","outcomes":"Walk to the dining room with minimal assistance."}],"documents":["6977686fc18f55207654e609"],"revisions":1,"carePlanId":"5f213e77cdd809d04ba664be","isRevision":false,"skillNeeds":["68cae49a5df0b900121771f2"],"subActivity":"Transfers","fluidTracking":{"enabled":true,"intakeTarget":1500},"riskAssessments":["696f910b62d69cb14944bd29"],"noIdentifiedNeed":false,"noFurtherSupportRequired":false}},"id":"schema_433"},"schema_434":{"kind":"json-schema","data":{"example":{"id":"66e2aeef14dce156439010d5","name":"Sunrise Care Home","active":true,"address":{"postcode":"EX1 1AB","state":null,"street1":"123 Example Street","suburb":"Exampletown","isPrevious":false,"isCurrent":true,"country":"United Kingdom"},"odsCode":"EX001","incidentSeverity":{"1":"Minor","2":"Moderate","3":"Significant","4":"Serious","5":"Major"},"telephone":"+44 1632 960456","bedCapacity":45,"countryCode":"ENG","preferredPeopleNominative":"Residents","preferredCarePlansNominative":"Care Plans","customId":"example-home-id-123","homeGroup":{"id":"5f155c4ac49007031a671d4e","name":"Sunrise Care Group"},"logCategoryItems":[{"id":"5e81db67b1b4e673bc2bb8cc","name":"Catheter"}],"familyLogCategoryItems":[{"id":"68cae49a5df0b900121771f2","name":"Activities"}],"picture":"https://lmc-care-uploads.s3.eu-west-2.amazonaws.com/photos/home/example-home-id/home.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=EXAMPLE%2F20260720%2Feu-west-2%2Fs3%2Faws4_request&X-Amz-Date=20260720T085642Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=examplesignature","showAllResidentsButton":true,"visitBasedAccessControl":false,"startAccessTimeValue":1,"startAccessTimeUnit":"hours","endAccessTimeValue":1,"endAccessTimeUnit":"hours","sortByRoomNumber":true,"familyCarePlans":true,"familyDocuments":true,"familyShowNames":true,"familyShowDates":true,"locations":["Oak Wing","Maple Wing"],"tier":"premium","careSetting":"residential","serviceUserType":"olderPeople","secondaryCareSetting":"nursing","secondaryServiceUserType":"dementia","rotaSettings":{"flexiVisits":false,"fundingTypesCount":3,"contractTypesCount":2,"absenceTypesCount":4,"shiftTypesCount":5,"visitTypesCount":0},"privacyOfficers":[{"id":"507f1f77bcf86cd799439022","name":"Jane Smith","email":"jane.smith@example.com","startDate":"2026-01-15T00:00:00.000Z"}],"features":{"deviceAccessControl":{"granted":true,"enabled":true},"eMAR":{"granted":true,"enabled":false},"family":{"granted":true,"enabled":true},"geoLocation":{"granted":false,"enabled":false},"rota":{"granted":true,"enabled":true},"noticeBoard":{"granted":true,"enabled":true},"positiveBehaviour":{"granted":false,"enabled":false}},"createdOn":"2026-07-20T08:56:42.725Z"}},"id":"schema_434"},"schema_435":{"kind":"json-schema","data":{"example":2,"type":"number","enum":[1,2,3,4,5]},"id":"schema_435"},"schema_436":{"kind":"json-schema","data":{"default":"ingested_on","example":"ingested_on","type":"string","enum":["created_on","closed_on","reviewed_on","ingested_on"]},"id":"schema_436"},"schema_437":{"kind":"json-schema","data":{"example":{"id":"6980aa75a5429846498a40da","createdOn":"2026-04-09T18:48:00.000Z","log":{"title":"Safeguarding","description":"Resident reported feeling unsafe in the garden area. Staff responded immediately and documented the incident.","timeLogged":"2026-04-09T18:48:00.000Z","location":"Garden"},"case":null,"home":{"id":"66e2aeef14dce156439010d5","name":"Sunrise Care Home"},"resident":{"id":"69613fc010eecc5386f987b2","name":{"first":"David","last":"Williams","full":"David Williams"}},"status":"needsReview","closedBy":null,"closedOn":null,"severity":2,"isDeleted":false,"reviewedOn":null,"closeComment":null,"category":{"id":"5e867702b349f776c8d48c34","name":"Incident","icon":"https://lmc-data-production.s3.eu-west-2.amazonaws.com/icons/qXxuGVYsSRgAcXoZ.png","color":"#FF3366"},"item":{"id":"68cae49a5df0b900121771f2","name":"Safeguarding","icon":"https://lmc-data-production.s3.eu-west-2.amazonaws.com/icons/DrpQZb2rGf1HHvuI.png"}}},"id":"schema_437"},"schema_438":{"kind":"json-schema","data":{"default":"created_on","example":"created_on","type":"string","enum":["created_on","edited_on","start_date","end_date","ingested_on"]},"id":"schema_438"},"schema_439":{"kind":"json-schema","data":{"example":{"id":"6968bf21c441cf6fb4ac9a3e","home":{"id":"home-123-abc","name":"Sunrise Care Home"},"resident":{"id":"resident_id_123","name":{"first":"John","last":"Doe","full":"John Doe"}},"createdBy":{"id":"user_id_789","name":{"first":"Sarah","last":"Manager","full":"Sarah Manager"}},"editedBy":{"id":"user_id_790","name":{"first":"Jane","last":"Smith","full":"Jane Smith"}},"logs":["6968bf21c441cf6fb4ac9a3f","696f874462d69cb149439f25"],"title":"Improve Mobility","seenBy":[],"status":"notStarted","actions":[],"endDate":"2026-06-30T00:00:00.000Z","editedOn":"2026-01-23T14:18:42.514Z","createdOn":"2026-01-15T10:30:00.000Z","startDate":"2026-01-15T00:00:00.000Z","importance":8,"description":"Increase independent walking distance to 50 meters","nextReviewDate":"2026-03-30T00:00:00.000Z","progressHistory":[{"date":"2026-01-15T10:19:13.900Z","progress":0}],"successMeasurement":"Able to walk 50 meters independently"}},"id":"schema_439"},"schema_440":{"kind":"json-schema","data":{"default":"created_on","example":"created_on","type":"string","enum":["created_on","reviewed_on","ingested_on"]},"id":"schema_440"},"schema_441":{"kind":"json-schema","data":{"example":{"id":"696f910b62d69cb14944bd29","form":{"id":"6960cb5add702a0011af4ce2","name":"","formFields":[]},"home":{"id":"home-123-abc","name":"Sunrise Care Home"},"resident":{"id":"resident_id_123","name":{"first":"John","last":"Doe","full":"John Doe"},"preferredName":"Johnny"},"createdBy":{"id":"user_id_789","name":{"first":"Sarah","last":"Manager","full":"Sarah Manager"}},"seenBy":[],"archived":false,"createdOn":"2026-01-20T14:28:27.400Z","riskLevel":"high","riskScore":12,"incomplete":false,"reviewedOn":"2026-01-20T14:28:27.401Z"}},"id":"schema_441"},"schema_442":{"kind":"json-schema","data":{"example":"63299b624e4c26570fe21e75","type":"string"},"id":"schema_442"},"schema_443":{"kind":"json-schema","data":{"example":"5f155c4ac49007031a671d4f","type":"string"},"id":"schema_443"},"schema_444":{"kind":"json-schema","data":{"example":"5f155c4ac49007031a671d50","type":"string"},"id":"schema_444"},"schema_445":{"kind":"json-schema","data":{"example":"68ef4775c1e051de495b175a","type":"string"},"id":"schema_445"},"schema_446":{"kind":"json-schema","data":{"default":"timeLogged","example":"timeLogged","type":"string","enum":["timeLogged"]},"id":"schema_446"},"schema_447":{"kind":"json-schema","data":{"example":{"id":"6980bf40b0d86defd672b8a1","title":"Resident had a good breakfast","type":"log","timeLogged":"2026-02-02T15:14:02.272Z","originalTimeLog":"2026-02-02T15:14:08.625Z","description":"Ate all food, engaged in conversation with other residents. No assistance required.","location":"Dining Room","deleted":false,"home":{"id":"66e2aeef14dce156439010d5","name":"Sunrise Care Home"},"resident":{"id":"69613fc010eecc5386f987ae","name":{"first":"Margaret","last":"Thompson","full":"Margaret Thompson"}},"loggedBy":{"id":"68406c31e55ca6b6d2262f56","name":{"first":"Jane","last":"Smith","full":"Jane Smith"}},"editedBy":{"id":"68ef4775c1e051de495b175a","name":{"first":"Sarah","last":"Manager","full":"Sarah Manager"}},"category":{"id":"5e867702b349f776c8d48c34","name":"Food & Drink"},"item":{"id":"68cae49a5df0b900121771f2","name":"Breakfast"},"editedAt":"2026-02-02T15:20:00.000Z","revisions":0,"picture1":"https://lmc-care-uploads.s3.eu-west-2.amazonaws.com/photos/home/logs/example-home-id/photo1.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=EXAMPLE%2F20260202%2Feu-west-2%2Fs3%2Faws4_request&X-Amz-Date=20260202T151402Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=examplesignature","picture2":null,"picture3":null,"videoFile":null,"videoThumbnail":null,"hidden":false,"isNextHandover":false,"revoked":false,"revokedAt":null,"nonEditable":false,"amount1":250,"amount2":0,"amountType":"ml","stockQuantityType":"volume","latitude":51.5,"longitude":-1.5,"accuracy":10,"itemSublevel":"Lunch","doneBySu":false,"response":{"questions":[{"key":"mood","label":"Mood","value":"Happy"}]}}},"id":"schema_447"},"schema_448":{"kind":"json-schema","data":{"example":{"id":"5f213e77cdd809d04ba664be","name":"Body Maps","color":"#9966FB"}},"id":"schema_448"},"schema_449":{"kind":"json-schema","data":{"example":{"id":"5e81db67b1b4e673bc2bb8cc","name":"Catheter","category":"5e867702b349f776c8d48c2f"}},"id":"schema_449"},"schema_450":{"kind":"json-schema","data":{"default":"createdAt","example":"createdAt","type":"string","enum":["createdAt"]},"id":"schema_450"},"schema_451":{"kind":"json-schema","data":{"example":{"id":"6977686fc18f55207654e609","name":"Medical Assessment - January 2026","createdAt":"2026-01-26T13:13:19.529Z","home":{"id":"66e2aeef14dce156439010d5","name":"Sunrise Care Home"},"resident":{"id":"69613fc010eecc5386f987ae","name":{"first":"Margaret","last":"Thompson","full":"Margaret Thompson"}},"category":{"id":"5f155c4ac49007031a671d4f","name":"Care Plans"},"pdf":"https://lmc-care-uploads.s3.eu-west-2.amazonaws.com/docs/home/documents/example-home-id/document-file.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=EXAMPLE%2F20260126%2Feu-west-2%2Fs3%2Faws4_request&X-Amz-Date=20260126T131319Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=examplesignature","originalFile":"Medical_Assessment_Jan2026.pdf","attachedToCarePlan":true}},"id":"schema_451"},"schema_452":{"kind":"json-schema","data":{"example":{"id":"6915ffc2e924f18fb5af8879","name":"Fire Safety Policy - 2026","createdAt":"2026-11-13T15:56:50.600Z","home":{"id":"66e2aeef14dce156439010d5","name":"Sunrise Care Home"},"category":{"id":"5f155c4ac49007031a671d4f","name":"General"},"pdf":"https://lmc-care-uploads.s3.eu-west-2.amazonaws.com/docs/home/homeDocuments/example-home-id/document-file.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=EXAMPLE%2F20260113%2Feu-west-2%2Fs3%2Faws4_request&X-Amz-Date=20260113T155650Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=examplesignature","originalFile":"Fire_Safety_Policy_2026.pdf"}},"id":"schema_452"},"schema_453":{"kind":"json-schema","data":{"example":"tablet","type":"string","enum":["tablet","phone","laptop"]},"id":"schema_453"},"schema_454":{"kind":"json-schema","data":{"example":"approved","type":"string","enum":["pending","approved","blocked"]},"id":"schema_454"},"schema_455":{"kind":"json-schema","data":{"example":{"id":"64f8a1b23d4e5f6a7b8c9d0e","name":"Reception Tablet","uuid":"550e8400-e29b-41d4-a716-446655440000","version":"4.2.1","model":"iPad Pro 12.9","type":"tablet","users":[{"id":"64f8a1b23d4e5f6a7b8c9d01","name":{"first":"Jane","last":"Smith","full":"Jane Smith"}}],"homes":[{"home":{"id":"64f8a1b23d4e5f6a7b8c9d02","name":"Sunrise Care Home"},"status":"approved"}],"lastUsedBy":{"id":"64f8a1b23d4e5f6a7b8c9d01","name":{"first":"Jane","last":"Smith","full":"Jane Smith"}},"lastUsedOn":"2026-03-07T14:30:00.000Z","createdBy":{"id":"64f8a1b23d4e5f6a7b8c9d03","name":{"first":"Admin","last":"User","full":"Admin User"}},"createdOn":"2026-01-15T10:00:00.000Z","editedBy":{"id":"64f8a1b23d4e5f6a7b8c9d01","name":{"first":"Jane","last":"Smith","full":"Jane Smith"}},"editedOn":"2026-03-07T14:30:00.000Z"}},"id":"schema_455"}},"exampleStore":{"paths/~1api~1residents/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1residents/get/responses/400/content/application~1json/example"},"paths/~1api~1residents/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1residents/get/responses/401/content/application~1json/example"},"paths/~1api~1residents/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1residents/get/responses/500/content/application~1json/example"},"paths/~1api~1residents/post/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1residents/post/responses/400/content/application~1json/example"},"paths/~1api~1residents/post/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1residents/post/responses/401/content/application~1json/example"},"paths/~1api~1residents/post/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1residents/post/responses/403/content/application~1json/example"},"paths/~1api~1residents/post/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1residents/post/responses/500/content/application~1json/example"},"paths/~1api~1residents~1{id}/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1residents~1{id}/get/responses/400/content/application~1json/example"},"paths/~1api~1residents~1{id}/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1residents~1{id}/get/responses/401/content/application~1json/example"},"paths/~1api~1residents~1{id}/get/responses/404/content/application~1json/example":{"value":{"error":{"code":"NOT_FOUND","message":"Resident with ID '64f8a1b23d4e5f6a7b8c9d0e' not found","details":{"field":"id","provided":"64f8a1b23d4e5f6a7b8c9d0e","expected":"Valid resident ID"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12348"}},"id":"paths/~1api~1residents~1{id}/get/responses/404/content/application~1json/example"},"paths/~1api~1residents~1{id}/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1residents~1{id}/get/responses/500/content/application~1json/example"},"paths/~1api~1residents~1{id}/put/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1residents~1{id}/put/responses/400/content/application~1json/example"},"paths/~1api~1residents~1{id}/put/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1residents~1{id}/put/responses/401/content/application~1json/example"},"paths/~1api~1residents~1{id}/put/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1residents~1{id}/put/responses/403/content/application~1json/example"},"paths/~1api~1residents~1{id}/put/responses/404/content/application~1json/example":{"value":{"error":{"code":"NOT_FOUND","message":"Resident with ID '64f8a1b23d4e5f6a7b8c9d0e' not found","details":{"field":"id","provided":"64f8a1b23d4e5f6a7b8c9d0e","expected":"Valid resident ID"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12348"}},"id":"paths/~1api~1residents~1{id}/put/responses/404/content/application~1json/example"},"paths/~1api~1residents~1{id}/put/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1residents~1{id}/put/responses/500/content/application~1json/example"},"paths/~1api~1users/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1users/get/responses/400/content/application~1json/example"},"paths/~1api~1users/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1users/get/responses/401/content/application~1json/example"},"paths/~1api~1users/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1users/get/responses/500/content/application~1json/example"},"paths/~1api~1users/post/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1users/post/responses/400/content/application~1json/example"},"paths/~1api~1users/post/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1users/post/responses/401/content/application~1json/example"},"paths/~1api~1users/post/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1users/post/responses/403/content/application~1json/example"},"paths/~1api~1users/post/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1users/post/responses/500/content/application~1json/example"},"paths/~1api~1users~1{id}/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1users~1{id}/get/responses/400/content/application~1json/example"},"paths/~1api~1users~1{id}/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1users~1{id}/get/responses/401/content/application~1json/example"},"paths/~1api~1users~1{id}/get/responses/404/content/application~1json/example":{"value":{"error":{"code":"NOT_FOUND","message":"User with ID '64f8a1b23d4e5f6a7b8c9d0e' not found","details":{"field":"id","provided":"64f8a1b23d4e5f6a7b8c9d0e","expected":"Valid user ID"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12348"}},"id":"paths/~1api~1users~1{id}/get/responses/404/content/application~1json/example"},"paths/~1api~1users~1{id}/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1users~1{id}/get/responses/500/content/application~1json/example"},"paths/~1api~1users~1{id}/put/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1users~1{id}/put/responses/400/content/application~1json/example"},"paths/~1api~1users~1{id}/put/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1users~1{id}/put/responses/401/content/application~1json/example"},"paths/~1api~1users~1{id}/put/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1users~1{id}/put/responses/403/content/application~1json/example"},"paths/~1api~1users~1{id}/put/responses/404/content/application~1json/example":{"value":{"error":{"code":"NOT_FOUND","message":"User with ID '64f8a1b23d4e5f6a7b8c9d0e' not found","details":{"field":"id","provided":"64f8a1b23d4e5f6a7b8c9d0e","expected":"Valid user ID"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12348"}},"id":"paths/~1api~1users~1{id}/put/responses/404/content/application~1json/example"},"paths/~1api~1users~1{id}/put/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1users~1{id}/put/responses/500/content/application~1json/example"},"paths/~1api~1careplans/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1careplans/get/responses/400/content/application~1json/example"},"paths/~1api~1careplans/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1careplans/get/responses/401/content/application~1json/example"},"paths/~1api~1careplans/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1careplans/get/responses/500/content/application~1json/example"},"paths/~1api~1careplans~1{id}/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1careplans~1{id}/get/responses/400/content/application~1json/example"},"paths/~1api~1careplans~1{id}/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1careplans~1{id}/get/responses/401/content/application~1json/example"},"paths/~1api~1careplans~1{id}/get/responses/404/content/application~1json/example":{"value":{"error":{"code":"NOT_FOUND","message":"Care Plan with ID '64f8a1b23d4e5f6a7b8c9d0e' not found","details":{"field":"id","provided":"64f8a1b23d4e5f6a7b8c9d0e","expected":"Valid care plan ID"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12348"}},"id":"paths/~1api~1careplans~1{id}/get/responses/404/content/application~1json/example"},"paths/~1api~1careplans~1{id}/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1careplans~1{id}/get/responses/500/content/application~1json/example"},"paths/~1api~1homes/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1homes/get/responses/400/content/application~1json/example"},"paths/~1api~1homes/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1homes/get/responses/401/content/application~1json/example"},"paths/~1api~1homes/get/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1homes/get/responses/403/content/application~1json/example"},"paths/~1api~1homes/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1homes/get/responses/500/content/application~1json/example"},"paths/~1api~1homes~1{id}/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1homes~1{id}/get/responses/400/content/application~1json/example"},"paths/~1api~1homes~1{id}/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1homes~1{id}/get/responses/401/content/application~1json/example"},"paths/~1api~1homes~1{id}/get/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1homes~1{id}/get/responses/403/content/application~1json/example"},"paths/~1api~1homes~1{id}/get/responses/404/content/application~1json/example":{"value":{"error":{"code":"NOT_FOUND","message":"Home with ID '64f8a1b23d4e5f6a7b8c9d0e' not found","details":{"field":"id","provided":"64f8a1b23d4e5f6a7b8c9d0e","expected":"Valid home ID"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12348"}},"id":"paths/~1api~1homes~1{id}/get/responses/404/content/application~1json/example"},"paths/~1api~1homes~1{id}/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1homes~1{id}/get/responses/500/content/application~1json/example"},"paths/~1api~1incident-reports/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1incident-reports/get/responses/400/content/application~1json/example"},"paths/~1api~1incident-reports/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1incident-reports/get/responses/401/content/application~1json/example"},"paths/~1api~1incident-reports/get/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1incident-reports/get/responses/403/content/application~1json/example"},"paths/~1api~1incident-reports/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1incident-reports/get/responses/500/content/application~1json/example"},"paths/~1api~1incident-reports~1{id}/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1incident-reports~1{id}/get/responses/400/content/application~1json/example"},"paths/~1api~1incident-reports~1{id}/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1incident-reports~1{id}/get/responses/401/content/application~1json/example"},"paths/~1api~1incident-reports~1{id}/get/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1incident-reports~1{id}/get/responses/403/content/application~1json/example"},"paths/~1api~1incident-reports~1{id}/get/responses/404/content/application~1json/example":{"value":{"error":{"code":"NOT_FOUND","message":"Incident Report with ID '64f8a1b23d4e5f6a7b8c9d0e' not found","details":{"field":"id","provided":"64f8a1b23d4e5f6a7b8c9d0e","expected":"Valid incident report ID"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12348"}},"id":"paths/~1api~1incident-reports~1{id}/get/responses/404/content/application~1json/example"},"paths/~1api~1incident-reports~1{id}/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1incident-reports~1{id}/get/responses/500/content/application~1json/example"},"paths/~1api~1goals/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1goals/get/responses/400/content/application~1json/example"},"paths/~1api~1goals/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1goals/get/responses/401/content/application~1json/example"},"paths/~1api~1goals/get/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1goals/get/responses/403/content/application~1json/example"},"paths/~1api~1goals/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1goals/get/responses/500/content/application~1json/example"},"paths/~1api~1goals~1{id}/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1goals~1{id}/get/responses/400/content/application~1json/example"},"paths/~1api~1goals~1{id}/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1goals~1{id}/get/responses/401/content/application~1json/example"},"paths/~1api~1goals~1{id}/get/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1goals~1{id}/get/responses/403/content/application~1json/example"},"paths/~1api~1goals~1{id}/get/responses/404/content/application~1json/example":{"value":{"error":{"code":"NOT_FOUND","message":"Goal with ID '64f8a1b23d4e5f6a7b8c9d0e' not found","details":{"field":"id","provided":"64f8a1b23d4e5f6a7b8c9d0e","expected":"Valid goal ID"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12348"}},"id":"paths/~1api~1goals~1{id}/get/responses/404/content/application~1json/example"},"paths/~1api~1goals~1{id}/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1goals~1{id}/get/responses/500/content/application~1json/example"},"paths/~1api~1risk-assessments/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1risk-assessments/get/responses/400/content/application~1json/example"},"paths/~1api~1risk-assessments/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1risk-assessments/get/responses/401/content/application~1json/example"},"paths/~1api~1risk-assessments/get/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1risk-assessments/get/responses/403/content/application~1json/example"},"paths/~1api~1risk-assessments/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1risk-assessments/get/responses/500/content/application~1json/example"},"paths/~1api~1risk-assessments~1{id}/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1risk-assessments~1{id}/get/responses/400/content/application~1json/example"},"paths/~1api~1risk-assessments~1{id}/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1risk-assessments~1{id}/get/responses/401/content/application~1json/example"},"paths/~1api~1risk-assessments~1{id}/get/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1risk-assessments~1{id}/get/responses/403/content/application~1json/example"},"paths/~1api~1risk-assessments~1{id}/get/responses/404/content/application~1json/example":{"value":{"error":{"code":"NOT_FOUND","message":"Risk Assessment with ID '64f8a1b23d4e5f6a7b8c9d0e' not found","details":{"field":"id","provided":"64f8a1b23d4e5f6a7b8c9d0e","expected":"Valid risk assessment ID"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12348"}},"id":"paths/~1api~1risk-assessments~1{id}/get/responses/404/content/application~1json/example"},"paths/~1api~1risk-assessments~1{id}/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1risk-assessments~1{id}/get/responses/500/content/application~1json/example"},"paths/~1api~1logs/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1logs/get/responses/400/content/application~1json/example"},"paths/~1api~1logs/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1logs/get/responses/401/content/application~1json/example"},"paths/~1api~1logs/get/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1logs/get/responses/403/content/application~1json/example"},"paths/~1api~1logs/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1logs/get/responses/500/content/application~1json/example"},"paths/~1api~1logs~1{id}/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1logs~1{id}/get/responses/400/content/application~1json/example"},"paths/~1api~1logs~1{id}/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1logs~1{id}/get/responses/401/content/application~1json/example"},"paths/~1api~1logs~1{id}/get/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1logs~1{id}/get/responses/403/content/application~1json/example"},"paths/~1api~1logs~1{id}/get/responses/404/content/application~1json/example":{"value":{"error":{"code":"NOT_FOUND","message":"Log with ID '64f8a1b23d4e5f6a7b8c9d0e' not found","details":{"field":"id","provided":"64f8a1b23d4e5f6a7b8c9d0e","expected":"Valid log ID"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12348"}},"id":"paths/~1api~1logs~1{id}/get/responses/404/content/application~1json/example"},"paths/~1api~1logs~1{id}/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1logs~1{id}/get/responses/500/content/application~1json/example"},"paths/~1api~1documents/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1documents/get/responses/400/content/application~1json/example"},"paths/~1api~1documents/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1documents/get/responses/401/content/application~1json/example"},"paths/~1api~1documents/get/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1documents/get/responses/403/content/application~1json/example"},"paths/~1api~1documents/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1documents/get/responses/500/content/application~1json/example"},"paths/~1api~1documents~1{id}/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1documents~1{id}/get/responses/400/content/application~1json/example"},"paths/~1api~1documents~1{id}/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1documents~1{id}/get/responses/401/content/application~1json/example"},"paths/~1api~1documents~1{id}/get/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1documents~1{id}/get/responses/403/content/application~1json/example"},"paths/~1api~1documents~1{id}/get/responses/404/content/application~1json/example":{"value":{"error":{"code":"NOT_FOUND","message":"Document with ID '64f8a1b23d4e5f6a7b8c9d0e' not found","details":{"field":"id","provided":"64f8a1b23d4e5f6a7b8c9d0e","expected":"Valid document ID"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12348"}},"id":"paths/~1api~1documents~1{id}/get/responses/404/content/application~1json/example"},"paths/~1api~1documents~1{id}/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1documents~1{id}/get/responses/500/content/application~1json/example"},"paths/~1api~1home-documents/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1home-documents/get/responses/400/content/application~1json/example"},"paths/~1api~1home-documents/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1home-documents/get/responses/401/content/application~1json/example"},"paths/~1api~1home-documents/get/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1home-documents/get/responses/403/content/application~1json/example"},"paths/~1api~1home-documents/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1home-documents/get/responses/500/content/application~1json/example"},"paths/~1api~1home-documents~1{id}/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1home-documents~1{id}/get/responses/400/content/application~1json/example"},"paths/~1api~1home-documents~1{id}/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1home-documents~1{id}/get/responses/401/content/application~1json/example"},"paths/~1api~1home-documents~1{id}/get/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1home-documents~1{id}/get/responses/403/content/application~1json/example"},"paths/~1api~1home-documents~1{id}/get/responses/404/content/application~1json/example":{"value":{"error":{"code":"NOT_FOUND","message":"HomeDocument with ID '64f8a1b23d4e5f6a7b8c9d0e' not found","details":{"field":"id","provided":"64f8a1b23d4e5f6a7b8c9d0e","expected":"Valid homedocument ID"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12348"}},"id":"paths/~1api~1home-documents~1{id}/get/responses/404/content/application~1json/example"},"paths/~1api~1home-documents~1{id}/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1home-documents~1{id}/get/responses/500/content/application~1json/example"},"paths/~1api~1devices/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1devices/get/responses/400/content/application~1json/example"},"paths/~1api~1devices/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1devices/get/responses/401/content/application~1json/example"},"paths/~1api~1devices/get/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1devices/get/responses/403/content/application~1json/example"},"paths/~1api~1devices/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1devices/get/responses/500/content/application~1json/example"},"paths/~1api~1devices~1{id}/get/responses/400/content/application~1json/example":{"value":{"error":{"code":"VALIDATION_ERROR","message":"Invalid query parameters","details":{"field":"startDate","provided":"invalid-date","expected":"ISO 8601 format (YYYY-MM-DD)"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12345"}},"id":"paths/~1api~1devices~1{id}/get/responses/400/content/application~1json/example"},"paths/~1api~1devices~1{id}/get/responses/401/content/application~1json/example":{"value":{"error":{"code":"AUTHENTICATION_REQUIRED","message":"Invalid or expired JWT token","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12346"}},"id":"paths/~1api~1devices~1{id}/get/responses/401/content/application~1json/example"},"paths/~1api~1devices~1{id}/get/responses/403/content/application~1json/example":{"value":{"error":{"code":"FORBIDDEN","message":"Insufficient permissions to access this resource","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12349"}},"id":"paths/~1api~1devices~1{id}/get/responses/403/content/application~1json/example"},"paths/~1api~1devices~1{id}/get/responses/404/content/application~1json/example":{"value":{"error":{"code":"NOT_FOUND","message":"Device with ID '64f8a1b23d4e5f6a7b8c9d0e' not found","details":{"field":"id","provided":"64f8a1b23d4e5f6a7b8c9d0e","expected":"Valid device ID"},"timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12348"}},"id":"paths/~1api~1devices~1{id}/get/responses/404/content/application~1json/example"},"paths/~1api~1devices~1{id}/get/responses/500/content/application~1json/example":{"value":{"error":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred","timestamp":"2026-12-11T10:30:00Z","correlationId":"req_12347"}},"id":"paths/~1api~1devices~1{id}/get/responses/500/content/application~1json/example"}},"securitySchemeStore":{"Bearer":{"id":"Bearer","type":"http","scheme":"bearer","bearerFormat":"JWT","description":"JWT token obtained from token exchange endpoint"}},"servers":[{"url":"https://data.logmycare.co.uk/openapi","description":"API Server"}]},"options":{"hideSidebar":true,"mockServer":{"off":true,"position":"off"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/docs/openapi/@v1.108.0/index.json?download"},{"url":"/_bundle/docs/openapi/@v1.108.0/index.yaml?download"}],"excludeFromSearch":false,"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Log my Care Open API","description":"API for accessing Log my Care data. Most endpoints are read-only (<code>GET</code>); the Residents endpoint additionally supports creating and updating records (<code>POST</code>/<code>PUT</code>). Authenticate by exchanging your API key for a JWT token via <code>POST /openapi/auth/token/exchange</code>, then include the token in the <code>Authorization: Bearer</code> header.\n\n<h2>Authentication</h2>\n\n<p><strong>Token Exchange (Required)</strong>: Exchange the API key for a short-lived JWT token (15 minutes) using <code>POST /openapi/auth/token/exchange</code>. This provides enhanced security by minimizing API key exposure.</p>\n\n<p>All authenticated endpoints require a valid JWT token in the <code>Authorization: Bearer</code> header.</p>\n\n<h2>Available Endpoints</h2>\n\n<h3>Health & Status</h3>\n<ul>\n  <li><code>GET /health</code> - System health check (no authentication required)</li>\n  <li><code>GET /openapi/health</code> - Alternative health check path (legacy compatibility)</li>\n</ul>\n\n<h3>Residents</h3>\n<ul>\n  <li><code>GET /openapi/api/residents</code> - List all residents with filtering and pagination</li>\n  <li><code>GET /openapi/api/residents/:id</code> - Get specific resident by ID</li>\n  <li><code>POST /openapi/api/residents</code> - Create a resident</li>\n  <li><code>PUT /openapi/api/residents/:id</code> - Update a resident</li>\n  <li>Filters: <code>homeId</code>, <code>residentId</code>, <code>startDate</code>, <code>endDate</code>, <code>dateField</code>, <code>page</code>, <code>limit</code></li>\n</ul>\n\n<h3>Care Plans</h3>\n<ul>\n  <li><code>GET /openapi/api/careplans</code> - List all care plans with filtering</li>\n  <li><code>GET /openapi/api/careplans/:id</code> - Get specific care plan by ID</li>\n  <li>Filters: <code>homeId</code>, <code>residentId</code>, <code>carePlanId</code>, <code>startDate</code>, <code>endDate</code>, <code>dateField</code>, <code>page</code>, <code>limit</code></li>\n</ul>\n\n<h3>Goals</h3>\n<ul>\n  <li><code>GET /openapi/api/goals</code> - List all goals with filtering</li>\n  <li><code>GET /openapi/api/goals/:id</code> - Get specific goal by ID</li>\n  <li>Filters: <code>homeId</code>, <code>residentId</code>, <code>startDate</code>, <code>endDate</code>, <code>dateField</code>, <code>page</code>, <code>limit</code></li>\n</ul>\n\n<h3>Incident Reports</h3>\n<ul>\n  <li><code>GET /openapi/api/incident-reports</code> - List all incident reports</li>\n  <li><code>GET /openapi/api/incident-reports/:id</code> - Get specific incident report by ID</li>\n  <li>Filters: <code>homeId</code>, <code>residentId</code>, <code>severity</code>, <code>startDate</code>, <code>endDate</code>, <code>dateField</code>, <code>page</code>, <code>limit</code></li>\n</ul>\n\n<h3>Risk Assessments</h3>\n<ul>\n  <li><code>GET /openapi/api/risk-assessments</code> - List all risk assessments</li>\n  <li><code>GET /openapi/api/risk-assessments/:id</code> - Get specific risk assessment by ID</li>\n  <li>Filters: <code>homeId</code>, <code>residentId</code>, <code>startDate</code>, <code>endDate</code>, <code>dateField</code>, <code>page</code>, <code>limit</code></li>\n</ul>\n\n<h3>Homes</h3>\n<ul>\n  <li><code>GET /openapi/api/homes</code> - List all care homes</li>\n  <li><code>GET /openapi/api/homes/:id</code> - Get specific home by ID</li>\n  <li>Filters: <code>page</code>, <code>limit</code></li>\n</ul>\n\n<h3>Users</h3>\n<ul>\n  <li><code>GET /openapi/api/users</code> - List all users</li>\n  <li><code>GET /openapi/api/users/:id</code> - Get specific user by ID</li>\n  <li>Filters: <code>startDate</code>, <code>endDate</code>, <code>dateField</code>, <code>page</code>, <code>limit</code></li>\n</ul>\n\n<h3>Logs</h3>\n<ul>\n  <li><code>GET /openapi/api/logs</code> - List all daily care logs</li>\n  <li><code>GET /openapi/api/logs/:id</code> - Get specific log by ID</li>\n  <li>Filters: <code>homeId</code>, <code>residentId</code>, <code>categoryId</code>, <code>itemId</code>, <code>loggedById</code>, <code>startDate</code>, <code>endDate</code>, <code>dateField</code>, <code>page</code>, <code>limit</code></li>\n</ul>\n\n<h3>Log Categories</h3>\n<ul>\n  <li><code>GET /openapi/api/logcategories</code> - List all log categories (no authentication required)</li>\n  <li><code>GET /openapi/api/logcategories/:id</code> - Get specific log category by ID (no authentication required)</li>\n  <li>Filters: <code>page</code>, <code>limit</code></li>\n</ul>\n\n<h3>Log Category Items</h3>\n<ul>\n  <li><code>GET /openapi/api/logcategoryitems</code> - List all log category items (no authentication required)</li>\n  <li><code>GET /openapi/api/logcategoryitems/:id</code> - Get specific log category item by ID (no authentication required)</li>\n  <li>Filters: <code>page</code>, <code>limit</code></li>\n</ul>\n\n<h3>Documents</h3>\n<ul>\n  <li><code>GET /openapi/api/documents</code> - List all resident documents</li>\n  <li><code>GET /openapi/api/documents/:id</code> - Get specific document by ID</li>\n  <li>Filters: <code>homeId</code>, <code>residentId</code>, <code>categoryId</code>, <code>startDate</code>, <code>endDate</code>, <code>dateField</code>, <code>page</code>, <code>limit</code></li>\n</ul>\n\n<h3>Home Documents</h3>\n<ul>\n  <li><code>GET /openapi/api/home-documents</code> - List all home-scoped documents</li>\n  <li><code>GET /openapi/api/home-documents/:id</code> - Get specific home document by ID</li>\n  <li>Filters: <code>homeId</code>, <code>categoryId</code>, <code>startDate</code>, <code>endDate</code>, <code>dateField</code>, <code>page</code>, <code>limit</code></li>\n</ul>\n\n<h3>Devices</h3>\n<ul>\n  <li><code>GET /openapi/api/devices</code> - List all devices (tablets, phones, laptops)</li>\n  <li><code>GET /openapi/api/devices/:id</code> - Get specific device by ID</li>\n  <li>Filters: <code>type</code>, <code>deviceStatus</code>, <code>startDate</code>, <code>endDate</code>, <code>page</code>, <code>limit</code></li>\n</ul>\n\n<h2>Common Features</h2>\n\n<p><strong>Pagination</strong>: All list endpoints support <code>page</code> (default: 1) and <code>limit</code> (default: 10, max: 100) parameters.</p>\n\n<p><strong>Date Filtering</strong>: Many endpoints support <code>startDate</code>, <code>endDate</code>, and <code>dateField</code> parameters for filtering by date ranges.</p>\n\n<p><strong>Rate limits</strong>: 100 requests/minute per IP (unauthenticated), 1,000 requests/minute with JWT token authentication.</p>\n\n<p><strong>Security</strong>: All requests logged, input validated, parameterised queries, rate limiting enforced.</p>"}},"baseSlug":"/docs/openapi","routesMapping":{}}