{ "opencollection": "1.0.0", "info": { "name": "ALTR Sidecar/Agent Configuration Repos API", "version": "1.0.0" }, "items": [ { "info": { "name": "Repos", "type": "folder" }, "items": [ { "info": { "name": "List Repos.", "type": "http" }, "http": { "method": "GET", "url": "https://{orgID}.sc-control.live.altr.com/v1/repos", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Number of Repos to return" }, { "name": "contiguous_id", "value": "", "type": "query", "description": "The Contiguous ID for pagination" }, { "name": "repo_type", "value": "", "type": "query", "description": "Filter results by repo type" }, { "name": "name_starts_with", "value": "", "type": "query", "description": "Filter by Repo name in a `starts with` fashion. (Case-insensitive)" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "List all Repos with pagination." }, { "info": { "name": "Create a new Repo.", "type": "http" }, "http": { "method": "POST", "url": "https://{orgID}.sc-control.live.altr.com/v1/repos", "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Create a new Repo with the provided details." }, { "info": { "name": "Get a Repo.", "type": "http" }, "http": { "method": "GET", "url": "https://{orgID}.sc-control.live.altr.com/v1/repos/:repo_name", "params": [ { "name": "repo_name", "value": "", "type": "path", "description": "Name of repo." } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Get the repo for a given repo name." }, { "info": { "name": "Update a Repo.", "type": "http" }, "http": { "method": "PATCH", "url": "https://{orgID}.sc-control.live.altr.com/v1/repos/:repo_name", "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Update a Repo." }, { "info": { "name": "Delete a Repo.", "type": "http" }, "http": { "method": "DELETE", "url": "https://{orgID}.sc-control.live.altr.com/v1/repos/:repo_name", "params": [ { "name": "repo_name", "value": "", "type": "path", "description": "Name of Repo." } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "A Repo cannot be deleted if it its `user_count` or `binding_count` are > 0." } ] } ], "bundled": true }