All URIs are relative to http://localhost/v1
Method | HTTP request | Description ------------- | ------------- | ------------- AddAWSAccessCredentials | POST /credentials/{namespace}/aws | AddUserToOrganization | POST /organizations/{organization}/user | CheckAWSAccessCredentials | GET /credentials/{namespace}/aws | CheckAWSAccessCredentialsByName | GET /credentials/{namespace}/aws/{name} | CreateOrganization | POST /organization | DeleteAWSAccessCredentials | DELETE /credentials/{namespace}/aws/{name} | DeleteOrganization | DELETE /organizations/{organization} | DeleteUserFromOrganization | DELETE /organizations/{organization}/{username} | GetAllOrganizations | GET /organizations | GetOrganization | GET /organizations/{organization} | GetOrganizationUser | GET /organizations/{organization}/{username} | UpdateAWSAccessCredentials | PATCH /credentials/{namespace}/aws/{name} | UpdateOrganization | PATCH /organizations/{organization} | UpdateUserInOrganization | PATCH /organizations/{organization}/{username} |
AddAWSAccessCredentials(namespace, aws.access.credentials)
Add aws keys
library(tiledbcloud)
var.namespace <- 'namespace_example' # character | namespace
var.aws.access.credentials <- AWSAccessCredentials$new("secret_access_key_example", "access_key_id_example", "service_role_arn_example", "name_example", "default_example", list("buckets_example"), "created_at_example", "updated_at_example") # AWSAccessCredentials | aws access credentials to store for a namespace
api.instance <- OrganizationApi$new()
# Configure API key authorization: ApiKeyAuth
api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY';
# Configure HTTP basic authorization: BasicAuth
api.instance$apiClient$username <- 'TODO_YOUR_USERNAME';
api.instance$apiClient$password <- 'TODO_YOUR_PASSWORD';
api.instance$AddAWSAccessCredentials(var.namespace, var.aws.access.credentials)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- namespace | character| namespace | aws.access.credentials | AWSAccessCredentials| aws access credentials to store for a namespace |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 204 | AWS keys added successfully | - | | 0 | error response | - |
AddUserToOrganization(organization, user)
add a user to an organization
library(tiledbcloud)
var.organization <- 'organization_example' # character | organization name
var.user <- OrganizationUser$new("user_id_example", "organization_id_example", "username_example", "organization_name_example", OrganizationRoles$new(), list(NamespaceActions$new())) # OrganizationUser | user to add
api.instance <- OrganizationApi$new()
# Configure API key authorization: ApiKeyAuth
api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY';
# Configure HTTP basic authorization: BasicAuth
api.instance$apiClient$username <- 'TODO_YOUR_USERNAME';
api.instance$apiClient$password <- 'TODO_YOUR_PASSWORD';
api.instance$AddUserToOrganization(var.organization, var.user)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- organization | character| organization name | user | OrganizationUser| user to add |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 204 | user added to organization successfully | - | | 0 | error response | - |
array[AWSAccessCredentials] CheckAWSAccessCredentials(namespace)
Check if aws keys are set
library(tiledbcloud)
var.namespace <- 'namespace_example' # character | namespace
api.instance <- OrganizationApi$new()
# Configure API key authorization: ApiKeyAuth
api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY';
# Configure HTTP basic authorization: BasicAuth
api.instance$apiClient$username <- 'TODO_YOUR_USERNAME';
api.instance$apiClient$password <- 'TODO_YOUR_PASSWORD';
result <- api.instance$CheckAWSAccessCredentials(var.namespace)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- namespace | character| namespace |
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | AWS keys are set | - | | 0 | error response | - |
AWSAccessCredentials CheckAWSAccessCredentialsByName(namespace, name)
Check if aws keys are set by name
library(tiledbcloud)
var.namespace <- 'namespace_example' # character | namespace
var.name <- 'name_example' # character | name
api.instance <- OrganizationApi$new()
# Configure API key authorization: ApiKeyAuth
api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY';
# Configure HTTP basic authorization: BasicAuth
api.instance$apiClient$username <- 'TODO_YOUR_USERNAME';
api.instance$apiClient$password <- 'TODO_YOUR_PASSWORD';
result <- api.instance$CheckAWSAccessCredentialsByName(var.namespace, var.name)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- namespace | character| namespace | name | character| name |
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | AWS keys are set | - | | 0 | error response | - |
CreateOrganization(organization)
create a organization, the user creating will be listed as owner
library(tiledbcloud)
var.organization <- Organization$new("id_example", OrganizationRoles$new(), "name_example", "created_at_example", "updated_at_example", "logo_example", "description_example", list(OrganizationUser$new("user_id_example", "organization_id_example", "username_example", "organization_name_example", OrganizationRoles$new(), list(NamespaceActions$new()))), list(NamespaceActions$new()), 123, list("enabled_features_example"), "unpaid_subscription_example", "default_s3_path_example", "default_s3_path_credentials_name_example", "stripe_connect_example") # Organization | organization to create
api.instance <- OrganizationApi$new()
# Configure API key authorization: ApiKeyAuth
api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY';
# Configure HTTP basic authorization: BasicAuth
api.instance$apiClient$username <- 'TODO_YOUR_USERNAME';
api.instance$apiClient$password <- 'TODO_YOUR_PASSWORD';
api.instance$CreateOrganization(var.organization)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- organization | Organization| organization to create |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 204 | organization created successfully | - | | 0 | error response | - |
DeleteAWSAccessCredentials(namespace, name)
delete a AWS Access credentials in a namespace. This will likely cause arrays to become unreachable
library(tiledbcloud)
var.namespace <- 'namespace_example' # character | namespace
var.name <- 'name_example' # character | name
api.instance <- OrganizationApi$new()
# Configure API key authorization: ApiKeyAuth
api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY';
# Configure HTTP basic authorization: BasicAuth
api.instance$apiClient$username <- 'TODO_YOUR_USERNAME';
api.instance$apiClient$password <- 'TODO_YOUR_PASSWORD';
api.instance$DeleteAWSAccessCredentials(var.namespace, var.name)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- namespace | character| namespace | name | character| name |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 204 | AWS credentials deleted | - | | 0 | error response | - |
DeleteOrganization(organization)
delete a organization
library(tiledbcloud)
var.organization <- 'organization_example' # character | organization name or id
api.instance <- OrganizationApi$new()
# Configure API key authorization: ApiKeyAuth
api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY';
# Configure HTTP basic authorization: BasicAuth
api.instance$apiClient$username <- 'TODO_YOUR_USERNAME';
api.instance$apiClient$password <- 'TODO_YOUR_PASSWORD';
api.instance$DeleteOrganization(var.organization)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- organization | character| organization name or id |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 204 | organization deleted | - | | 0 | error response | - |
DeleteUserFromOrganization(organization, username)
delete a user from an organization
library(tiledbcloud)
var.organization <- 'organization_example' # character | organization name
var.username <- 'username_example' # character | username to manipulate
api.instance <- OrganizationApi$new()
# Configure API key authorization: ApiKeyAuth
api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY';
# Configure HTTP basic authorization: BasicAuth
api.instance$apiClient$username <- 'TODO_YOUR_USERNAME';
api.instance$apiClient$password <- 'TODO_YOUR_PASSWORD';
api.instance$DeleteUserFromOrganization(var.organization, var.username)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- organization | character| organization name | username | character| username to manipulate |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 204 | user delete from organization successfully | - | | 0 | error response | - |
array[Organization] GetAllOrganizations()
get all organizations that the user is member of
library(tiledbcloud)
api.instance <- OrganizationApi$new()
# Configure API key authorization: ApiKeyAuth
api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY';
# Configure HTTP basic authorization: BasicAuth
api.instance$apiClient$username <- 'TODO_YOUR_USERNAME';
api.instance$apiClient$password <- 'TODO_YOUR_PASSWORD';
result <- api.instance$GetAllOrganizations()
dput(result)
This endpoint does not need any parameter.
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | array of organizations the user is member of | - | | 400 | Error finding organizations | - | | 500 | Request user not found, or has empty context | - | | 0 | error response | - |
Organization GetOrganization(organization)
get a organization
library(tiledbcloud)
var.organization <- 'organization_example' # character | organization name or id
api.instance <- OrganizationApi$new()
# Configure API key authorization: ApiKeyAuth
api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY';
# Configure HTTP basic authorization: BasicAuth
api.instance$apiClient$username <- 'TODO_YOUR_USERNAME';
api.instance$apiClient$password <- 'TODO_YOUR_PASSWORD';
result <- api.instance$GetOrganization(var.organization)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- organization | character| organization name or id |
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | organization details | - | | 404 | Organization does not exist | - | | 0 | error response | - |
OrganizationUser GetOrganizationUser(organization, username)
get a user from an organization
library(tiledbcloud)
var.organization <- 'organization_example' # character | organization name
var.username <- 'username_example' # character | username to manipulate
api.instance <- OrganizationApi$new()
# Configure API key authorization: ApiKeyAuth
api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY';
# Configure HTTP basic authorization: BasicAuth
api.instance$apiClient$username <- 'TODO_YOUR_USERNAME';
api.instance$apiClient$password <- 'TODO_YOUR_PASSWORD';
result <- api.instance$GetOrganizationUser(var.organization, var.username)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- organization | character| organization name | username | character| username to manipulate |
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | user from organization | - | | 404 | User is not in organization | - | | 0 | error response | - |
UpdateAWSAccessCredentials(namespace, name, aws.access.credentials)
Update aws keys or associated buckets. This will update the key associations for each array in the namespace
library(tiledbcloud)
var.namespace <- 'namespace_example' # character | namespace
var.name <- 'name_example' # character | name
var.aws.access.credentials <- AWSAccessCredentials$new("secret_access_key_example", "access_key_id_example", "service_role_arn_example", "name_example", "default_example", list("buckets_example"), "created_at_example", "updated_at_example") # AWSAccessCredentials | aws credentials to update
api.instance <- OrganizationApi$new()
# Configure API key authorization: ApiKeyAuth
api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY';
# Configure HTTP basic authorization: BasicAuth
api.instance$apiClient$username <- 'TODO_YOUR_USERNAME';
api.instance$apiClient$password <- 'TODO_YOUR_PASSWORD';
api.instance$UpdateAWSAccessCredentials(var.namespace, var.name, var.aws.access.credentials)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- namespace | character| namespace | name | character| name | aws.access.credentials | AWSAccessCredentials| aws credentials to update |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 204 | AWS keys updated successfully | - | | 0 | error response | - |
UpdateOrganization(organization, organization.details)
update a organization
library(tiledbcloud)
var.organization <- 'organization_example' # character | organization name or id
var.organization.details <- Organization$new("id_example", OrganizationRoles$new(), "name_example", "created_at_example", "updated_at_example", "logo_example", "description_example", list(OrganizationUser$new("user_id_example", "organization_id_example", "username_example", "organization_name_example", OrganizationRoles$new(), list(NamespaceActions$new()))), list(NamespaceActions$new()), 123, list("enabled_features_example"), "unpaid_subscription_example", "default_s3_path_example", "default_s3_path_credentials_name_example", "stripe_connect_example") # Organization | organization details to update
api.instance <- OrganizationApi$new()
# Configure API key authorization: ApiKeyAuth
api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY';
# Configure HTTP basic authorization: BasicAuth
api.instance$apiClient$username <- 'TODO_YOUR_USERNAME';
api.instance$apiClient$password <- 'TODO_YOUR_PASSWORD';
api.instance$UpdateOrganization(var.organization, var.organization.details)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- organization | character| organization name or id | organization.details | Organization| organization details to update |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 204 | organization updated successfully | - | | 0 | error response | - |
UpdateUserInOrganization(organization, username, user)
update a user in an organization
library(tiledbcloud)
var.organization <- 'organization_example' # character | organization name
var.username <- 'username_example' # character | username to manipulate
var.user <- OrganizationUser$new("user_id_example", "organization_id_example", "username_example", "organization_name_example", OrganizationRoles$new(), list(NamespaceActions$new())) # OrganizationUser | user details to update
api.instance <- OrganizationApi$new()
# Configure API key authorization: ApiKeyAuth
api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY';
# Configure HTTP basic authorization: BasicAuth
api.instance$apiClient$username <- 'TODO_YOUR_USERNAME';
api.instance$apiClient$password <- 'TODO_YOUR_PASSWORD';
api.instance$UpdateUserInOrganization(var.organization, var.username, var.user)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- organization | character| organization name | username | character| username to manipulate | user | OrganizationUser| user details to update |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 204 | user update in organization successfully | - | | 0 | error response | - |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.