{
  "opencollection": "1.0.0",
  "info": {
    "name": "Seqera actions workspaces API",
    "version": "1.181.0"
  },
  "items": [
    {
      "info": {
        "name": "workspaces",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List organization workspaces",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/orgs/:orgId/workspaces",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization numeric identifier"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists the organization workspaces in `orgId` to which the requesting user belongs."
        },
        {
          "info": {
            "name": "Create workspace",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/orgs/:orgId/workspaces",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization numeric identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new organization workspace."
        },
        {
          "info": {
            "name": "Validate workspace name",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/orgs/:orgId/workspaces/validate",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization numeric identifier"
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Workspace name to validate"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Confirms the validity of the given workspace name. Append `?name=<your_workspace_name>`."
        },
        {
          "info": {
            "name": "Describe workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/orgs/:orgId/workspaces/:workspaceId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization numeric identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "Workspace numeric identifier"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves the details of the workspace identified by the given `workspaceId`."
        },
        {
          "info": {
            "name": "Update workspace",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/orgs/:orgId/workspaces/:workspaceId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization numeric identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "Workspace numeric identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates the details of the workspace identified by the given `workspaceId`."
        },
        {
          "info": {
            "name": "Delete workspace",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/orgs/:orgId/workspaces/:workspaceId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization numeric identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "Workspace numeric identifier"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the workspace identified by the given `workspaceId`."
        },
        {
          "info": {
            "name": "List workspace participants",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/orgs/:orgId/workspaces/:workspaceId/participants",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization numeric identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "Workspace numeric identifier"
              },
              {
                "name": "max",
                "value": "",
                "type": "query",
                "description": "Pagination max results"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Pagination offset"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Filter search parameter"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists the participants of the workspace identified by the given `workspaceId`."
        },
        {
          "info": {
            "name": "Leave workspace",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/orgs/:orgId/workspaces/:workspaceId/participants",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization numeric identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "Workspace numeric identifier"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Removes the requesting user from the given workspace."
        },
        {
          "info": {
            "name": "Create workspace participant",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/orgs/:orgId/workspaces/:workspaceId/participants/add",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization numeric identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "Workspace numeric identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Adds a new participant to the workspace identified by the given `workspaceId`."
        },
        {
          "info": {
            "name": "Delete workspace participant",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/orgs/:orgId/workspaces/:workspaceId/participants/:participantId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization numeric identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "Workspace numeric identifier"
              },
              {
                "name": "participantId",
                "value": "",
                "type": "path",
                "description": "Participant numeric identifier"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the given participant from the given workspace."
        },
        {
          "info": {
            "name": "Update participant role",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/orgs/:orgId/workspaces/:workspaceId/participants/:participantId/role",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization numeric identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "Workspace numeric identifier"
              },
              {
                "name": "participantId",
                "value": "",
                "type": "path",
                "description": "Participant numeric identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates the role of the given participant in the given workspace."
        },
        {
          "info": {
            "name": "List workspace Studios settings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/orgs/:orgId/workspaces/:workspaceId/settings/studios",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization numeric identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "Workspace numeric identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves the Studios settings of the workspace identified by the given `workspaceId`."
        },
        {
          "info": {
            "name": "Update workspace Studios settings",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/orgs/:orgId/workspaces/:workspaceId/settings/studios",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization numeric identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "Workspace numeric identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates the Studios settings of the workspace identified by the given `workspaceId`."
        },
        {
          "info": {
            "name": "Delete workspace user",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/orgs/:orgId/workspaces/:workspaceId/users/:userId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization numeric identifier"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "Workspace numeric identifier"
              },
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "User numeric identifier"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the given user (member or collaborator) from the given workspace."
        },
        {
          "info": {
            "name": "List user workspaces and organizations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/user/:userId/workspaces",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "User numeric identifier"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists the workspaces and organizations to which the user identified by the given `userId` belongs."
        }
      ]
    }
  ],
  "bundled": true
}