{"note":"OpenAPI conversion -- returning structured metadata","name":"aucklandmuseum-com","description":"Auckland Museum API","version":"2.0.0","base_url":"https://api.aucklandmuseum.com","endpoints":6,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Auckland Museum API\n@base https://api.aucklandmuseum.com\n@version 2.0.0\n@endpoints 6\n@toc search(2), id(2), sparql(2)\n\n@group search\n@endpoint GET /search/{index}/{operation}\n@desc Perform simple search queries over Auckland Museum Collections and Cenotaph data\n@required {index: any # search index name Possible values: * `collectionsonline` * `cenotaph`, operation: any # One of the supported elasticsearch operations like `_search` or `_suggest`}\n@optional {q: any # One of the supported elasticsearch query parameter values for key `q`}\n@returns(200) search results found\n@errors {400: bad request, 404: not found}\n\n@endpoint POST /search/{index}/{operation}\n@desc Perform complex search queries over Auckland Museum Collections and Cenotaph data\n@required {index: any # search index name Possible values: * `collectionsonline` * `cenotaph`, operation: any # One of the supported elasticsearch operations like `_search` or `_suggest`}\n@optional {body: map # body}\n@returns(200) search results found\n@errors {400: bad request, 404: not found}\n\n@endgroup\n\n@group id\n@endpoint GET /id/{identifier}\n@desc Explore details about a given subject node\n@required {identifier: any # The identifier path of the `subject` you're looking for}\n@returns(200) `subject` found\n@errors {404: `subject` not found}\n\n@endpoint GET /id/media/{path}\n@desc Retrieve media associated with Collections and Cenotaph subjects in Auckland Museum\n@required {path: any # The media `identifier`}\n@optional {rendering: any # The desired media `rendering`  Possible values: * `original.jpg` * `original.pdf` * `thumbnail.jpg` (fixed with 70px) * `standard.jpg` (fixed width 440px and height 440px) * `preview.jpg` (fixed height 100px)}\n@returns(200) `media` found\n@errors {404: `media` not found}\n\n@endgroup\n\n@group sparql\n@endpoint GET /sparql\n@desc Auckland Museum SPARQL endpoint\n@required {query: any # sparql query}\n@optional {callback: any # The [JSON-P](http://json-p.org/) callback parameter, infer: any # Whether to get inferred results in the response}\n@returns(200) success\n\n@endpoint POST /sparql\n@desc Auckland Museum SPARQL endpoint\n@required {query: any # sparql query}\n@optional {infer: any # Whether to get inferred results in the response}\n@returns(200) success\n\n@endgroup\n\n@end\n"}