{ "opencollection": "1.0.0", "info": { "name": "Astro Platform AgentToken Workspace API", "version": "v1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Workspace", "type": "folder" }, "items": [ { "info": { "name": "List Workspaces", "type": "http" }, "http": { "method": "GET", "url": "https://api.astronomer.io/v1/organizations/:organizationId/workspaces", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The ID of the Organization to list Workspaces for." }, { "name": "workspaceIds", "value": "", "type": "query", "description": "A list of IDs for specific Workspaces to list. The API will list information only for Workspaces which have been specified in this list." }, { "name": "names", "value": "", "type": "query", "description": "A list of names for specific Workspaces to filter by. The API will list information only for Workspaces which have been specified in this list." }, { "name": "offset", "value": "", "type": "query", "description": "The number of results to skip before returning values." }, { "name": "limit", "value": "", "type": "query", "description": "The maximum number of results to return." }, { "name": "sorts", "value": "", "type": "query", "description": "A list of field names to sort by, and whether to show results as ascending or descending. Formatted as `:asc` or `:desc`." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List Workspaces in an Organization" }, { "info": { "name": "Create Workspace", "type": "http" }, "http": { "method": "POST", "url": "https://api.astronomer.io/v1/organizations/:organizationId/workspaces", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The ID of the Organization to which the Workspace will belong." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a Workspace." }, { "info": { "name": "Get Workspace", "type": "http" }, "http": { "method": "GET", "url": "https://api.astronomer.io/v1/organizations/:organizationId/workspaces/:workspaceId", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The ID of the Organization to which the Workspace belongs." }, { "name": "workspaceId", "value": "", "type": "path", "description": "The Workspace's ID." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get information about a Workspace." }, { "info": { "name": "Update Workspace", "type": "http" }, "http": { "method": "POST", "url": "https://api.astronomer.io/v1/organizations/:organizationId/workspaces/:workspaceId", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The ID of the Organization to which the Workspace belongs." }, { "name": "workspaceId", "value": "", "type": "path", "description": "The Workspace's ID." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a Workspace." }, { "info": { "name": "Delete Workspace", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.astronomer.io/v1/organizations/:organizationId/workspaces/:workspaceId", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The ID of the Organization to which the Workspace belongs." }, { "name": "workspaceId", "value": "", "type": "path", "description": "The Workspace's ID." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a Workspace." } ] } ], "bundled": true }