{ "opencollection": "1.0.0", "info": { "name": "Admin cluster_health deployment API", "version": "1.4.0" }, "items": [ { "info": { "name": "deployment", "type": "folder" }, "items": [ { "info": { "name": "List Deployments", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/deployments" }, "docs": "List all registered deployments." }, { "info": { "name": "Create Deployment", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/deployments", "body": { "type": "json", "data": "{}" } }, "docs": "Create deployment. Restate will invoke the endpoint to gather additional information required for registration, such as the services exposed by the deployment. If the deployment is already registered, this method will fail unless `force` is set to `true`." }, { "info": { "name": "Get Deployment", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/deployments/:deployment", "params": [ { "name": "deployment", "value": "", "type": "path", "description": "Deployment identifier" } ] }, "docs": "Get deployment metadata" }, { "info": { "name": "Update Deployment", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/deployments/:deployment", "params": [ { "name": "deployment", "value": "", "type": "path", "description": "Deployment identifier" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update deployment. Invokes the endpoint and replaces the existing deployment metadata with the discovered information. This is a dangerous operation that should be used only when there are failing invocations on the deployment that cannot be resolved any other way. Sense checks are applied to test that the new deployment is sufficiently similar to the old one." }, { "info": { "name": "Delete Deployment", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/deployments/:deployment", "params": [ { "name": "deployment", "value": "", "type": "path", "description": "Deployment identifier" }, { "name": "force", "value": "", "type": "query", "description": "If true, the deployment will be forcefully deleted. This might break in-flight invocations, use with caution." } ] }, "docs": "Delete deployment. Currently it's supported to remove a deployment only using the force flag" } ] } ], "bundled": true }