{ "uuid": "55877324-aba5-4923-9f64-5db9e452db34", "lastMigration": 29, "name": "The Mercure protocol", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "f6e88eb3-f232-4163-8540-2529d10b5a70", "documentation": "Subscribe to updates", "method": "get", "endpoint": ".well-known/mercure", "responses": [ { "uuid": "bd320e76-a88a-4cdd-b40d-6a48d69d6c0b", "body": "", "latency": 0, "statusCode": 200, "label": "Event stream opened.", "headers": [{ "key": "Content-Type", "value": "text/event-stream" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1bf68fcb-9acb-4647-9194-e10b890a2c37", "body": "", "latency": 0, "statusCode": 400, "label": "Missing topic parameter or invalid URI template.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d0edc738-0db1-4f0d-8d34-95780270eb1b", "body": "", "latency": 0, "statusCode": 401, "label": "Not authorized (missing or invalid JWT).", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "935d1c4b-b21e-4f85-993b-e65a3501356e", "documentation": "Publish an update", "method": "post", "endpoint": ".well-known/mercure", "responses": [ { "uuid": "1e911709-dc28-4fb7-9ba7-719fd3d7059c", "body": "", "latency": 0, "statusCode": 200, "label": "The id of this update", "headers": [{ "key": "Content-Type", "value": "text/plain" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ca325949-3dea-47cd-9e1e-b5a5b00158cd", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "170da2ab-504e-4a8f-8add-2683bf59084b", "body": "", "latency": 0, "statusCode": 401, "label": "Not authorized (missing or invalid JWT).", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d4427cd2-f26e-4740-9a17-4e8df51e6735", "documentation": "Active subscriptions", "method": "get", "endpoint": ".well-known/mercure/subscriptions", "responses": [ { "uuid": "f6c42342-17a8-4860-bd8d-3c437e6af1e4", "body": "", "latency": 0, "statusCode": 200, "label": "The list of active subscriptions", "headers": [ { "key": "Content-Type", "value": "application/ld+json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d25761f6-3cd0-4685-b047-5e0b2543bb5b", "body": "", "latency": 0, "statusCode": 401, "label": "Not authorized (missing or invalid JWT).", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "02e42aae-73e2-4d21-abcd-343834f21d9c", "documentation": "Active subscriptions for the given topic", "method": "get", "endpoint": ".well-known/mercure/subscriptions/:topic", "responses": [ { "uuid": "9312027f-0394-4673-860e-153acb55a30a", "body": "", "latency": 0, "statusCode": 200, "label": "The list of active subscriptions", "headers": [ { "key": "Content-Type", "value": "application/ld+json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "90dc566a-d386-4095-b3bb-406846129eda", "body": "", "latency": 0, "statusCode": 401, "label": "Not authorized (missing or invalid JWT).", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8b512767-66db-475f-8305-c093416dcf9b", "documentation": "Active subscription for the given topic and subscriber", "method": "get", "endpoint": ".well-known/mercure/subscriptions/:topic/:subscriber", "responses": [ { "uuid": "66498fec-b0bb-432c-acca-f14ec918c3a9", "body": "", "latency": 0, "statusCode": 200, "label": "The list of active subscriptions", "headers": [ { "key": "Content-Type", "value": "application/ld+json" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "47883366-ab53-4073-80c7-e6698bd5af03", "body": "", "latency": 0, "statusCode": 401, "label": "Not authorized (missing or invalid JWT).", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "f6e88eb3-f232-4163-8540-2529d10b5a70" }, { "type": "route", "uuid": "935d1c4b-b21e-4f85-993b-e65a3501356e" }, { "type": "route", "uuid": "d4427cd2-f26e-4740-9a17-4e8df51e6735" }, { "type": "route", "uuid": "02e42aae-73e2-4d21-abcd-343834f21d9c" }, { "type": "route", "uuid": "8b512767-66db-475f-8305-c093416dcf9b" } ] }