{"note":"OpenAPI conversion -- returning structured metadata","name":"groundhog-day-com","description":"Groundhog Day API","version":"1.2.1","base_url":"https://virtserver.swaggerhub.com/pcraig3/groundhog-day-api/1.2.1","endpoints":5,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Groundhog Day API\n@base https://virtserver.swaggerhub.com/pcraig3/groundhog-day-api/1.2.1\n@version 1.2.1\n@endpoints 5\n@toc api(5)\n\n@endpoint GET /api/v1\n@desc Root\n@returns(200) {message: str, _links: map{self: map{href: str}, groundhogs: map{href: str}, groundhog: map{href: str}, predictions: map{href: str}, spec: map{href: str}}} # OK\n\n@endpoint GET /api/v1/groundhogs\n@desc Get all groundhogs\n@optional {country: str # Filter groundhogs by country of origin (USA or Canada)., isGroundhog: str(1/0/true/false) # Filter groundhogs by type (actual, alive groundhogs, or other prognosticators)}\n@returns(200) {groundhogs: [map]} # OK\n\n@endpoint GET /api/v1/groundhogs/{slug}\n@desc Get a groundhog by slug\n@returns(200) {groundhog: map{id: int, slug: str, shortname: str, name: str, city: str, region: str, country: str, coordinates: str, source: str, contact: str, currentPrediction: str, isGroundhog: int(binary), type: str, active: int(binary), description: str, image: str, predictions: [map], predictionsCount: int}} # OK\n@errors {400: Bad Request}\n\n@endpoint GET /api/v1/predictions\n@desc Get predictions for a given year\n@optional {year: int # A calendar year}\n@returns(200) {predictions: [map]} # OK\n@errors {302: Found, 400: Bad Request}\n\n@endpoint GET /api/v1/spec\n@desc Get JSON schema\n@returns(200) OK\n\n@end\n"}