{"files":{"SKILL.md":"---\nname: api-title\ndescription: \"API title API skill. Use when working with API title for restrooms. Covers 4 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# API title\nAPI version: 0.0.1\n\n## Auth\nNo authentication required.\n\n## Base URL\nhttps://www.refugerestrooms.org/api\n\n## Setup\n1. No auth setup needed\n2. GET /v1/restrooms/by_date -- verify access\n\n## Endpoints\n\n4 endpoints across 1 groups. See references/api-spec.lap for full details.\n\n### restrooms\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /v1/restrooms/by_date | Search for restroom records updated or created on or after a given date |\n| GET | /v1/restrooms/by_location | Search by location. |\n| GET | /v1/restrooms/search | Perform full-text search of restroom records. |\n| GET | /v1/restrooms | Get all restroom records ordered by date descending. |\n\n## Common Questions\n\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all by_date?\" -> GET /v1/restrooms/by_date\n- \"List all by_location?\" -> GET /v1/restrooms/by_location\n- \"Search search?\" -> GET /v1/restrooms/search\n- \"List all restrooms?\" -> GET /v1/restrooms\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- List endpoints may support pagination; check for limit, offset, or cursor params\n\n## CLI\n\n```bash\n# Update this spec to the latest version\nnpx @lap-platform/lapsh get api-title -o references/api-spec.lap\n\n# Search for related APIs\nnpx @lap-platform/lapsh search api-title\n```\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 API title\n@base https://www.refugerestrooms.org/api\n@version 0.0.1\n@endpoints 4\n@toc restrooms(4)\n\n@endpoint GET /v1/restrooms/by_date\n@desc Search for restroom records updated or created on or after a given date\n@required {day: any # Day, month: any # Month, year: any # Year}\n@optional {page: any # Page offset to fetch., per_page: any # Number of results to return per page., offset: any # Pad a number of results., ada: any # Only return restrooms that are ADA accessible., unisex: any # Only return restrooms that are unisex., updated: any # Return restroom records updated (rather than created) since given date}\n@returns(200) Search for restroom records updated or created on or after a given date\n\n@endpoint GET /v1/restrooms/by_location\n@desc Search by location.\n@required {lat: any # latitude, lng: any # longitude}\n@optional {page: any # Page offset to fetch., per_page: any # Number of results to return per page., offset: any # Pad a number of results., ada: any # Only return restrooms that are ADA accessible., unisex: any # Only return restrooms that are unisex.}\n@returns(200) Search by location.\n\n@endpoint GET /v1/restrooms/search\n@desc Perform full-text search of restroom records.\n@required {query: any # Your search query.}\n@optional {page: any # Page offset to fetch., per_page: any # Number of results to return per page., offset: any # Pad a number of results., ada: any # Only return restrooms that are ADA accessible., unisex: any # Only return restrooms that are unisex.}\n@returns(200) Perform full-text search of restroom records.\n\n@endpoint GET /v1/restrooms\n@desc Get all restroom records ordered by date descending.\n@optional {page: any # Page offset to fetch., per_page: any # Number of results to return per page., offset: any # Pad a number of results., ada: any # Only return restrooms that are ADA accessible., unisex: any # Only return restrooms that are unisex.}\n@returns(200) Get all restroom records ordered by date descending.\n\n@end\n"}}