{"openapi":"3.1.0","info":{"title":"Nearest discovery API","version":"0.1.0","description":"Milestone 1 public discovery. All examples labelled fixture are fictional. Authenticated surfaces are reserved contracts only. No address or worldwide loaded-coverage claim."},"servers":[{"url":"https://api.neare.st"}],"security":[],"paths":{"/v1/categories":{"get":{"operationId":"list_categories","summary":"List categories","security":[{},{"developerKey":[]}],"parameters":[],"responses":{"200":{"description":"Success. Empty data never asserts real-world absence.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoriesResponse"},"example":{"data":[],"meta":{"request_id":"req_example","next_cursor":null,"coverage_status":"not_loaded","dataset_revision":null,"attributions":[]}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"BBOX_TOO_LARGE","message":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Authentication required.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Insufficient scope or role.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Insufficient scope or role.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Record not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Record not found.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Conflicting request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Conflicting request.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Rate or quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Rate or quota exceeded.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Service or requested capability unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"SERVICE_UNAVAILABLE","message":"Service or requested capability unavailable.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}}}}},"/v1/attributions":{"get":{"operationId":"list_attributions","summary":"List attributions","security":[{},{"developerKey":[]}],"parameters":[],"responses":{"200":{"description":"Success. Empty data never asserts real-world absence.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttributionsResponse"},"example":{"data":[],"meta":{"request_id":"req_example","next_cursor":null,"coverage_status":"not_loaded","dataset_revision":null,"attributions":[]}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"BBOX_TOO_LARGE","message":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Authentication required.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Insufficient scope or role.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Insufficient scope or role.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Record not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Record not found.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Conflicting request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Conflicting request.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Rate or quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Rate or quota exceeded.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Service or requested capability unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"SERVICE_UNAVAILABLE","message":"Service or requested capability unavailable.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}}}}},"/v1/coverage":{"get":{"operationId":"list_coverage","summary":"List coverage","security":[{},{"developerKey":[]}],"parameters":[],"responses":{"200":{"description":"Success. Empty data never asserts real-world absence.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoveragesResponse"},"example":{"data":[],"meta":{"request_id":"req_example","next_cursor":null,"coverage_status":"not_loaded","dataset_revision":null,"attributions":[]}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"BBOX_TOO_LARGE","message":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Authentication required.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Insufficient scope or role.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Insufficient scope or role.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Record not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Record not found.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Conflicting request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Conflicting request.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Rate or quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Rate or quota exceeded.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Service or requested capability unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"SERVICE_UNAVAILABLE","message":"Service or requested capability unavailable.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}}}}},"/v1/places/nearby":{"get":{"operationId":"find_nearby_places","summary":"Find nearby places","security":[{},{"developerKey":[]}],"parameters":[{"name":"lat","in":"query","required":false,"schema":{"type":"number","minimum":-90,"maximum":90},"example":51.5074},{"name":"lon","in":"query","required":false,"schema":{"type":"number","minimum":-180,"maximum":180},"example":-0.1278},{"name":"radius_m","in":"query","required":false,"schema":{"type":"number","exclusiveMinimum":0,"maximum":50000,"default":5000},"example":5000},{"name":"bbox","in":"query","required":false,"schema":{"type":"string"},"example":"-0.2,51.4,0.0,51.6","description":"west,south,east,north in degrees. West > east crosses antimeridian. Area cap 10000 km²; BBOX_TOO_LARGE (400) otherwise. Cannot combine with centre parameters."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":50,"default":20},"example":20},{"name":"categories","in":"query","required":false,"schema":{"type":"string","maxLength":300,"pattern":"^(restaurants|cafes|groceries|pharmacies|atms|washrooms|parking|gas_stations|ev_charging|public_wifi|drinking_water|libraries|shops|attractions|parks|gyms|coworking|liquor_stores)(,(restaurants|cafes|groceries|pharmacies|atms|washrooms|parking|gas_stations|ev_charging|public_wifi|drinking_water|libraries|shops|attractions|parks|gyms|coworking|liquor_stores))*$"},"example":"cafes,washrooms","description":"Comma-separated category IDs, OR semantics."},{"name":"access","in":"query","required":false,"schema":{"type":"string","enum":["public","customers","private","unknown"]}},{"name":"fee","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Fee"}},{"name":"wheelchair","in":"query","required":false,"schema":{"$ref":"#/components/schemas/TriState"}},{"name":"open_now","in":"query","required":false,"schema":{"type":"boolean"},"example":true},{"name":"confirmed_this_week","in":"query","required":false,"description":"Only stored approved confirmations from the preceding seven days (rolling UTC duration); excludes absent and future timestamps.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Success. Empty data never asserts real-world absence.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlacesResponse"},"example":{"data":[],"meta":{"request_id":"req_example","next_cursor":null,"coverage_status":"not_loaded","dataset_revision":null,"attributions":[]}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"BBOX_TOO_LARGE","message":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Authentication required.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Insufficient scope or role.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Insufficient scope or role.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Record not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Record not found.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Conflicting request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Conflicting request.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Rate or quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Rate or quota exceeded.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Service or requested capability unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"SERVICE_UNAVAILABLE","message":"Service or requested capability unavailable.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Requires centre (lat and lon; radius defaults to 5000 m) or bounded bbox. Nearest eligible candidates are exactly re-filtered and sorted by spherical straight-line distance then stable ID. Bbox ordering uses its spherical midpoint. Only first-page discovery is supported. Unknown opening status does not match open_now=true."}},"/v1/places/search":{"get":{"operationId":"search_places","summary":"Search places","security":[{},{"developerKey":[]}],"parameters":[{"name":"lat","in":"query","required":false,"schema":{"type":"number","minimum":-90,"maximum":90},"example":51.5074},{"name":"lon","in":"query","required":false,"schema":{"type":"number","minimum":-180,"maximum":180},"example":-0.1278},{"name":"radius_m","in":"query","required":false,"schema":{"type":"number","exclusiveMinimum":0,"maximum":50000,"default":5000},"example":5000},{"name":"bbox","in":"query","required":false,"schema":{"type":"string"},"example":"-0.2,51.4,0.0,51.6","description":"west,south,east,north in degrees. West > east crosses antimeridian. Area cap 10000 km²; BBOX_TOO_LARGE (400) otherwise. Cannot combine with centre parameters."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":50,"default":20},"example":20},{"name":"categories","in":"query","required":false,"schema":{"type":"string","maxLength":300,"pattern":"^(restaurants|cafes|groceries|pharmacies|atms|washrooms|parking|gas_stations|ev_charging|public_wifi|drinking_water|libraries|shops|attractions|parks|gyms|coworking|liquor_stores)(,(restaurants|cafes|groceries|pharmacies|atms|washrooms|parking|gas_stations|ev_charging|public_wifi|drinking_water|libraries|shops|attractions|parks|gyms|coworking|liquor_stores))*$"},"example":"cafes,washrooms","description":"Comma-separated category IDs, OR semantics."},{"name":"access","in":"query","required":false,"schema":{"type":"string","enum":["public","customers","private","unknown"]}},{"name":"fee","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Fee"}},{"name":"wheelchair","in":"query","required":false,"schema":{"$ref":"#/components/schemas/TriState"}},{"name":"open_now","in":"query","required":false,"schema":{"type":"boolean"},"example":true},{"name":"q","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":200},"example":"cafe"},{"name":"confirmed_this_week","in":"query","required":false,"description":"Only stored approved confirmations from the preceding seven days (rolling UTC duration); excludes absent and future timestamps.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Success. Empty data never asserts real-world absence.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlacesResponse"},"example":{"data":[],"meta":{"request_id":"req_example","next_cursor":null,"coverage_status":"not_loaded","dataset_revision":null,"attributions":[]}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"BBOX_TOO_LARGE","message":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Authentication required.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Insufficient scope or role.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Insufficient scope or role.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Record not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Record not found.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Conflicting request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Conflicting request.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Rate or quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Rate or quota exceeded.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Service or requested capability unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"SERVICE_UNAVAILABLE","message":"Service or requested capability unavailable.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Requires centre (lat and lon; radius defaults to 5000 m) or bounded bbox. Nearest eligible candidates are exactly re-filtered and sorted by spherical straight-line distance then stable ID. Bbox ordering uses its spherical midpoint. Only first-page discovery is supported. Unknown opening status does not match open_now=true."}},"/v1/places/{id}":{"get":{"operationId":"get_place","summary":"Get place","security":[{},{"developerKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":128},"example":"pl_example"}],"responses":{"200":{"description":"Success. Empty data never asserts real-world absence.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaceDetailResponse"},"example":{"data":{"id":"pl_example","name":"Fictional contract fixture","categories":["cafes"],"location":{"type":"Point","coordinates":[-0.128,51.508]},"opening_status":"unknown","access":"unknown","verified_at":null,"source_ids":["fixture"]},"meta":{"request_id":"req_example","next_cursor":null,"coverage_status":"not_loaded","dataset_revision":"fixture-v1","attributions":[]}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"BBOX_TOO_LARGE","message":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Authentication required.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Insufficient scope or role.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Insufficient scope or role.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Record not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Record not found.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Conflicting request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Conflicting request.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Rate or quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Rate or quota exceeded.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Service or requested capability unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"SERVICE_UNAVAILABLE","message":"Service or requested capability unavailable.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Resolves merge aliases to canonical IDs; redirected_from identifies an alias when present. Missing/tombstoned records return 404. Example is fictional and never production data."}},"/v1/locations/search":{"get":{"operationId":"search_locations","summary":"Search locations","security":[{},{"developerKey":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":200},"example":"London"},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["country","region","locality","postcode","street","address"],"default":"locality"},"example":"locality","description":"Retained country, region and locality data are supported. Postcode, street and address types return CAPABILITY_UNAVAILABLE (503) until an approved dataset/provider is configured."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":50,"default":20},"example":20}],"responses":{"200":{"description":"Success. Empty data never asserts real-world absence.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationsResponse"},"example":{"data":[],"meta":{"request_id":"req_example","next_cursor":null,"coverage_status":"not_loaded","dataset_revision":null,"attributions":[]}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"BBOX_TOO_LARGE","message":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Authentication required.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Insufficient scope or role.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Insufficient scope or role.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Record not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Record not found.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Conflicting request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Conflicting request.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Rate or quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Rate or quota exceeded.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Service or requested capability unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"SERVICE_UNAVAILABLE","message":"Service or requested capability unavailable.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}}}}},"/v1/locations/reverse":{"get":{"operationId":"reverse_location","summary":"Reverse location","security":[{},{"developerKey":[]}],"parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","minimum":-90,"maximum":90},"example":51.5074},{"name":"lon","in":"query","required":true,"schema":{"type":"number","minimum":-180,"maximum":180},"example":-0.1278},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["country","region","locality","postcode","street","address"],"default":"locality"},"example":"locality","description":"Retained country, region and locality data are supported. Postcode, street and address types return CAPABILITY_UNAVAILABLE (503) until an approved dataset/provider is configured."}],"responses":{"200":{"description":"Success. Empty data never asserts real-world absence.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationsResponse"},"example":{"data":[],"meta":{"request_id":"req_example","next_cursor":null,"coverage_status":"not_loaded","dataset_revision":null,"attributions":[]}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"BBOX_TOO_LARGE","message":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Authentication required.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Insufficient scope or role.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Insufficient scope or role.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Record not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Record not found.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Conflicting request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Conflicting request.","request_id":"req_example"}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Rate or quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Rate or quota exceeded.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Service or requested capability unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"SERVICE_UNAVAILABLE","message":"Service or requested capability unavailable.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Nearest locality only, not address or administrative containment. No false rooftop precision."}},"/health/live":{"get":{"operationId":"process_liveness","summary":"Process liveness","security":[],"parameters":[],"responses":{"200":{"description":"Success. Empty data never asserts real-world absence.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthLive"},"example":{"status":"ok"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"BBOX_TOO_LARGE","message":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","request_id":"req_example"}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Authentication required.","request_id":"req_example"}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Insufficient scope or role.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Insufficient scope or role.","request_id":"req_example"}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Record not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Record not found.","request_id":"req_example"}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Conflicting request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Conflicting request.","request_id":"req_example"}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Rate or quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Rate or quota exceeded.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Service or requested capability unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"SERVICE_UNAVAILABLE","message":"Service or requested capability unavailable.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}}}},"/health/ready":{"get":{"operationId":"database_readiness","summary":"Database readiness","security":[],"parameters":[],"responses":{"200":{"description":"Success. Empty data never asserts real-world absence.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthReady"},"example":{"status":"ok","database":"ready","providers":{"address":"unavailable"}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"BBOX_TOO_LARGE","message":"Invalid parameters; BBOX_TOO_LARGE when spherical bbox area exceeds 10000 square kilometres.","request_id":"req_example"}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Authentication required.","request_id":"req_example"}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Insufficient scope or role.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Insufficient scope or role.","request_id":"req_example"}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Record not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Record not found.","request_id":"req_example"}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Conflicting request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Conflicting request.","request_id":"req_example"}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Rate or quota exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Rate or quota exceeded.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Service or requested capability unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"SERVICE_UNAVAILABLE","message":"Service or requested capability unavailable.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}}}},"/v1/developer/usage":{"get":{"operationId":"GetDeveloperUsage","summary":" Get Developer Usage","description":"Invite-only developer beta. No paid plans, subscriptions or automatic overage.","security":[{"session":[]},{"developerKey":[]}],"parameters":[{"in":"query","name":"project_id","schema":{"type":"string","maxLength":100}},{"in":"query","name":"key_id","schema":{"type":"string","maxLength":100}},{"in":"query","name":"from","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"to","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/DeveloperUsage"}},"required":["data"]}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-Quota-Day-Limit":{"$ref":"#/components/headers/X-Quota-Day-Limit"},"X-Quota-Day-Remaining":{"$ref":"#/components/headers/X-Quota-Day-Remaining"},"X-Quota-Day-Reset":{"$ref":"#/components/headers/X-Quota-Day-Reset"},"X-Quota-Month-Limit":{"$ref":"#/components/headers/X-Quota-Month-Limit"},"X-Quota-Month-Remaining":{"$ref":"#/components/headers/X-Quota-Month-Remaining"},"X-Quota-Month-Reset":{"$ref":"#/components/headers/X-Quota-Month-Reset"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented"}},"/v1/me":{"get":{"operationId":"me","summary":"Deferred authenticated read surface","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API.","x-milestone-status":"implemented","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}}},"delete":{"operationId":"delete_me","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"password":{"type":"string","minLength":12,"maxLength":128}},"required":[]}}}},"description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/lists":{"get":{"operationId":"lists","summary":"Deferred authenticated read surface","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API.","x-milestone-status":"implemented","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedLists"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}}},"post":{"operationId":"create_list","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":100}},"required":["name"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedListResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/lists/{id}":{"get":{"operationId":"get_list","summary":"Deferred authenticated read surface","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API.","x-milestone-status":"implemented","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedListDetail"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}]},"patch":{"operationId":"rename_list","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":100}},"required":["name"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedListResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."},"delete":{"operationId":"delete_list","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/contributions":{"get":{"operationId":"Listowncontributions","summary":"List own contributions","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API.","x-milestone-status":"implemented","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityContributionsResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[]},"post":{"summary":"Submit contribution","operationId":"Submitcontribution","security":[{"session":[]},{"appToken":["account"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunitySubmission"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityContributionResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"DUPLICATE_PLACE. No contribution accepted; review the bounded likely matches and confirm/correct an existing place, or resubmit with allow_duplicate true.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/admin/users":{"get":{"operationId":"Administrativeusers","summary":"Administrative users","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API.","x-milestone-status":"implemented","security":[{"session":[]},{"appToken":["account"]}],"parameters":[{"in":"query","name":"q","required":false,"description":"Matches email or handle (case-insensitive substring) or an exact account ID.","schema":{"type":"string","minLength":1,"maxLength":254}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityAdminResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}}}},"/admin/moderation":{"get":{"operationId":"Administrativemoderation","summary":"Administrative moderation","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API.","x-milestone-status":"implemented","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityAdminResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[]}},"/admin/imports":{"get":{"operationId":"Administrativeimports","summary":"Administrative imports","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API.","x-milestone-status":"implemented","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityAdminResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[]}},"/admin/coverage":{"get":{"operationId":"Administrativecoverage","summary":"Administrative coverage","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API.","x-milestone-status":"implemented","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityAdminResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[]}},"/admin/sources":{"get":{"operationId":"deferred__admin_sources","summary":"Deferred authenticated read surface","description":"Contract-only reservation; not implemented in Milestone 1. Requires first-party user session; developer keys cannot access private records. Administrator role required.","x-milestone-status":"deferred","security":[{"session":[]},{"appToken":["account"]}],"responses":{"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Authentication required.","request_id":"req_example"}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Insufficient scope or role.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Insufficient scope or role.","request_id":"req_example"}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Service or requested capability unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"SERVICE_UNAVAILABLE","message":"Service or requested capability unavailable.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}}}},"/admin/developer-invites":{"get":{"operationId":"deferred__admin_developer-invites","summary":"Deferred authenticated read surface","description":"Contract-only reservation; not implemented in Milestone 1. Requires first-party user session; developer keys cannot access private records. Administrator role required.","x-milestone-status":"deferred","security":[{"session":[]},{"appToken":["account"]}],"responses":{"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Authentication required.","request_id":"req_example"}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Insufficient scope or role.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Insufficient scope or role.","request_id":"req_example"}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Service or requested capability unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"SERVICE_UNAVAILABLE","message":"Service or requested capability unavailable.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}}}},"/admin/usage":{"get":{"operationId":"deferred__admin_usage","summary":"Deferred authenticated read surface","description":"Contract-only reservation; not implemented in Milestone 1. Requires first-party user session; developer keys cannot access private records. Administrator role required.","x-milestone-status":"deferred","security":[{"session":[]},{"appToken":["account"]}],"responses":{"401":{"description":"Authentication required.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Authentication required.","request_id":"req_example"}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Insufficient scope or role.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"REQUEST_REJECTED","message":"Insufficient scope or role.","request_id":"req_example"}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Service or requested capability unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"SERVICE_UNAVAILABLE","message":"Service or requested capability unavailable.","request_id":"req_example","retry_after_seconds":60}}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}}}},"/v1/auth/google/start":{"get":{"operationId":"google_start","summary":"Deferred Google sign-in initiation","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API.","x-milestone-status":"implemented","security":[],"responses":{"302":{"description":"Google authorization redirect","headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"link","in":"query","schema":{"type":"string","enum":["true","false"]}}]}},"/v1/auth/csrf":{"get":{"operationId":"auth_csrf","security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthCsrf"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/auth/capabilities":{"get":{"operationId":"auth_capabilities","security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthCapabilities"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/auth/register":{"post":{"operationId":"register","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"email":{"type":"string","format":"email","maxLength":254},"password":{"type":"string","minLength":12,"maxLength":128,"deprecated":true,"description":"Deprecated and ignored. Choose a password when completing registration from the emailed link."}},"required":["email"]}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/auth/verify-email":{"post":{"operationId":"verify_email","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"token":{"type":"string","minLength":1,"maxLength":200},"password":{"type":"string","minLength":12,"maxLength":128}},"required":["token","password"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/auth/forgot-password":{"post":{"operationId":"forgot_password","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"email":{"type":"string","format":"email","maxLength":254}},"required":["email"]}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/auth/reset-password":{"post":{"operationId":"reset_password","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"token":{"type":"string","minLength":1,"maxLength":200},"password":{"type":"string","minLength":12,"maxLength":128}},"required":["token","password"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/auth/logout":{"post":{"operationId":"logout","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/lists/{id}/items":{"post":{"operationId":"save_place","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"place_id":{"type":"string","minLength":1,"maxLength":200}},"required":["place_id"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/lists/{id}/items/{placeId}":{"delete":{"operationId":"remove_saved_place","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"placeId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/auth/google/callback":{"get":{"operationId":"google_callback","parameters":[{"name":"code","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048}},{"name":"state","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048}},{"name":"error","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048}},{"name":"error_description","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048}},{"name":"scope","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048}},{"name":"authuser","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048}},{"name":"prompt","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048}},{"name":"iss","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048}},{"name":"hd","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048}},{"name":"session_state","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048}}],"responses":{"302":{"description":"Fixed saved page redirect","headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/photos/upload":{"post":{"summary":"Upload quarantined photo","operationId":"Uploadquarantinedphoto","security":[{"session":[]},{"appToken":["account"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityUpload"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityPhotoResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/photos/{id}":{"get":{"summary":"Own photo metadata","operationId":"Ownphotometadata","security":[{"session":[]},{"appToken":["account"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityPhotoResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."},"delete":{"summary":"Delete own photo","operationId":"Deleteownphoto","security":[{"session":[]},{"appToken":["account"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityOk"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/places/{id}/photos":{"get":{"summary":"Approved place photos","operationId":"Approvedplacephotos","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityPhotosResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/admin/contributions/{id}/moderate":{"post":{"summary":"Moderate contribution","operationId":"Moderatecontribution","security":[{"session":[]},{"appToken":["account"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityModeration"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityContributionResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/admin/photos/{id}/moderate":{"post":{"summary":"Moderate photo","operationId":"Moderatephoto","security":[{"session":[]},{"appToken":["account"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityModeration"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityPhotoResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/admin/users/{id}/role":{"post":{"summary":"Change explicit user role","operationId":"Changeexplicituserrole","security":[{"session":[]},{"appToken":["account"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityRoleChange"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityOk"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/admin/contributions":{"get":{"summary":"Administrative contributions","operationId":"Administrativecontributions","security":[{"session":[]},{"appToken":["account"]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityAdminResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/admin/source-health":{"get":{"summary":"Administrative source-health","operationId":"Administrativesourcehealth","security":[{"session":[]},{"appToken":["account"]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityAdminResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/admin/reports":{"get":{"summary":"Administrative reports","operationId":"Administrativereports","security":[{"session":[]},{"appToken":["account"]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityAdminResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/photos/{id}/content":{"get":{"summary":"Photo content","operationId":"Photocontent","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"in":"query","name":"variant","required":false,"schema":{"type":"string","enum":["display","thumbnail"]}}],"responses":{"200":{"description":"Decoded, metadata-free WebP","content":{"image/webp":{"schema":{"type":"string","format":"binary"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/photos/{id}/preview":{"get":{"summary":"Photo preview","operationId":"Photopreview","security":[{"session":[]},{"appToken":["account"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"responses":{"200":{"description":"Decoded, metadata-free WebP","content":{"image/webp":{"schema":{"type":"string","format":"binary"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/auth/mfa/setup":{"post":{"operationId":"mfa_setup","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MfaSetup"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/auth/mfa/verify":{"post":{"operationId":"mfa_verify","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string","pattern":"^[0-9]{6}$"}},"required":["code"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/photos":{"get":{"summary":"Own uploaded photos","operationId":"Ownuploadedphotos","security":[{"session":[]},{"appToken":["account"]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityPhotosResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented","description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API."}},"/v1/developer/invite-requests":{"post":{"operationId":"RequestDeveloperInvite","summary":" Request Developer Invite","description":"Invite-only developer beta. No paid plans, subscriptions or automatic overage.","security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperInviteRequest"}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/DeveloperMessage"}},"required":["data"]}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented"}},"/v1/developer/invites/accept":{"post":{"operationId":"AcceptDeveloperInvite","summary":" Accept Developer Invite","description":"Invite-only developer beta. No paid plans, subscriptions or automatic overage.","security":[{"session":[]},{"appToken":["account"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperInviteAccept"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/DeveloperAccount"}},"required":["data"]}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented"}},"/v1/developer/account":{"get":{"operationId":"GetDeveloperAccount","summary":" Get Developer Account","description":"Invite-only developer beta. No paid plans, subscriptions or automatic overage.","security":[{"session":[]},{"appToken":["account"]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/DeveloperAccount"}},"required":["data"]}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented"}},"/v1/developer/projects":{"get":{"operationId":"ListDeveloperProjects","summary":" List Developer Projects","description":"Invite-only developer beta. No paid plans, subscriptions or automatic overage.","security":[{"session":[]},{"appToken":["account"]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DeveloperProject"}}},"required":["data"]}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented"},"post":{"operationId":"CreateDeveloperProject","summary":" Create Developer Project","description":"Invite-only developer beta. No paid plans, subscriptions or automatic overage.","security":[{"session":[]},{"appToken":["account"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperProjectInput"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/DeveloperProject"}},"required":["data"]}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented"}},"/v1/developer/projects/{id}/keys":{"get":{"operationId":"ListDeveloperKeys","summary":" List Developer Keys","description":"Invite-only developer beta. No paid plans, subscriptions or automatic overage.","security":[{"session":[]},{"appToken":["account"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DeveloperKey"}}},"required":["data"]}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented"},"post":{"operationId":"CreateDeveloperKey","summary":" Create Developer Key","description":"Invite-only developer beta. No paid plans, subscriptions or automatic overage.","security":[{"session":[]},{"appToken":["account"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperKeyInput"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/DeveloperKeyCreated"}},"required":["data"]}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented"}},"/v1/developer/projects/{id}/keys/{keyId}":{"delete":{"operationId":"RevokeDeveloperKey","summary":" Revoke Developer Key","description":"Invite-only developer beta. No paid plans, subscriptions or automatic overage.","security":[{"session":[]},{"appToken":["account"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"}},{"in":"path","name":"keyId","required":true,"schema":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-zA-Z0-9_-]+$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/DeveloperMessage"}},"required":["data"]}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented"}},"/admin/developer/invite-requests":{"get":{"operationId":"ModerateDeveloperInviteRequests","summary":" Moderate Developer Invite Requests","description":"Invite-only developer beta. No paid plans, subscriptions or automatic overage.","security":[{"session":[]},{"appToken":["account"]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DeveloperInviteQueue"}}},"required":["data"]}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Stable error envelope; see developer documentation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"x-milestone-status":"implemented"}},"/v1/openapi.json":{"get":{"operationId":"GetOpenAPI","summary":"OpenAPI 3.1 contract","security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}}}},"/v1/licenses/{id}":{"get":{"operationId":"GetSourceLicense","summary":"Source licence and notice text","security":[],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-zA-Z0-9_.-]+$"}}],"responses":{"200":{"description":"Licence text","content":{"text/plain":{"schema":{"type":"string"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}}}},"/v1/community/signals":{"get":{"summary":"Current measured community reports; expires strictly at per-type freshness boundary. Exact place or coordinate pair required.","operationId":"CurrentmeasuredcommunityreportsexpiresstrictlyatpertypefreshnessboundaryExactplaceorcoordinatepairrequired","parameters":[{"in":"query","name":"place_id","schema":{"type":"string","minLength":1,"maxLength":200}},{"in":"query","name":"lat","schema":{"type":"number","minimum":-90,"maximum":90}},{"in":"query","name":"lon","schema":{"type":"number","minimum":-180,"maximum":180}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunitySignalsResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"BadRequest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"NotFound","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Photo exceeds 10 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"TooManyRequests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Measured community evidence; server-enforced freshness and attribution.","x-milestone-status":"implemented"}},"/v1/me/avatar":{"get":{"summary":"Read your profile picture","operationId":"avatar","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Decoded, metadata-free WebP","content":{"image/webp":{"schema":{"type":"string","format":"binary"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"variant","in":"query","required":false,"schema":{"type":"string","enum":["display","thumbnail"]}},{"name":"v","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":100}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"},"post":{"summary":"Upload and crop a profile picture","operationId":"upload_avatar","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"content_base64":{"type":"string"},"content_type":{"type":"string","minLength":1,"maxLength":100},"crop":{"type":"object","additionalProperties":false,"properties":{"x":{"type":"integer","minimum":0,"maximum":100000},"y":{"type":"integer","minimum":0,"maximum":100000},"size":{"type":"integer","minimum":64,"maximum":100000}},"required":["x","y","size"]}},"required":["content_base64","content_type","crop"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Profile"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"413":{"description":"Profile picture exceeds 5 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"415":{"description":"Unsupported image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"},"delete":{"summary":"Remove your profile picture","operationId":"delete_avatar","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Profile"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/password":{"post":{"summary":"Change your password","operationId":"change_password","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"current_password":{"type":"string","minLength":1,"maxLength":128},"new_password":{"type":"string","minLength":12,"maxLength":128}},"required":["current_password","new_password"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/sessions":{"get":{"summary":"List your signed-in sessions","operationId":"sessions","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionList"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/sessions/{id}":{"delete":{"summary":"Sign out one of your other sessions","operationId":"revoke_session","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/sessions/revoke-others":{"post":{"summary":"Sign out every session except this one","operationId":"revoke_other_sessions","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/security-events":{"get":{"summary":"Recent security changes to your account","operationId":"security_events","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecurityEvents"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/auth/login":{"post":{"operationId":"login","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"email":{"type":"string","format":"email","maxLength":254},"password":{"type":"string","minLength":12,"maxLength":128}},"required":["email","password"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResult"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API.","x-milestone-status":"implemented"}},"/v1/auth/mfa/pending":{"get":{"summary":"Whether a sign-in is waiting for a second factor","operationId":"mfa_pending","security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MfaPending"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/auth/mfa/challenge":{"post":{"summary":"Finish signing in with an authenticator or recovery code","operationId":"mfa_challenge","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string","pattern":"^[0-9]{6}$"},"recovery_code":{"type":"string","minLength":1,"maxLength":40},"remember":{"type":"boolean"}},"required":[]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/auth/mfa/disable":{"post":{"summary":"Turn off two-factor authentication","operationId":"mfa_disable","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string","pattern":"^[0-9]{6}$"},"recovery_code":{"type":"string","minLength":1,"maxLength":40},"password":{"type":"string","minLength":1,"maxLength":128}},"required":[]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/two-factor":{"get":{"summary":"Your two-factor status","operationId":"two_factor","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TwoFactorStatus"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/trusted-devices":{"get":{"summary":"Devices that skip the two-factor prompt","operationId":"trusted_devices","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustedDeviceList"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/trusted-devices/{id}":{"delete":{"summary":"Forget one remembered device","operationId":"forget_trusted_device","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/trusted-devices/revoke-all":{"post":{"summary":"Forget every remembered device","operationId":"forget_all_trusted_devices","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/auth/mfa/enable":{"post":{"operationId":"mfa_enable","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string","pattern":"^[0-9]{6}$"}},"required":["code"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactorAdded"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Implemented Milestone 4 capability. Authorization and ownership are enforced by the API.","x-milestone-status":"implemented"}},"/v1/auth/mfa/recovery-codes":{"post":{"summary":"Replace your recovery codes","operationId":"mfa_recovery_codes","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string","pattern":"^[0-9]{6}$"}},"required":[]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecoveryCodes"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/passkeys":{"get":{"summary":"Your passkeys","operationId":"passkeys","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyList"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"},"post":{"summary":"Register a passkey from a WebAuthn registration response","operationId":"add_passkey","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"response":{"type":"object","additionalProperties":true},"name":{"type":"string","minLength":1,"maxLength":60}},"required":["response"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyAdded"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/passkeys/options":{"post":{"summary":"WebAuthn options for adding a passkey","operationId":"passkey_registration_options","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebAuthnOptions"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/passkeys/{id}":{"patch":{"summary":"Rename a passkey","operationId":"rename_passkey","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":60}},"required":["name"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasskeyResponse"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"},"delete":{"summary":"Remove a passkey","operationId":"remove_passkey","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/auth/passkey/options":{"post":{"summary":"WebAuthn options to sign in, finish two-factor, or verify with a passkey","operationId":"passkey_options","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"purpose":{"type":"string","enum":["sign-in","second-factor","verify"]}},"required":["purpose"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebAuthnOptions"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/auth/passkey/verify":{"post":{"summary":"Verify a passkey assertion","operationId":"passkey_verify","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"purpose":{"type":"string","enum":["sign-in","second-factor","verify"]},"response":{"type":"object","additionalProperties":true},"remember":{"type":"boolean"}},"required":["purpose","response"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/email":{"post":{"summary":"Start changing your email (confirmed by link to the new address)","operationId":"change_email","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"email":{"type":"string","format":"email","maxLength":254},"password":{"type":"string","minLength":1,"maxLength":128}},"required":["email"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/email/pending":{"delete":{"summary":"Cancel a pending email change","operationId":"cancel_email_change","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/auth/confirm-email":{"post":{"summary":"Confirm a new email address","operationId":"confirm_email","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"token":{"type":"string","minLength":1,"maxLength":200}},"required":["token"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/auth/revert-email":{"post":{"summary":"Undo an email change from the previous address (signs everyone out)","operationId":"revert_email","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"token":{"type":"string","minLength":1,"maxLength":200}},"required":["token"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/auth/mfa/reset-request":{"post":{"summary":"Lost every two-factor method: email a link to start the 24-hour reset","operationId":"mfa_reset_request","security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/auth/mfa/reset-confirm":{"post":{"summary":"Confirm a two-factor reset","operationId":"mfa_reset_confirm","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"token":{"type":"string","minLength":1,"maxLength":200}},"required":["token"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetScheduled"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/two-factor/reset":{"delete":{"summary":"Cancel a pending two-factor reset","operationId":"cancel_mfa_reset","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/preferences":{"get":{"summary":"Your synced preferences","operationId":"preferences","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preferences"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"},"patch":{"summary":"Update synced preferences","operationId":"update_preferences","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"theme":{"type":"string","enum":["system","light","dark"]},"units":{"type":"string","enum":["metric","imperial"]},"radius":{"type":"integer","minimum":100,"maximum":50000}},"required":[]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preferences"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/sign-in-methods":{"get":{"summary":"How you can sign in","operationId":"sign_in_methods","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInMethods"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/password/set":{"post":{"summary":"Add a password to an account that has none","operationId":"set_password","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"new_password":{"type":"string","minLength":12,"maxLength":128}},"required":["new_password"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/identities/google/unlink":{"post":{"summary":"Disconnect Google sign-in","operationId":"unlink_google","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"password":{"type":"string","minLength":1,"maxLength":128}},"required":[]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/export":{"post":{"summary":"Download everything stored about you (no secrets)","operationId":"export_account","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"password":{"type":"string","minLength":1,"maxLength":128}},"required":[]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountExport"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/auth/recent":{"get":{"summary":"Whether this session signed in or confirmed in the last ten minutes","operationId":"recent_sign_in","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/auth/reauthenticate":{"post":{"summary":"Confirm it's you with your password before a sensitive change","operationId":"reauthenticate","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"password":{"type":"string","minLength":1,"maxLength":128}},"required":["password"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/users/{handle}":{"get":{"summary":"A public profile; private and missing profiles are both 404","operationId":"public_profile","security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicProfile"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"handle","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/users/{handle}/photos":{"get":{"summary":"Approved photos by a public profile, newest first","operationId":"public_profile_photos","security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPhotos"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"handle","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/users/{handle}/avatar/report":{"post":{"summary":"Report a public profile picture to the moderators","operationId":"report_avatar","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"avatar_id":{"type":"string","minLength":1,"maxLength":100},"reason":{"type":"string","enum":["offensive","impersonation","personal-information","spam","other"]},"details":{"type":"string","maxLength":500}},"required":["avatar_id","reason"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"handle","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/avatars/{id}":{"get":{"summary":"A public profile picture","operationId":"public_avatar","security":[],"responses":{"200":{"description":"Decoded, metadata-free WebP","content":{"image/webp":{"schema":{"type":"string","format":"binary"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/places/{id}/contributors":{"get":{"summary":"Public contributors whose corrections or suggestions were approved for a place","operationId":"place_contributors","security":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaceContributors"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/admin/avatars/{id}/preview":{"get":{"summary":"A reported profile picture","operationId":"admin_avatar_preview","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Decoded, metadata-free WebP","content":{"image/webp":{"schema":{"type":"string","format":"binary"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/admin/avatars/{id}/moderate":{"post":{"summary":"Remove a reported profile picture or keep it visible","operationId":"moderate_avatar","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"action":{"type":"string","enum":["remove","keep"]},"reason":{"type":"string","minLength":1,"maxLength":2000}},"required":["action","reason"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/me/profile":{"get":{"summary":"Read your profile settings","operationId":"profile","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Profile"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"},"patch":{"summary":"Set, change or clear your handle","operationId":"update_profile","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"handle":{"anyOf":[{"type":"string","minLength":1,"maxLength":40},{"type":"null"}]},"public_profile":{"type":"boolean"}},"required":[]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Profile"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/v1/auth/app-authorization/{uid}":{"get":{"summary":"A pending app sign-in waiting for this browser's approval","operationId":"app_authorization","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppAuthorization"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"},"post":{"summary":"Approve or cancel an app sign-in; returns where the browser continues","operationId":"approve_app_authorization","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"decision":{"type":"string","enum":["allow","deny"]},"password":{"type":"string","minLength":1,"maxLength":128}},"required":["decision"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppAuthorizationResult"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/admin/users/{id}/suspend":{"post":{"summary":"Suspend an account and sign it out everywhere","operationId":"admin_suspend_user","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"reason":{"type":"string","minLength":1,"maxLength":2000}},"required":["reason"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/admin/users/{id}/reactivate":{"post":{"summary":"Reactivate a suspended account","operationId":"admin_reactivate_user","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"reason":{"type":"string","minLength":1,"maxLength":2000}},"required":["reason"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/admin/users/{id}/two-factor-reset":{"post":{"summary":"Schedule removal of every two-factor method after 24 hours","operationId":"admin_reset_two_factor","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"reason":{"type":"string","minLength":1,"maxLength":2000}},"required":["reason"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/admin/users/{id}/delete":{"post":{"summary":"Permanently delete an account; confirm with its email address","operationId":"admin_delete_user","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"reason":{"type":"string","minLength":1,"maxLength":2000},"confirm":{"type":"string","format":"email","maxLength":254}},"required":["reason","confirm"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/admin/developer/projects/{id}/suspend":{"post":{"summary":"Suspend a developer project so its keys stop authorizing requests","operationId":"admin_suspend_developer_project","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"reason":{"type":"string","minLength":1,"maxLength":2000}},"required":["reason"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Sets the project status to revoked. Does not change limits and does not create a charge. There is no admin screen for this action.","x-milestone-status":"implemented"}},"/admin/developer/invite-requests/{id}/approve":{"post":{"summary":"Issue and email a standard developer beta invitation","operationId":"admin_approve_invite_request","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/admin/developer/invite-requests/{id}/decline":{"post":{"summary":"Decline a developer beta request","operationId":"admin_decline_invite_request","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"reason":{"type":"string","minLength":1,"maxLength":2000}},"required":["reason"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/admin/subjects/removed":{"get":{"summary":"Content staff removed, newest first; moderators and admins","operationId":"admin_removed_content","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemovedContentList"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["place"]}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/admin/subjects/pending":{"get":{"summary":"Read an interrupted staff change for explicit authenticated retry","operationId":"admin_subject_pending","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PendingSubjectMutation"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"description":"Staff-only. Returns the original bounded request for an interrupted change, or null. Permanent-deletion requests are visible only to administrators. Retry uses the original endpoint, which rechecks authorization and fresh MFA.","x-milestone-status":"implemented"}},"/admin/subjects/{type}/{id}":{"get":{"summary":"Staff view of content in any visibility, with its editable fields","operationId":"admin_subject","security":[{"session":[]},{"appToken":["account"]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubjectDetail"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"type","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"},"patch":{"summary":"Edit content directly; moderators and admins","operationId":"admin_edit_subject","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"changes":{"type":"object","minProperties":1,"maxProperties":20,"additionalProperties":true},"reason":{"type":"string","minLength":1,"maxLength":2000}},"required":["changes","reason"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"type","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"X-Staff-Operation-Id","in":"header","required":false,"description":"For explicit recovery only: require this exact interrupted operation. A completed, absent or different operation is rejected instead of starting a new action.","schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/admin/subjects/{type}/{id}/remove":{"post":{"summary":"Hide content from everyone but staff; moderators and admins","operationId":"admin_remove_subject","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"reason":{"type":"string","minLength":1,"maxLength":2000}},"required":["reason"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"type","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"X-Staff-Operation-Id","in":"header","required":false,"description":"For explicit recovery only: require this exact interrupted operation. A completed, absent or different operation is rejected instead of starting a new action.","schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/admin/subjects/{type}/{id}/restore":{"post":{"summary":"Restore removed content; moderators and admins","operationId":"admin_restore_subject","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"reason":{"type":"string","minLength":1,"maxLength":2000}},"required":["reason"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"type","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"X-Staff-Operation-Id","in":"header","required":false,"description":"For explicit recovery only: require this exact interrupted operation. A completed, absent or different operation is rejected instead of starting a new action.","schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}},"/admin/subjects/{type}/{id}/purge":{"post":{"summary":"Permanently delete content; admins only, confirm with its name","operationId":"admin_purge_subject","security":[{"session":[]},{"appToken":["account"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"reason":{"type":"string","minLength":1,"maxLength":2000},"confirm":{"type":"string","minLength":1,"maxLength":500}},"required":["reason","confirm"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMessage"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"400":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"401":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"403":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"404":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"409":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"429":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}},"503":{"description":"Request rejected; see error code.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Link":{"$ref":"#/components/headers/Link"}}}},"parameters":[{"name":"type","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"X-Staff-Operation-Id","in":"header","required":false,"description":"For explicit recovery only: require this exact interrupted operation. A completed, absent or different operation is rejected instead of starting a new action.","schema":{"type":"string","minLength":1,"maxLength":200}}],"description":"Account settings. The API enforces session ownership.","x-milestone-status":"implemented"}}},"components":{"securitySchemes":{"developerKey":{"type":"http","scheme":"bearer","bearerFormat":"nr_ + 256-bit base64url secret","description":"Invite-only key. Discovery and usage read scopes only; never consumer private data."},"session":{"type":"apiKey","in":"cookie","name":"__Host-nearest_session","description":"First-party session; ownership checks and admin roles where applicable. Plain-HTTP development uses `nearest_session`; over HTTPS that legacy name is never accepted."},"appToken":{"type":"oauth2","description":"First-party native app sign-in (authorization code with PKCE, public client `nearest-android`). Sign-in happens on the Nearest website; access tokens last 15 minutes and refresh tokens rotate on every use. Accepted wherever a session is.","flows":{"authorizationCode":{"authorizationUrl":"https://api.neare.st/oidc/auth","tokenUrl":"https://api.neare.st/oidc/token","refreshUrl":"https://api.neare.st/oidc/token","scopes":{"account":"Act as the signed-in user, including account settings and administration."}}}}},"schemas":{"PendingSubjectMutation":{"type":"object","additionalProperties":false,"properties":{"data":{"anyOf":[{"type":"object","additionalProperties":false,"properties":{"operation_id":{"type":"string","minLength":1,"maxLength":200},"action":{"type":"string","enum":["edit","remove","restore","purge"]},"state":{"type":"string","enum":["interrupted"]},"method":{"type":"string","enum":["PATCH","POST"]},"path":{"type":"string","minLength":1,"maxLength":1000},"body":{"type":"object","additionalProperties":false,"properties":{"reason":{"type":"string","minLength":1,"maxLength":2000},"confirm":{"type":"string","minLength":1,"maxLength":500},"changes":{"type":"object","additionalProperties":true}},"required":["reason"]},"actor_id":{"type":"string","minLength":1,"maxLength":200},"label":{"type":"string","minLength":1,"maxLength":500}},"required":["operation_id","action","state","method","path","body","actor_id","label"]},{"type":"null"}]}},"required":["data"]},"SubjectDetail":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"subject_type":{"type":"string","enum":["place"]},"id":{"type":"string","minLength":1,"maxLength":200},"label":{"type":"string","minLength":1,"maxLength":500},"visible":{"type":"boolean"},"removal":{"anyOf":[{"$ref":"#/components/schemas/RemovedContent"},{"type":"null"}]},"editable_fields":{"type":"array","maxItems":50,"items":{"type":"string","minLength":1,"maxLength":50}},"fields":{"type":"object","additionalProperties":true}},"required":["subject_type","id","label","visible","removal","editable_fields","fields"]}},"required":["data"]},"RemovedContent":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","minLength":1,"maxLength":200},"subject_type":{"type":"string","enum":["place"]},"subject_id":{"type":"string","minLength":1,"maxLength":200},"label":{"type":"string","minLength":1,"maxLength":500},"state":{"type":"string","enum":["removed","purging"]},"reason":{"type":"string","minLength":1,"maxLength":2000},"removed_by":{"type":["string","null"]},"removed_at":{"type":["string","null"],"format":"date-time"}},"required":["id","subject_type","subject_id","label","state","reason","removed_by","removed_at"]},"RemovedContentList":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","maxItems":100,"items":{"$ref":"#/components/schemas/RemovedContent"}}},"required":["data"]},"SecurityEvents":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"action":{"type":"string","enum":["sign_in","account.password.change","account.password.set","account.email.change","account.email.revert","account.google.link","account.google.unlink","mfa.reset_scheduled","mfa.reset_cancelled","mfa.reset_completed","account.handle.change","account.avatar.change","account.avatar.remove","account.avatar.moderated","account.profile.visibility","account.app.sign_in","account.sessions.revoke","account.sessions.revoke_others","account.trusted_devices.forget","mfa.enable","mfa.disable","mfa.recovery_regenerate","mfa.recovery_used","mfa.authenticator.add","mfa.authenticator.remove","mfa.passkey.add","mfa.passkey.remove"]},"created_at":{"type":"string","format":"date-time"},"sign_in":{"type":"object","additionalProperties":false,"properties":{"method":{"type":"string","enum":["password","google","passkey"]},"second_factor":{"type":"string","enum":["none","authenticator","recovery_code","passkey","trusted_device"]},"device":{"type":"string","minLength":1,"maxLength":100}},"required":["method","second_factor","device"]}},"required":["action","created_at"]}}},"required":["data"]},"AppAuthorization":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"app":{"type":"string","minLength":1,"maxLength":100},"email":{"type":"string","format":"email"},"handle":{"type":["string","null"]},"expires_at":{"type":"string","format":"date-time"}},"required":["app","email","handle","expires_at"]}},"required":["data"]},"AppAuthorizationResult":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"redirect":{"type":"string","minLength":1,"maxLength":2000}},"required":["redirect"]}},"required":["data"]},"Profile":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"handle":{"type":["string","null"]},"handle_changeable_at":{"type":["string","null"],"format":"date-time"},"avatar":{"anyOf":[{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","minLength":1,"maxLength":300},"thumbnail_url":{"type":"string","minLength":1,"maxLength":300},"under_review":{"type":"boolean"}},"required":["url","thumbnail_url","under_review"]},{"type":"null"}]},"public_profile":{"type":"boolean"},"has_password":{"type":"boolean"},"email_pending":{"type":["string","null"]}},"required":["handle","handle_changeable_at","avatar","public_profile","has_password","email_pending"]}},"required":["data"]},"PublicAvatar":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","minLength":1,"maxLength":100},"url":{"type":"string","minLength":1,"maxLength":300},"thumbnail_url":{"type":"string","minLength":1,"maxLength":300}},"required":["id","url","thumbnail_url"]},"PublicContributor":{"type":"object","additionalProperties":false,"properties":{"handle":{"type":"string","minLength":1,"maxLength":40},"avatar":{"anyOf":[{"$ref":"#/components/schemas/PublicAvatar"},{"type":"null"}]}},"required":["handle","avatar"]},"PublicProfile":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"handle":{"type":"string","minLength":1,"maxLength":40},"avatar":{"anyOf":[{"$ref":"#/components/schemas/PublicAvatar"},{"type":"null"}]},"joined":{"type":["string","null"],"pattern":"^[0-9]{4}-[0-9]{2}$"},"contributions":{"type":"integer","minimum":0},"photos":{"type":"integer","minimum":0}},"required":["handle","avatar","joined","contributions","photos"]}},"required":["data"]},"PublicPhotos":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"items":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","minLength":1,"maxLength":200},"place_id":{"type":"string","minLength":1,"maxLength":200},"place_name":{"type":"string","minLength":1,"maxLength":500},"url":{"type":"string","minLength":1,"maxLength":300},"thumbnail_url":{"type":"string","minLength":1,"maxLength":300},"width":{"type":"integer"},"height":{"type":"integer"}},"required":["id","place_id","place_name","url","thumbnail_url","width","height"]}},"next":{"type":["string","null"]}},"required":["items","next"]}},"required":["data"]},"PlaceContributors":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"contributors":{"type":"array","items":{"$ref":"#/components/schemas/PublicContributor"}},"others":{"type":"integer","minimum":0}},"required":["contributors","others"]}},"required":["data"]},"MfaPending":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"pending":{"type":"boolean"},"method":{"enum":["password","google","passkey",null]},"authenticator":{"type":"boolean"},"passkey":{"type":"boolean"},"reset_at":{"type":["string","null"],"format":"date-time"}},"required":["pending","method","authenticator","passkey","reset_at"]}},"required":["data"]},"TwoFactorStatus":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"enabled":{"type":"boolean"},"required":{"type":"boolean"},"authenticator":{"type":"boolean"},"passkeys":{"type":"integer","minimum":0},"recovery_codes_remaining":{"type":"integer","minimum":0},"verified_recently":{"type":"boolean"},"reset_at":{"type":["string","null"],"format":"date-time"}},"required":["enabled","required","authenticator","passkeys","recovery_codes_remaining","verified_recently","reset_at"]}},"required":["data"]},"Preferences":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"theme":{"type":"string","enum":["system","light","dark"]},"units":{"type":"string","enum":["metric","imperial"]},"radius":{"type":"integer","minimum":100,"maximum":50000}},"required":["theme","units","radius"]}},"required":["data"]},"SignInMethods":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"password":{"type":"boolean"},"google":{"type":"object","additionalProperties":false,"properties":{"available":{"type":"boolean"},"linked":{"type":"boolean"}},"required":["available","linked"]},"passkeys":{"type":"integer","minimum":0}},"required":["password","google","passkeys"]}},"required":["data"]},"ResetScheduled":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"message":{"type":"string","minLength":1,"maxLength":500},"reset_at":{"type":"string","format":"date-time"}},"required":["message","reset_at"]}},"required":["data"]},"AccountExport":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"]},"FactorAdded":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"message":{"type":"string","minLength":1,"maxLength":500},"recovery_codes":{"anyOf":[{"type":"array","minItems":10,"maxItems":10,"items":{"type":"string","minLength":1,"maxLength":20}},{"type":"null"}]}},"required":["message","recovery_codes"]}},"required":["data"]},"Passkey":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":100},"backed_up":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"},"last_used_at":{"type":["string","null"],"format":"date-time"}},"required":["id","name","backed_up","created_at","last_used_at"]},"PasskeyList":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Passkey"}}},"required":["data"]},"PasskeyResponse":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/Passkey"}},"required":["data"]},"PasskeyAdded":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"message":{"type":"string","minLength":1,"maxLength":500},"passkey":{"$ref":"#/components/schemas/Passkey"},"recovery_codes":{"anyOf":[{"type":"array","minItems":10,"maxItems":10,"items":{"type":"string","minLength":1,"maxLength":20}},{"type":"null"}]}},"required":["message","passkey","recovery_codes"]}},"required":["data"]},"WebAuthnOptions":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":true}},"required":["data"]},"MfaSetup":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"secret":{"type":"string","minLength":1,"maxLength":200},"uri":{"type":"string","minLength":1,"maxLength":1000},"qr":{"type":"string","minLength":1,"maxLength":20000}},"required":["secret","uri","qr"]}},"required":["data"]},"LoginResult":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"message":{"type":"string","minLength":1,"maxLength":500},"mfa_required":{"type":"boolean"}},"required":["message","mfa_required"]}},"required":["data"]},"RecoveryCodes":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"message":{"type":"string","minLength":1,"maxLength":500},"recovery_codes":{"type":"array","minItems":10,"maxItems":10,"items":{"type":"string","minLength":1,"maxLength":20}}},"required":["message","recovery_codes"]}},"required":["data"]},"TrustedDeviceList":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","minLength":1,"maxLength":200},"device":{"type":"string","minLength":1,"maxLength":100},"created_at":{"type":"string","format":"date-time"},"last_used_at":{"type":"string","format":"date-time"},"current":{"type":"boolean"}},"required":["id","device","created_at","last_used_at","current"]}}},"required":["data"]},"SessionList":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","minLength":1,"maxLength":200},"device":{"type":"string","minLength":1,"maxLength":100},"created_at":{"type":["string","null"],"format":"date-time"},"last_seen_at":{"type":["string","null"],"format":"date-time"},"current":{"type":"boolean"}},"required":["id","device","created_at","last_seen_at","current"]}}},"required":["data"]},"CategoryId":{"type":"string","enum":["restaurants","cafes","groceries","pharmacies","atms","washrooms","parking","gas_stations","ev_charging","public_wifi","drinking_water","libraries","shops","attractions","parks","gyms","coworking","liquor_stores"]},"TriState":{"type":"string","enum":["yes","no","unknown"]},"Fee":{"type":"string","enum":["free","paid","conditional","unknown"]},"Point":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","enum":["Point"]},"coordinates":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"WGS84 [longitude, latitude], finite numbers within [-180,180] and [-90,90]."}},"required":["type","coordinates"]},"Attribution":{"type":"object","additionalProperties":false,"properties":{"source_id":{"type":"string"},"name":{"type":"string"},"license":{"type":"string"},"url":{"type":"string"},"notice":{"type":["string","null"]},"attribution_id":{"type":"string","description":"Immutable reviewed attribution reference for a generation."},"generation_id":{"type":"string"},"licence_url":{"type":"string","format":"uri","pattern":"^https?://"},"release_id":{"type":"string"},"notice_digest":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["source_id","name","license","url"]},"Category":{"type":"object","additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/CategoryId"},"label":{"type":"string"},"attributes":{"type":"array","items":{"type":"string"}}},"required":["id","label","attributes"]},"DuplicateCandidate":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"location":{"$ref":"#/components/schemas/Point"},"distance_m":{"type":"number","minimum":0,"maximum":50}},"required":["id","name","location","distance_m"]},"Error":{"type":"object","additionalProperties":false,"properties":{"error":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string"},"message":{"type":"string"},"candidates":{"type":"array","maxItems":5,"description":"Likely duplicate places within 50 metres; only present for DUPLICATE_PLACE.","items":{"$ref":"#/components/schemas/DuplicateCandidate"}},"request_id":{"type":"string"},"retry_after_seconds":{"type":"integer","minimum":0}},"required":["code","message","request_id"]}},"required":["error"]},"Meta":{"type":"object","additionalProperties":false,"properties":{"request_id":{"type":"string"},"next_cursor":{"type":"null","description":"Only bounded first-page discovery is implemented. No pagination is advertised."},"coverage_status":{"type":"string","enum":["unknown","partial","available","not_loaded"]},"dataset_revision":{"type":["string","null"]},"attributions":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"taxonomy_version":{"type":"string","description":"Stable taxonomy version; returned by categories."}},"required":["request_id","next_cursor","coverage_status","dataset_revision","attributions"]},"Coverage":{"type":"object","additionalProperties":false,"properties":{"area":{"type":"string"},"category":{"$ref":"#/components/schemas/CategoryId"},"source_id":{"type":"string"},"release":{"type":["string","null"]},"status":{"type":"string","enum":["pending","importing","available","partial","failed","not_loaded","unknown"]},"count":{"type":"integer","minimum":0},"limitations":{"type":"array","items":{"type":"string"}}},"required":["area","category","source_id","release","status","count","limitations"]},"Location":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"location":{"$ref":"#/components/schemas/Point"},"type":{"type":"string","enum":["country","region","locality","postcode","street","address","coordinate"]},"precision":{"type":"string"},"match_type":{"type":"string"},"country_code":{"type":["string","null"]},"region":{"type":["string","null"]},"source_ids":{"type":"array","items":{"type":"string"}},"limitations":{"type":"array","items":{"type":"string"}},"distance_m":{"type":["number","null"],"minimum":0}},"required":["id","name","location","type","precision","match_type","source_ids","limitations"]},"HealthLive":{"type":"object","additionalProperties":false,"properties":{"status":{"type":"string","enum":["ok"]}},"required":["status"]},"HealthReady":{"type":"object","additionalProperties":false,"properties":{"status":{"type":"string","enum":["ok"]},"database":{"type":"string","enum":["ready"]},"providers":{"type":"object","additionalProperties":false,"properties":{"address":{"type":"string","enum":["unavailable"]}},"required":["address"]}},"required":["status","database","providers"]},"Place":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"categories":{"type":"array","items":{"$ref":"#/components/schemas/CategoryId"}},"location":{"$ref":"#/components/schemas/Point"},"distance_m":{"type":["number","null"],"minimum":0},"distance_type":{"type":"string","enum":["straight_line"]},"opening_status":{"type":"string","enum":["open","closed","unknown"]},"access":{"type":"string","enum":["public","customers","private","unknown"]},"fee":{"$ref":"#/components/schemas/Fee"},"wheelchair":{"$ref":"#/components/schemas/TriState"},"timezone":{"type":["string","null"]},"address":{"type":["string","null"]},"description":{"description":"Place detail only; absent from lists and search results.","type":["string","null"],"maxLength":1000},"opening_hours":{"description":"Place detail only. Listed weekly hours keyed by weekday (0 = Sunday). An empty list means closed that day; a missing or null day is unknown. Null when hours are unknown or only available in a form that is not plain weekly hours. Listed hours are not live confirmation.","anyOf":[{"$ref":"#/components/schemas/WeeklyHours"},{"type":"null"}]},"phone":{"type":["string","null"]},"website":{"type":["string","null"]},"source_updated_at":{"type":["string","null"],"format":"date-time"},"imported_at":{"type":["string","null"],"format":"date-time"},"last_confirmed_at":{"type":"string","format":"date-time","description":"Submission time of the latest approved first-hand confirmation. Absent without a confirmation; never inferred from an import or approval time."},"freshness_label":{"type":"string","enum":["confirmed <1h","confirmed today","confirmed this week","not recently confirmed"],"description":"Age of last_confirmed_at using rolling durations of one hour, 24 hours and seven days. Absent for missing, invalid or future timestamps. Does not assert the place is open now."},"verified_at":{"type":["string","null"],"format":"date-time"},"source_ids":{"type":"array","items":{"type":"string"}},"attribution_ids":{"type":"array","description":"Generation-pinned attribution references for every contributing dependency.","items":{"type":"string"}},"modifications":{"type":"array","description":"Readable indications of changes to licensed source material.","items":{"type":"object","additionalProperties":false,"properties":{"operation":{"type":"string"},"text":{"type":"string"}},"required":["operation","text"]}},"database_licence":{"description":"Public database licence and access offer for a derived database.","anyOf":[{"type":"object","additionalProperties":false,"properties":{"scope_id":{"type":"string"},"licence_id":{"type":"string"},"licence_url":{"type":"string","format":"uri","pattern":"^https?://"},"release_url":{"type":"string","format":"uri","pattern":"^https?://"},"release_digest":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["scope_id","licence_id","licence_url","release_url","release_digest"]},{"type":"null"}]},"attributes":{"type":"object","additionalProperties":false,"properties":{"cuisine":{"type":["array","null"],"items":{"type":"string"}},"hours":{"type":["string","null"]},"dietary_options":{"type":["array","null"],"items":{"type":"string"}},"seating":{"$ref":"#/components/schemas/TriState"},"wifi":{"$ref":"#/components/schemas/TriState"},"store_type":{"type":["string","null"]},"contact":{"type":["string","null"]},"operator":{"type":["string","null"]},"access":{"type":"string","enum":["public","customers","private","unknown"]},"fees":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"baby_changing":{"$ref":"#/components/schemas/TriState"},"entrance":{"type":["string","null"]},"rates":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"vehicle_restrictions":{"type":["array","null"],"items":{"type":"string"}},"fuel_types":{"type":["array","null"],"items":{"type":"string"}},"connector_types":{"type":["array","null"],"items":{"type":"string"}},"power_kw":{"type":["number","null"],"minimum":0,"description":"Documented rated power in kilowatts; not live availability."},"access_terms":{"type":["string","null"]},"venue":{"type":["string","null"]},"provider":{"type":["string","null"]},"potability":{"$ref":"#/components/schemas/TriState"},"bottle_filling":{"$ref":"#/components/schemas/TriState"},"seasonal_availability":{"type":["string","null"]},"retail_subtype":{"type":["string","null"]},"attraction_type":{"type":["string","null"]},"admission":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"entrances":{"type":["array","null"],"items":{"type":"string"}},"membership":{"type":["string","null"]},"day_pass":{"type":["string","null"]},"access_conditions":{"type":["string","null"]},"booking_website":{"type":["string","null"],"format":"uri","pattern":"^https?://"}},"required":[]},"redirected_from":{"type":["string","null"]},"source_attributions":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"dataset":{"type":"string"},"license":{"type":"string"},"source_id":{"type":"string"},"attribution_id":{"type":"string"}},"required":["dataset","license"]}},"normalized_at":{"type":["string","null"],"format":"date-time"}},"required":["id","name","categories","location","opening_status","access","source_ids"]},"PlacesResponse":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Place"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"]},"HoursPeriod":{"type":"object","additionalProperties":false,"properties":{"start":{"type":"string","pattern":"^([01][0-9]|2[0-3]):[0-5][0-9]$"},"end":{"type":"string","pattern":"^(([01][0-9]|2[0-3]):[0-5][0-9]|24:00)$"}},"required":["start","end"]},"WeeklyHours":{"type":"object","additionalProperties":false,"patternProperties":{"^[0-6]$":{"type":["array","null"],"maxItems":6,"items":{"$ref":"#/components/schemas/HoursPeriod"}}}},"PublishedOpeningSchedule":{"description":"An independently verified venue-site weekly schedule; never merged into dataset hours.","type":"object","additionalProperties":false,"properties":{"kind":{"type":"string","const":"weekly"},"weekly":{"$ref":"#/components/schemas/WeeklyHours"}},"required":["kind","weekly"]},"PublishedHoursProvenance":{"type":"object","additionalProperties":false,"properties":{"licence_class":{"type":"string","const":"published-facts"},"source_url":{"type":"string","format":"uri"},"fetched_at":{"type":"string","format":"date-time"},"verified_at":{"type":"string","format":"date-time"},"confirmed_until":{"type":"string","format":"date-time"},"extractor":{"type":"string"}},"required":["licence_class","source_url","fetched_at","verified_at","confirmed_until","extractor"]},"PublishedHours":{"description":"Detail-only venue-site overlay. Null means disabled or unavailable; stale never includes old schedule values.","anyOf":[{"type":"null"},{"type":"object","additionalProperties":false,"properties":{"state":{"type":"string","const":"confirmed"},"value":{"$ref":"#/components/schemas/PublishedOpeningSchedule"},"provenance":{"$ref":"#/components/schemas/PublishedHoursProvenance"}},"required":["state","value","provenance"]},{"type":"object","additionalProperties":false,"properties":{"state":{"type":"string","const":"stale"},"value":{"type":"null"},"provenance":{"$ref":"#/components/schemas/PublishedHoursProvenance"}},"required":["state","value","provenance"]}]},"PlaceDetailResponse":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/Place"},"meta":{"$ref":"#/components/schemas/Meta"},"published_hours":{"$ref":"#/components/schemas/PublishedHours"}},"required":["data","meta","published_hours"]},"CategoriesResponse":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Category"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"]},"AttributionsResponse":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Attribution"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"]},"CoveragesResponse":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Coverage"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"]},"LocationsResponse":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Location"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"]},"Money":{"type":"object","additionalProperties":false,"required":["amount","currency"],"properties":{"amount":{"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 currency code."},"conditions":{"type":["string","null"]}},"description":"Published amount and currency only when supported by source evidence; never an estimated or live price."},"AccountMessage":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"message":{"type":"string","minLength":1,"maxLength":500},"email_available":{"type":"boolean"}},"required":["message"]}},"required":["data"]},"Account":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","minLength":1,"maxLength":200},"email":{"type":"string","format":"email"},"role":{"type":"string","enum":["user","moderator","admin"]},"verified":{"type":"boolean"},"csrf_token":{"type":"string","minLength":1,"maxLength":200}},"required":["id","email","role","verified","csrf_token"]}},"required":["data"]},"AuthCsrf":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"csrf_token":{"type":"string","minLength":1,"maxLength":200}},"required":["csrf_token"]}},"required":["data"]},"AuthCapabilities":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"email":{"type":"boolean"},"google":{"type":"boolean"},"photo_storage":{"type":"string","enum":["local","bunny"]}},"required":["email","google","photo_storage"]}},"required":["data"]},"SavedList":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":100}},"required":["id","name"]},"SavedLists":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/SavedList"}}},"required":["data"]},"SavedListResponse":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/SavedList"}},"required":["data"]},"SavedListDetail":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":100},"items":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"place_id":{"type":"string","minLength":1,"maxLength":200},"place":{"anyOf":[{"$ref":"#/components/schemas/Place"},{"type":"null"}]}},"required":["place_id","place"]}},"attributions":{"type":"array","description":"Reviewed credits for the place records resolved in this list response.","items":{"$ref":"#/components/schemas/Attribution"}}},"required":["id","name","items"]}},"required":["data"]},"CommunitySubmission":{"description":"Confirm uses an existing place_id and changes exactly {status: available}, recording the authenticated user's first-hand observation. Untrusted observations await moderation; trusted observations use the existing approval path. A negative observation is a report with type place and status unavailable; reports never alter operating status.","type":"object","additionalProperties":false,"properties":{"kind":{"type":"string","enum":["correction","suggestion","report","dispute","confirm"]},"allow_duplicate":{"type":"boolean","description":"Explicitly continue a new-place suggestion after reviewing likely matches. Defaults to false. Applies only to suggestions."},"place_id":{"type":"string","maxLength":200},"changes":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","enum":["washroom","charger","parking","cafe","outlet","wifi","place"]},"status":{"type":"string","enum":["available","unavailable","free","paid","unknown"]},"target_report_id":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":1000},"address":{"type":"string","minLength":1,"maxLength":1000},"phone":{"type":"string","minLength":1,"maxLength":1000},"website":{"type":"string","minLength":1,"maxLength":1000,"format":"uri","pattern":"^https?://"},"access":{"enum":["public","customers","private","unknown"]},"fee":{"$ref":"#/components/schemas/Fee"},"wheelchair":{"$ref":"#/components/schemas/TriState"},"location":{"$ref":"#/components/schemas/Point"},"categories":{"type":"array","minItems":1,"maxItems":18,"items":{"$ref":"#/components/schemas/CategoryId"}},"description":{"type":"string","minLength":1,"maxLength":1000},"opening_hours":{"type":"object","additionalProperties":false,"properties":{"kind":{"type":"string","enum":["weekly"]},"weekly":{"$ref":"#/components/schemas/WeeklyHours"}},"required":["kind","weekly"]}},"required":[],"minProperties":1},"evidence":{"type":"string","minLength":1,"maxLength":2000},"terms_version":{"type":"string","enum":["2026-10-07"]}},"required":["kind","changes","evidence","terms_version"]},"CommunityContribution":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["correction","suggestion","report","dispute","confirm"]},"place_id":{"type":["string","null"]},"changes":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","enum":["washroom","charger","parking","cafe","outlet","wifi","place"]},"status":{"type":"string","enum":["available","unavailable","free","paid","unknown"]},"target_report_id":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":1000},"address":{"type":"string","minLength":1,"maxLength":1000},"phone":{"type":"string","minLength":1,"maxLength":1000},"website":{"type":"string","minLength":1,"maxLength":1000,"format":"uri","pattern":"^https?://"},"access":{"enum":["public","customers","private","unknown"]},"fee":{"$ref":"#/components/schemas/Fee"},"wheelchair":{"$ref":"#/components/schemas/TriState"},"location":{"$ref":"#/components/schemas/Point"},"categories":{"type":"array","minItems":1,"maxItems":18,"items":{"$ref":"#/components/schemas/CategoryId"}},"description":{"type":"string","minLength":1,"maxLength":1000},"opening_hours":{"type":"object","additionalProperties":false,"properties":{"kind":{"type":"string","enum":["weekly"]},"weekly":{"$ref":"#/components/schemas/WeeklyHours"}},"required":["kind","weekly"]}},"required":[]},"evidence":{"type":"string"},"status":{"type":"string","enum":["pending","approved","rejected"]},"created_at":{"type":"string","format":"date-time"},"review_reason":{"type":["string","null"]}},"required":["id","kind","place_id","changes","evidence","status","created_at","review_reason"]},"CommunityPhoto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"place_id":{"type":"string"},"status":{"type":"string","enum":["pending","approved","rejected","deleted"]},"width":{"type":"integer"},"height":{"type":"integer"},"storage":{"type":"string","enum":["local","bunny"]},"url":{"type":["string","null"]}},"required":["id","place_id","status","width","height","storage","url"]},"CommunityUpload":{"type":"object","additionalProperties":false,"properties":{"place_id":{"type":"string","maxLength":200},"content_base64":{"type":"string"},"content_type":{"type":"string","maxLength":100},"terms_version":{"type":"string","enum":["2026-10-07"]}},"required":["place_id","content_base64","content_type","terms_version"]},"CommunityModeration":{"type":"object","additionalProperties":false,"properties":{"action":{"type":"string","enum":["approve","reject","request_changes","reverse"]},"reason":{"type":"string","minLength":1,"maxLength":2000}},"required":["action","reason"]},"CommunityContributionResponse":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/CommunityContribution"}},"required":["data"]},"CommunityContributionsResponse":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CommunityContribution"}}},"required":["data"]},"CommunityPhotoResponse":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/CommunityPhoto"}},"required":["data"]},"CommunityPhotosResponse":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CommunityPhoto"}}},"required":["data"]},"CommunityOk":{"type":"object","additionalProperties":false,"properties":{"ok":{"type":"boolean"}},"required":["ok"]},"CommunityAdminResponse":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","items":{"type":"object","additionalProperties":true}}},"required":["data"]},"CommunityRoleChange":{"type":"object","additionalProperties":false,"properties":{"role":{"type":"string","enum":["user","moderator","admin"]},"reason":{"type":"string","minLength":1,"maxLength":2000}},"required":["role","reason"]},"DeveloperLimits":{"type":"object","additionalProperties":false,"properties":{"minute":{"type":"integer","minimum":1,"maximum":1000000000},"day":{"type":"integer","minimum":1,"maximum":1000000000},"month":{"type":"integer","minimum":1,"maximum":1000000000}},"required":["minute","day","month"]},"DeveloperAccount":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"created_at":{"type":"string","format":"date-time"}},"required":["id","created_at"]},"DeveloperProject":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"limits":{"type":"object","additionalProperties":false,"properties":{"minute":{"type":"integer","minimum":1,"maximum":1000000000},"day":{"type":"integer","minimum":1,"maximum":1000000000},"month":{"type":"integer","minimum":1,"maximum":1000000000}},"required":["minute","day","month"]},"created_at":{"type":"string","format":"date-time"}},"required":["id","name","limits","created_at"]},"DeveloperKey":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"prefix":{"type":"string"},"scopes":{"type":"array","minItems":1,"maxItems":2,"uniqueItems":true,"items":{"type":"string","enum":["discovery:read","usage:read"]}},"environment":{"type":"string","enum":["development","production"]},"created_at":{"type":"string","format":"date-time"},"last_used_at":{"type":["string","null"],"format":"date-time"},"revoked_at":{"type":["string","null"],"format":"date-time"},"expires_at":{"type":["string","null"],"format":"date-time"},"limits":{"type":"object","additionalProperties":false,"properties":{"minute":{"type":"integer","minimum":1,"maximum":1000000000},"day":{"type":"integer","minimum":1,"maximum":1000000000},"month":{"type":"integer","minimum":1,"maximum":1000000000}},"required":["minute","day","month"]}},"required":["id","name","prefix","scopes","environment","created_at","last_used_at","revoked_at","expires_at","limits"]},"DeveloperKeyInput":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":100,"pattern":"\\S"},"scopes":{"type":"array","minItems":1,"maxItems":2,"uniqueItems":true,"items":{"type":"string","enum":["discovery:read","usage:read"]}},"environment":{"type":"string","enum":["development","production"]},"expires_at":{"type":"string","format":"date-time"},"limits":{"type":"object","additionalProperties":false,"properties":{"minute":{"type":"integer","minimum":1,"maximum":1000000000},"day":{"type":"integer","minimum":1,"maximum":1000000000},"month":{"type":"integer","minimum":1,"maximum":1000000000}},"required":["minute","day","month"]}},"required":["name","scopes"]},"DeveloperKeyCreated":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"name":{"type":"string"},"prefix":{"type":"string"},"scopes":{"type":"array","minItems":1,"maxItems":2,"uniqueItems":true,"items":{"type":"string","enum":["discovery:read","usage:read"]}},"environment":{"type":"string","enum":["development","production"]},"created_at":{"type":"string","format":"date-time"},"last_used_at":{"type":["string","null"],"format":"date-time"},"revoked_at":{"type":["string","null"],"format":"date-time"},"expires_at":{"type":["string","null"],"format":"date-time"},"limits":{"type":"object","additionalProperties":false,"properties":{"minute":{"type":"integer","minimum":1,"maximum":1000000000},"day":{"type":"integer","minimum":1,"maximum":1000000000},"month":{"type":"integer","minimum":1,"maximum":1000000000}},"required":["minute","day","month"]},"key":{"type":"string"}},"required":["id","name","prefix","scopes","environment","created_at","last_used_at","revoked_at","expires_at","limits","key"]},"DeveloperUsage":{"type":"object","additionalProperties":false,"properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"total":{"type":"integer"},"counts":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"key_id":{"type":"string"},"endpoint":{"type":"string"},"status":{"type":["integer","null"]},"outcome":{"type":"string"},"count":{"type":"integer"}},"required":["key_id","endpoint","status","outcome","count"]}}},"required":["from","to","total","counts"]},"DeveloperInviteRequest":{"type":"object","additionalProperties":false,"properties":{"email":{"type":"string","format":"email","maxLength":254},"purpose":{"type":"string","minLength":10,"maxLength":2000}},"required":["email","purpose"]},"DeveloperInviteAccept":{"type":"object","additionalProperties":false,"properties":{"token":{"type":"string","minLength":32,"maxLength":200}},"required":["token"]},"DeveloperProjectInput":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":100,"pattern":"\\S"}},"required":["name"]},"DeveloperMessage":{"type":"object","additionalProperties":false,"properties":{"message":{"type":"string"}},"required":["message"]},"DeveloperInviteQueue":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"email":{"type":"string"},"purpose":{"type":"string"},"status":{"enum":["pending"]},"created_at":{"type":"string","format":"date-time"}},"required":["id","email","purpose","status","created_at"]},"CommunitySignalEvidence":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"author":{"type":"string"},"contributor":{"description":"The reporter's public profile, or null when their profile is private.","anyOf":[{"$ref":"#/components/schemas/PublicContributor"},{"type":"null"}]},"reported_at":{"type":"string","format":"date-time"},"expires_at":{"type":"string","format":"date-time"},"place_id":{"type":["string","null"]},"location":{"anyOf":[{"$ref":"#/components/schemas/Point"},{"type":"null"}]}},"required":["id","author","contributor","reported_at","expires_at","place_id","location"]},"CommunitySignal":{"type":"object","additionalProperties":false,"properties":{"type":{"type":"string","enum":["washroom","charger","parking","cafe","outlet","wifi","place"]},"status":{"type":"string","enum":["available","unavailable","free","paid","unknown"]},"report_count":{"type":"integer","minimum":1},"most_recent_at":{"type":"string","format":"date-time"},"freshness_window_seconds":{"type":"integer","minimum":1},"confidence":{"type":"number","minimum":0,"maximum":1,"description":"Evidence weight only, not likelihood of truth: min(1, sum(1-age/window)/5), one latest report per author/type."},"evidence":{"type":"array","items":{"$ref":"#/components/schemas/CommunitySignalEvidence"}}},"required":["type","status","report_count","most_recent_at","freshness_window_seconds","confidence","evidence"]},"CommunitySignalsResponse":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"object","additionalProperties":false,"properties":{"generated_at":{"type":"string","format":"date-time"},"signals":{"type":"array","items":{"$ref":"#/components/schemas/CommunitySignal"}}},"required":["generated_at","signals"]}},"required":["data"]}},"headers":{"RateLimit-Limit":{"description":"Effective minimum allowance or remaining units across key and project.","schema":{"type":"integer","minimum":0}},"RateLimit-Remaining":{"description":"Effective minimum allowance or remaining units across key and project.","schema":{"type":"integer","minimum":0}},"RateLimit-Reset":{"description":"Seconds until UTC minute reset.","schema":{"type":"integer","minimum":0}},"X-Quota-Day-Limit":{"description":"Effective minimum allowance or remaining units across key and project.","schema":{"type":"integer","minimum":0}},"X-Quota-Day-Remaining":{"description":"Effective minimum allowance or remaining units across key and project.","schema":{"type":"integer","minimum":0}},"X-Quota-Day-Reset":{"description":"UTC reset as Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Quota-Month-Limit":{"description":"Effective minimum allowance or remaining units across key and project.","schema":{"type":"integer","minimum":0}},"X-Quota-Month-Remaining":{"description":"Effective minimum allowance or remaining units across key and project.","schema":{"type":"integer","minimum":0}},"X-Quota-Month-Reset":{"description":"UTC reset as Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"RateLimit-Policy":{"description":"Fixed UTC minute request policy.","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait on 429 and retryable 503.","schema":{"type":"integer"}},"Link":{"description":"Source attribution and licence disclosure link, including errors.","schema":{"type":"string"}}}}}