{ "opencollection": "1.0.0", "info": { "name": "Macrometa API Reference Activity Metrics Environments API", "version": "0.17.17" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Environments", "type": "folder" }, "items": [ { "info": { "name": "List of all environments", "type": "http" }, "http": { "method": "GET", "url": "https://api-play.paas.macrometa.io/_api/environments" }, "docs": "Fetch the list of all existing environments.\n\n**Note**: Requires *administrator* permissions." }, { "info": { "name": "Create an environment", "type": "http" }, "http": { "method": "POST", "url": "https://api-play.paas.macrometa.io/_api/environments", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new environment.\n\n**Note**: Requires *administrator* permissions." }, { "info": { "name": "List all environments", "type": "http" }, "http": { "method": "GET", "url": "https://api-play.paas.macrometa.io/_api/environments/user" }, "docs": "Fetch a list of all _environments_ the current user can access along with the corresponding information for each environment." }, { "info": { "name": "Remove an environment", "type": "http" }, "http": { "method": "DELETE", "url": "https://api-play.paas.macrometa.io/_api/environments/:environment", "params": [ { "name": "environment", "value": "", "type": "path", "description": "The name of the environment." } ] }, "docs": "Remove the environment with all the data stored in it.\n\n**Note**: Requires *administrator* permissions." }, { "info": { "name": "Information about the environment", "type": "http" }, "http": { "method": "GET", "url": "https://api-play.paas.macrometa.io/_api/environments/:environment/metadata", "params": [ { "name": "environment", "value": "", "type": "path", "description": "The Database name for which we want the information." } ] }, "docs": "Fetch information about an environment." }, { "info": { "name": "Set the environment metadata", "type": "http" }, "http": { "method": "PUT", "url": "https://api-play.paas.macrometa.io/_api/environments/:environment/metadata", "params": [ { "name": "environment", "value": "", "type": "path", "description": "The environment name for which metadata should be set." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Set the metadata for an environment." }, { "info": { "name": "Modify the environment metadata", "type": "http" }, "http": { "method": "PATCH", "url": "https://api-play.paas.macrometa.io/_api/environments/:environment/metadata", "params": [ { "name": "environment", "value": "", "type": "path", "description": "Environment name." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the environment metadata." } ] } ], "bundled": true }