All URIs are relative to http://localhost
Method | HTTP request | Description ------------- | ------------- | ------------- BrowserDownloadAttributes | GET /cookie-authed/workspaces/{workspaceNamespace}/{workspaceName}/exportAttributesTSV | TSV file containing workspace attributes (allows cookie-based authentication) ChangedWorkspaceNotification | POST /api/workspaces/{workspaceNamespace}/{workspaceName}/sendChangeNotification | Sends notifications for change to workspace CheckIamActionWithLock | GET /api/workspaces/{workspaceNamespace}/{workspaceName}/checkIamActionWithLock/{samActionName} | Check IAM action with lock CloneWorkspace | POST /api/workspaces/{workspaceNamespace}/{workspaceName}/clone | Clone Workspace CreateWorkspace | POST /api/workspaces | Create workspace DeleteWorkspace | DELETE /api/workspaces/{workspaceNamespace}/{workspaceName} | Delete workspace DeleteWorkspaceTags | DELETE /api/workspaces/{workspaceNamespace}/{workspaceName}/tags | Remove the user-supplied tags from the workspace. ExportAttributesTSV | GET /api/workspaces/{workspaceNamespace}/{workspaceName}/exportAttributesTSV | TSV file containing workspace attributes GetBucketUsage | GET /api/workspaces/{workspaceNamespace}/{workspaceName}/bucketUsage | Get bucket usage GetCatalog | GET /api/workspaces/{workspaceNamespace}/{workspaceName}/catalog | Get workspace catalog permission GetStorageCostEstimate | GET /api/workspaces/{workspaceNamespace}/{workspaceName}/storageCostEstimate | Calculate an estimate of the monthly storage cost for the workspace bucket GetTags | GET /api/workspaces/tags | Get all tags used in FireCloud (for autocomplete) GetWorkspace | GET /api/workspaces/{workspaceNamespace}/{workspaceName} | Get workspace GetWorkspaceAccessInstructions | GET /api/workspaces/{workspaceNamespace}/{workspaceName}/accessInstructions | Get workspace access instructions (if any) GetWorkspaceAcl | GET /api/workspaces/{workspaceNamespace}/{workspaceName}/acl | Get workspace ACL GetWorkspaceBucketOptions | GET /api/workspaces/{workspaceNamespace}/{workspaceName}/bucketOptions | Get metadata about the workspace bucket GetWorkspaceTags | GET /api/workspaces/{workspaceNamespace}/{workspaceName}/tags | Get the tags for this workspace. ImportAttributesTSV | POST /api/workspaces/{workspaceNamespace}/{workspaceName}/importAttributesTSV | Import workspace attributes from a tsv file ListWorkspaceMethodConfigs | GET /api/workspaces/{workspaceNamespace}/{workspaceName}/methodconfigs | List method configurations in a workspace ListWorkspaces | GET /api/workspaces | Lists workspaces. LockWorkspace | PUT /api/workspaces/{workspaceNamespace}/{workspaceName}/lock | Lock Workspace PatchWorkspaceTags | PATCH /api/workspaces/{workspaceNamespace}/{workspaceName}/tags | Add tags to the workspace without modifying pre-existing tags. PostWorkspaceMethodConfig | POST /api/workspaces/{workspaceNamespace}/{workspaceName}/methodconfigs | Create a Method Configuration in a workspace PutWorkspaceTags | PUT /api/workspaces/{workspaceNamespace}/{workspaceName}/tags | Replace all tags for this workspace with the user input. ReadBucket | GET /api/workspaces/{workspaceNamespace}/{workspaceName}/checkBucketReadAccess | Read workspace bucket SetAttributes | PATCH /api/workspaces/{workspaceNamespace}/{workspaceName}/setAttributes | Set attributes on a workspace. UnlockWorkspace | PUT /api/workspaces/{workspaceNamespace}/{workspaceName}/unlock | Unlock Workspace UpdateAttributes | PATCH /api/workspaces/{workspaceNamespace}/{workspaceName}/updateAttributes | Modify attributes on a workspace. UpdateCatalog | PATCH /api/workspaces/{workspaceNamespace}/{workspaceName}/catalog | Update catalog permission UpdateWorkspaceACL | PATCH /api/workspaces/{workspaceNamespace}/{workspaceName}/acl | Update workspace ACL WorkspacePermissionReport | POST /api/workspaces/{workspaceNamespace}/{workspaceName}/permissionReport | Retrieve user permissions for the workspace and the workspace's method references
data.frame BrowserDownloadAttributes(workspace.namespace, workspace.name)
TSV file containing workspace attributes (allows cookie-based authentication)
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
#TSV file containing workspace attributes (allows cookie-based authentication)
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$BrowserDownloadAttributes(var.workspace.namespace, var.workspace.name)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name |
data.frame
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Workspace attributes in TSV format | - | | 404 | Workspace does not exist | - | | 500 | Internal Server Error | - |
ChangedWorkspaceNotification(workspace.namespace, workspace.name)
Sends notifications for change to workspace
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | workspace namespace
var.workspace.name <- 'workspace.name_example' # character | workspace name
#Sends notifications for change to workspace
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
api.instance$ChangedWorkspaceNotification(var.workspace.namespace, var.workspace.name)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| workspace namespace | workspace.name | character| workspace name |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Success | - | | 403 | Insufficient permisions to send notification on this workspace | - |
CheckIamActionWithLock(workspace.namespace, workspace.name, sam.action.name)
Check IAM action with lock
Check to see if the user has the given action on a workspace in Sam. Takes into account if the workspace is locked too.
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
var.sam.action.name <- 'sam.action.name_example' # character | Sam action
#Check IAM action with lock
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
api.instance$CheckIamActionWithLock(var.workspace.namespace, var.workspace.name, var.sam.action.name)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name | sam.action.name | character| Sam action |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 204 | User can perform the given action on the workspace | - | | 403 | User may not perform the given action on the workspace (including if it doesn't exist) | - | | 500 | Internal Server Error | - |
WorkspaceDetails CloneWorkspace(workspace.namespace, workspace.name, workspace)
Clone Workspace
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
var.workspace <- WorkspaceRequestClone$new("namespace_example", "name_example", 123, list(ManagedGroupRef$new("membersGroupName_example")), "copyFilesWithPrefix_example", "noWorkspaceOwner_example") # WorkspaceRequestClone | Cloned workspace information
#Clone Workspace
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$CloneWorkspace(var.workspace.namespace, var.workspace.name, var.workspace)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name | workspace | WorkspaceRequestClone| Cloned workspace information |
| Status code | Description | Response headers | |-------------|-------------|------------------| | 201 | Successful Request | - | | 400 | Unable to create resources for workspace | - | | 404 | Source workspace not found | - | | 409 | Destination workspace already exists | - | | 500 | Internal Server Error | - |
WorkspaceDetails CreateWorkspace(workspace)
Create workspace
library(openapi)
var.workspace <- WorkspaceRequest$new("namespace_example", "name_example", 123, list(ManagedGroupRef$new("membersGroupName_example")), "noWorkspaceOwner_example") # WorkspaceRequest | New workspace information
#Create workspace
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$CreateWorkspace(var.workspace)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace | WorkspaceRequest| New workspace information |
| Status code | Description | Response headers | |-------------|-------------|------------------| | 201 | Successful Request | - | | 400 | Bad request | - | | 403 | Unable to create bucket for workspace | - | | 409 | Workspace by that name already exists | - | | 500 | Internal Server Error | - |
DeleteWorkspace(workspace.namespace, workspace.name)
Delete workspace
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
#Delete workspace
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
api.instance$DeleteWorkspace(var.workspace.namespace, var.workspace.name)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 202 | Request Accepted | - | | 403 | User does not have correct permissions to delete a published workspace | - | | 404 | Workspace does not exist | - | | 500 | Internal Server Error | - |
array[character] DeleteWorkspaceTags(workspace.namespace, workspace.name, tags)
Remove the user-supplied tags from the workspace.
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
var.tags <- list("property_example") # array[character] | List of tags.
#Remove the user-supplied tags from the workspace.
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$DeleteWorkspaceTags(var.workspace.namespace, var.workspace.name, var.tags)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name | tags | list( character )| List of tags. |
array[character]
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Workspace tags | - | | 400 | Invalid input | - | | 404 | Workspace not found | - | | 500 | Internal Error | - |
data.frame ExportAttributesTSV(workspace.namespace, workspace.name)
TSV file containing workspace attributes
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
#TSV file containing workspace attributes
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$ExportAttributesTSV(var.workspace.namespace, var.workspace.name)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name |
data.frame
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Workspace attributes in TSV format | - | | 404 | Workspace does not exist | - | | 500 | Internal Server Error | - |
GetBucketUsage(workspace.namespace, workspace.name)
Get bucket usage
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
#Get bucket usage
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
api.instance$GetBucketUsage(var.workspace.namespace, var.workspace.name)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Successful Request | - |
array[WorkspaceCatalog] GetCatalog(workspace.namespace, workspace.name)
Get workspace catalog permission
Get catalog permissions for a workspace
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
#Get workspace catalog permission
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$GetCatalog(var.workspace.namespace, var.workspace.name)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name |
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Successful Request | - | | 404 | Workspace not found | - | | 500 | Rawls Internal Error | - |
GetStorageCostEstimate(workspace.namespace, workspace.name)
Calculate an estimate of the monthly storage cost for the workspace bucket
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
#Calculate an estimate of the monthly storage cost for the workspace bucket
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
api.instance$GetStorageCostEstimate(var.workspace.namespace, var.workspace.name)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Storage cost estimate | - | | 404 | Workspace not found | - | | 500 | Internal Error | - |
array[WorkspaceTag] GetTags(q=var.q)
Get all tags used in FireCloud (for autocomplete)
list of all tags used in FireCloud and their associated frequencies
library(openapi)
var.q <- 'q_example' # character | Query string
#Get all tags used in FireCloud (for autocomplete)
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$GetTags(q=var.q)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- q | character| Query string | [optional]
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | list of all tags used in FireCloud | - | | 500 | Rawls Internal Error | - |
WorkspaceResponse GetWorkspace(workspace.namespace, workspace.name, fields=var.fields)
Get workspace
Get a single workspace's details, optionally filtered to only the specified fields. See additional GET methods in this section to retrieve additional details about the workspace. For instance, this API only returns the workspace's owners; use the GET .../acl method to retrieve the full list of all users at all permission levels.
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
var.fields <- list("inner_example") # array[character] | When specified, include only these keys in the response payload and exclude other keys. Accepts a comma-delimited list of values. To include a nested key, specify the key's path using a dot delimiter; for example, to include {\"workspace\": {\"attributes\": {}}}, specify \"workspace.attributes\". Legal values are any first-level key in the response, any first-level key inside the {\"workspace\": {}} object, and any first-level key inside the {\"workspace\": {\"attributes\": {}}} object. If omitted, will return the full response payload.
#Get workspace
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$GetWorkspace(var.workspace.namespace, var.workspace.name, fields=var.fields)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name | fields | list( character )| When specified, include only these keys in the response payload and exclude other keys. Accepts a comma-delimited list of values. To include a nested key, specify the key's path using a dot delimiter; for example, to include {\"workspace\": {\"attributes\": {}}}, specify \"workspace.attributes\". Legal values are any first-level key in the response, any first-level key inside the {\"workspace\": {}} object, and any first-level key inside the {\"workspace\": {\"attributes\": {}}} object. If omitted, will return the full response payload. | [optional]
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Successful Request | - | | 400 | Unrecognized query parameters | - | | 404 | Workspace does not exist | - | | 500 | Internal Server Error | - |
array[ManagedGroupAccessInstructions] GetWorkspaceAccessInstructions(workspace.namespace, workspace.name)
Get workspace access instructions (if any)
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
#Get workspace access instructions (if any)
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$GetWorkspaceAccessInstructions(var.workspace.namespace, var.workspace.name)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name |
array[ManagedGroupAccessInstructions]
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Successful Request | - | | 404 | Workspace not found | - | | 500 | Internal Server Error | - |
WorkspaceACL GetWorkspaceAcl(workspace.namespace, workspace.name)
Get workspace ACL
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
#Get workspace ACL
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$GetWorkspaceAcl(var.workspace.namespace, var.workspace.name)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name |
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Successful Request | - | | 400 | Can't retrieve ACL for workspace | - | | 404 | Workspace not found | - | | 500 | Internal Server Error | - |
WorkspaceBucketOptions GetWorkspaceBucketOptions(workspace.namespace, workspace.name)
Get metadata about the workspace bucket
Returns metadata about the workspace bucket.
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
#Get metadata about the workspace bucket
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$GetWorkspaceBucketOptions(var.workspace.namespace, var.workspace.name)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name |
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Successful Request | - | | 404 | Workspace not found | - | | 500 | Rawls Internal Error | - |
array[character] GetWorkspaceTags(workspace.namespace, workspace.name)
Get the tags for this workspace.
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
#Get the tags for this workspace.
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$GetWorkspaceTags(var.workspace.namespace, var.workspace.name)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name |
array[character]
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Workspace tags | - | | 404 | Workspace not found | - | | 500 | Internal Error | - |
ImportAttributesTSV(workspace.namespace, workspace.name, attributes)
Import workspace attributes from a tsv file
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
var.attributes <- File.new('/path/to/file') # data.frame | A valid TSV import file
#Import workspace attributes from a tsv file
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
api.instance$ImportAttributesTSV(var.workspace.namespace, var.workspace.name, var.attributes)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name | attributes | data.frame| A valid TSV import file |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Successful Request | - | | 400 | Bad Request | - | | 404 | Source Workspace not found | - | | 500 | Internal Error | - |
ListWorkspaceMethodConfigs(workspace.namespace, workspace.name, all.repos=FALSE)
List method configurations in a workspace
List method configurations in a workspace. By default, only Agora method configs are returned. To return configs for all repos, specify allRepos
to be true
. #### Expanded discussion on the methodRepoMethod field This endpoint returns method references to Agora in the format \"methodRepoMethod\": { \"methodNamespace\": \"namespace\", \"methodName\": \"name\", \"methodVersion\": 1, \"sourceRepo\": \"agora\", \"methodUri\": \"agora://namespace/name/1\" }
and for Dockstore in the format \"methodRepoMethod\": { \"methodPath\": \"path\", \"methodVersion\": \"version\", \"sourceRepo\": \"agora\", \"methodUri\": \"dockstore://path/version\" }
If you are only working with Agora methods, the fields \"sourceRepo\"
and \"methodUri\"
can be considered informational and do not need to be round-tripped (see the corresponding POST /api/workspaces/{workspaceNamespace}/{workspaceName}/methodconfigs
for more details).
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
var.all.repos <- FALSE # character | Configs for all repos, not just Agora
#List method configurations in a workspace
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
api.instance$ListWorkspaceMethodConfigs(var.workspace.namespace, var.workspace.name, all.repos=var.all.repos)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name | all.repos | character| Configs for all repos, not just Agora | [optional] [default to FALSE]
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | List of Method Configurations | - | | 404 | Workspace does not exist | - | | 500 | Internal Server Error | - |
array[WorkspaceListResponse] ListWorkspaces(fields=var.fields)
Lists workspaces.
library(openapi)
var.fields <- list("inner_example") # array[character] | When specified, include only these keys in the response payload and exclude other keys. Accepts a comma-delimited list of values. To include a nested key, specify the key's path using a dot delimiter; for example, to include {\"workspace\": {\"attributes\": {}}}, specify \"workspace.attributes\". Legal values are any first-level key in the response, any first-level key inside the {\"workspace\": {}} object, and any first-level key inside the {\"workspace\": {\"attributes\": {}}} object. If omitted, will return the full response payload.
#Lists workspaces.
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$ListWorkspaces(fields=var.fields)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- fields | list( character )| When specified, include only these keys in the response payload and exclude other keys. Accepts a comma-delimited list of values. To include a nested key, specify the key's path using a dot delimiter; for example, to include {\"workspace\": {\"attributes\": {}}}, specify \"workspace.attributes\". Legal values are any first-level key in the response, any first-level key inside the {\"workspace\": {}} object, and any first-level key inside the {\"workspace\": {\"attributes\": {}}} object. If omitted, will return the full response payload. | [optional]
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | List of workspaces. | - | | 400 | Unrecognized query parameters | - |
LockWorkspace(workspace.namespace, workspace.name)
Lock Workspace
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
#Lock Workspace
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
api.instance$LockWorkspace(var.workspace.namespace, var.workspace.name)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | No response was specified | - | | 204 | Successful Request | - | | 403 | Not Owner | - | | 404 | Workspace Not Found | - | | 500 | Internal Server Error | - |
array[character] PatchWorkspaceTags(workspace.namespace, workspace.name, tags)
Add tags to the workspace without modifying pre-existing tags.
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
var.tags <- list("property_example") # array[character] | List of tags.
#Add tags to the workspace without modifying pre-existing tags.
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$PatchWorkspaceTags(var.workspace.namespace, var.workspace.name, var.tags)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name | tags | list( character )| List of tags. |
array[character]
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Workspace tags | - | | 400 | Invalid input | - | | 404 | Workspace not found | - | | 500 | Internal Error | - |
PostWorkspaceMethodConfig(workspace.namespace, workspace.name, method.config.json)
Create a Method Configuration in a workspace
Create method configurations. #### Expanded discussion on the methodRepoMethod field To create a method config for an Agora method, \"sourceRepo\": \"agora\"
is optional; the following is sufficient: \"methodRepoMethod\": { \"methodNamespace\": \"namespace\", \"methodName\": \"name\", \"methodVersion\": 1 }
To create a method config for a Dockstore method, \"sourceRepo\": \"dockstore\"
is required: \"methodRepoMethod\": { \"sourceRepo\": \"dockstore\", \"methodPath\": \"path\", \"methodVersion\": \"version\" }
You may also use the URI on its own to create a config referencing any supported repo (currently Agora and Dockstore): \"methodRepoMethod\": { \"methodUri\": \"agora://namespace/name/1\" }
\"methodRepoMethod\": { \"methodUri\": \"dockstore://path/version\" }
The system is specified to check for a URI first before falling back to the legacy fields. Unsupported repos will return a 400 Bad Request.
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
var.method.config.json <- NewMethodConfigIngest$new("namespace_example", "name_example", "rootEntityType_example", TODO, TODO, TODO, TODO, 123, "deleted_example") # NewMethodConfigIngest | Method Configuration contents
#Create a Method Configuration in a workspace
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
api.instance$PostWorkspaceMethodConfig(var.workspace.namespace, var.workspace.name, var.method.config.json)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name | method.config.json | NewMethodConfigIngest| Method Configuration contents |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 201 | Successful Request | - | | 404 | Workspace not found | - | | 409 | Method Configuration already exists | - | | 500 | Internal Server Error | - |
array[character] PutWorkspaceTags(workspace.namespace, workspace.name, tags)
Replace all tags for this workspace with the user input.
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
var.tags <- list("property_example") # array[character] | List of tags.
#Replace all tags for this workspace with the user input.
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$PutWorkspaceTags(var.workspace.namespace, var.workspace.name, var.tags)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name | tags | list( character )| List of tags. |
array[character]
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Workspace tags | - | | 400 | Invalid input | - | | 404 | Workspace not found | - | | 500 | Internal Error | - |
ReadBucket(workspace.namespace, workspace.name)
Read workspace bucket
Read a workspace bucket
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
#Read workspace bucket
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
api.instance$ReadBucket(var.workspace.namespace, var.workspace.name)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Successful Request | - | | 403 | Insufficient permissions to access workspace bucket | - | | 404 | Workspace Not Found | - | | 500 | Internal Server Error | - |
SetAttributes(workspace.namespace, workspace.name, new.attributes)
Set attributes on a workspace.
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
var.new.attributes <- TODO # map(object) | New attribute values, as Map[String, Attribute]. WARNING! This should not be used to change library metadata (republish will not happen). Use UpdateAttributes in the library section
#Set attributes on a workspace.
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
api.instance$SetAttributes(var.workspace.namespace, var.workspace.name, var.new.attributes)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name | new.attributes | named list( map(object) )| New attribute values, as Map[String, Attribute]. WARNING! This should not be used to change library metadata (republish will not happen). Use UpdateAttributes in the library section |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Success | - | | 400 | Malformed request | - | | 404 | Workspace not found | - | | 500 | Internal Error | - |
UnlockWorkspace(workspace.namespace, workspace.name)
Unlock Workspace
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
#Unlock Workspace
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
api.instance$UnlockWorkspace(var.workspace.namespace, var.workspace.name)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | No response was specified | - | | 204 | Successful Request | - | | 403 | Not Owner | - | | 404 | Workspace Not Found | - | | 500 | Internal Server Error | - |
WorkspaceDetails UpdateAttributes(workspace.namespace, workspace.name, workspace.update.json)
Modify attributes on a workspace.
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
var.workspace.update.json <- list(AttributeUpdateOperation$new("AddUpdateAttribute")) # array[AttributeUpdateOperation] | Attribute operations. WARNING! This should not be used to change library metadata (republish will not happen). Use UpdateAttributes in the library section.
#Modify attributes on a workspace.
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$UpdateAttributes(var.workspace.namespace, var.workspace.name, var.workspace.update.json)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name | workspace.update.json | list( AttributeUpdateOperation )| Attribute operations. WARNING! This should not be used to change library metadata (republish will not happen). Use UpdateAttributes in the library section. |
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Success | - | | 400 | Invalid operation | - | | 404 | Workspace not found | - | | 500 | Internal Error | - |
WorkspaceCatalogUpdateResponseList UpdateCatalog(workspace.namespace, workspace.name, catalog.updates)
Update catalog permission
Set catalog permisisons for a workspace
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
var.catalog.updates <- list(WorkspaceCatalog$new("email_example", "catalog_example")) # array[WorkspaceCatalog] | Series of Catalog updates for workspace
#Update catalog permission
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$UpdateCatalog(var.workspace.namespace, var.workspace.name, var.catalog.updates)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name | catalog.updates | list( WorkspaceCatalog )| Series of Catalog updates for workspace |
WorkspaceCatalogUpdateResponseList
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Successful Request | - | | 403 | Insufficient permissions to change catalog permissions (must be owner or admin) | - | | 404 | Workspace, user or group not found | - | | 500 | Rawls Internal Error | - |
WorkspaceACLUpdateResponseList UpdateWorkspaceACL(workspace.namespace, workspace.name, invite.users.not.found, acl.updates)
Update workspace ACL
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
var.invite.users.not.found <- FALSE # character | true to invite unregistered users, false to ignore
var.acl.updates <- list(WorkspaceACLUpdate$new("email_example", "accessLevel_example", "canShare_example", "canCompute_example")) # array[WorkspaceACLUpdate] | Series of ACL updates for workspace
#Update workspace ACL
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$UpdateWorkspaceACL(var.workspace.namespace, var.workspace.name, var.invite.users.not.found, var.acl.updates)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name | invite.users.not.found | character| true to invite unregistered users, false to ignore | [default to FALSE] acl.updates | list( WorkspaceACLUpdate )| Series of ACL updates for workspace |
WorkspaceACLUpdateResponseList
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Successful Request | - | | 400 | Can't set ACL for workspace | - | | 404 | Workspace not found | - | | 500 | Internal Server Error | - |
PermissionReport WorkspacePermissionReport(workspace.namespace, workspace.name, report.input)
Retrieve user permissions for the workspace and the workspace's method references
library(openapi)
var.workspace.namespace <- 'workspace.namespace_example' # character | Workspace Namespace
var.workspace.name <- 'workspace.name_example' # character | Workspace Name
var.report.input <- PermissionReportRequest$new(list("users_example"), list(MethodConfigurationName$new("namespace_example", "name_example"))) # PermissionReportRequest | Users and/or configs on which to report, both optional
#Retrieve user permissions for the workspace and the workspace's method references
api.instance <- WorkspacesApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$WorkspacePermissionReport(var.workspace.namespace, var.workspace.name, var.report.input)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- workspace.namespace | character| Workspace Namespace | workspace.name | character| Workspace Name | report.input | PermissionReportRequest| Users and/or configs on which to report, both optional |
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Permission Report | - | | 404 | Workspace does not exist | - | | 500 | Internal Server Error | - |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.