{"files":{"SKILL.md":"---\nname: xero-oauth-2-identity-service-api\ndescription: \"Xero OAuth 2 Identity Service API skill. Use when working with Xero OAuth 2 Identity Service for Connections. Covers 2 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Xero OAuth 2 Identity Service API\nAPI version: 12.0.0\n\n## Auth\nBearer basic | OAuth2\n\n## Base URL\nhttps://api.xero.com\n\n## Setup\n1. Set Authorization header with Bearer token\n2. GET /Connections -- retrieves the connections for this user\n3. Explore available endpoints below\n\n## Endpoints\n2 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Connections\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /Connections | Retrieves the connections for this user |\n| DELETE | /Connections/{id} | Deletes a connection for this user (i.e. disconnect a tenant) |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all Connections?\" -> GET /Connections\n- \"Delete a Connection?\" -> DELETE /Connections/{id}\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Error responses include status codes and descriptions in the spec\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Xero OAuth 2 Identity Service API\n@base https://api.xero.com\n@version 11.1.0\n@auth Bearer basic | OAuth2\n@endpoints 2\n@toc Connections(2)\n\n@endpoint GET /Connections\n@desc Retrieves the connections for this user\n@optional {authEventId: str(uuid) # Filter by authEventId}\n@returns(200) Success - return response of type Connections array with 0 to n Connection\n\n@endpoint DELETE /Connections/{id}\n@desc Deletes a connection for this user (i.e. disconnect a tenant)\n@required {id: str(uuid) # Unique identifier for retrieving single object}\n@returns(204) Success - connection has been deleted no content returned\n@errors {404: Resource not found}\n\n@end\n"}}