{"info":{"title":"Adology API","version":"1.0.0"},"servers":[{"url":"/"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"openapi":"3.1.1","paths":{"/v1/_debug/auth":{"get":{"operationId":"v1._debug.auth","summary":"Check authentication status","description":"Returns whether the user is authenticated","tags":["Debug"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","description":"Whether the request was successful"},"authenticated":{"type":"boolean","description":"Whether the user is authenticated"},"auth":{"anyOf":[{"anyOf":[{"type":"object","properties":{"type":{"const":"user","description":"The type of entity that is authenticated"},"accessToken":{"type":"string","description":"The access token"},"clientId":{"type":"string","description":"The client ID"},"scopes":{"type":"array","items":{"type":"string"},"description":"The scopes"},"organizationId":{"type":"string","description":"The organization ID"},"teamId":{"type":"string","description":"The team ID"},"memberId":{"type":"string","description":"The member ID"},"userId":{"type":"string","description":"The user ID"},"email":{"type":"string","description":"The email"},"fullName":{"type":"string","description":"The full name"},"roles":{"type":"array","items":{"type":"string"},"description":"The roles"}}},{"type":"object","properties":{"type":{"const":"m2m","description":"The type of entity that is authenticated"},"accessToken":{"type":"string","description":"The access token"},"scopes":{"type":"array","items":{"type":"string"},"description":"The scopes"}}}]},{"type":"null"}],"description":"The authentication information"}}}}}},"401":{"description":"Unauthorized"}}}}}}