{"note":"OpenAPI conversion -- returning structured metadata","name":"mercure-local","description":"The Mercure protocol","version":"0.3.2","base_url":"","endpoints":5,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api The Mercure protocol\n@version 0.3.2\n@auth Bearer bearer | ApiKey mercureAuthorization in cookie\n@endpoints 5\n@toc .well-known(5)\n\n@endpoint GET /.well-known/mercure\n@desc Subscribe to updates\n@required {topic: [str] # The topic to get updates from, can be a URI template (RFC6570).}\n@optional {Last-Event-ID: str # The last received event id, to retrieve missed events., Last-Event-ID: str # The last received event id, to retrieve missed events, takes precedence over the query parameter.}\n@returns(200) Event stream opened.\n@errors {400: Missing topic parameter or invalid URI template., 401: Not authorized (missing or invalid JWT).}\n\n@endpoint POST /.well-known/mercure\n@desc Publish an update\n@returns(200) The id of this update\n@errors {400: Invalid request, 401: Not authorized (missing or invalid JWT).}\n\n@endpoint GET /.well-known/mercure/subscriptions\n@desc Active subscriptions\n@returns(200) The list of active subscriptions\n@errors {401: Not authorized (missing or invalid JWT).}\n\n@endpoint GET /.well-known/mercure/subscriptions/{topic}\n@desc Active subscriptions for the given topic\n@required {topic: str}\n@returns(200) The list of active subscriptions\n@errors {401: Not authorized (missing or invalid JWT).}\n\n@endpoint GET /.well-known/mercure/subscriptions/{topic}/{subscriber}\n@desc Active subscription for the given topic and subscriber\n@required {topic: str, subscriber: str}\n@returns(200) The list of active subscriptions\n@errors {401: Not authorized (missing or invalid JWT).}\n\n@end\n"}