ArrayApi | R Documentation |
tiledbcloud.Array
An R6Class
generator object
ArrayActivityLog get array activity logs
@param namespace character
@param array character
@param start integer
@param end integer
@param event.types character
@param task.id character
@returnType list( ArrayActivityLog )
status code : 200 | log of array activity
return type : array[ArrayActivityLog]
response headers :
status code : 0 | error response
return type : Error
response headers :
ArraysBrowserOwnedGet Fetch a list of all arrays that are owned directly by user or user's organizations
@param page integer
@param per.page integer
@param search character
@param namespace character
@param orderby character
@param permissions character
@param tag list( character )
@returnType ArrayBrowserData
status code : 200 | Array of array info that are owned directly by user or user's organizations
return type : ArrayBrowserData
response headers :
status code : 0 | error response
return type : Error
response headers :
ArraysBrowserOwnedSidebarGet Fetch a sidebar for arrays that are owned directly by user or user's organizations
@returnType ArrayBrowserSidebar
status code : 200 | Array of array info that are owned directly by user or user's organizations
return type : ArrayBrowserSidebar
response headers :
status code : 0 | error response
return type : Error
response headers :
ArraysBrowserPublicGet Fetch a list of all arrays that have been shared publically
@param page integer
@param per.page integer
@param search character
@param namespace character
@param orderby character
@param permissions character
@param tag list( character )
@returnType ArrayBrowserData
status code : 200 | Array of array info that has been shared publically
return type : ArrayBrowserData
response headers :
status code : 0 | error response
return type : Error
response headers :
ArraysBrowserPublicSidebarGet Fetch a sidebar of all arrays that have been shared publically
@returnType ArrayBrowserSidebar
status code : 200 | Array of array info that has been shared publically
return type : ArrayBrowserSidebar
response headers :
status code : 0 | error response
return type : Error
response headers :
ArraysBrowserSharedGet Fetch a list of all arrays that have been shared with the user
@param page integer
@param per.page integer
@param search character
@param namespace character
@param orderby character
@param permissions character
@param tag list( character )
@returnType ArrayBrowserData
status code : 200 | Array of array info that has been shared with the user
return type : ArrayBrowserData
response headers :
status code : 0 | error response
return type : Error
response headers :
ArraysBrowserSharedSidebarGet Fetch a list of all arrays that have been shared with the user
@returnType ArrayBrowserSidebar
status code : 200 | Array of array info that has been shared with the user
return type : ArrayBrowserSidebar
response headers :
status code : 0 | error response
return type : Error
response headers :
CreateArray create a array schema at a specified URI registered to a group/project
@param namespace character
@param array character
@param content.type character
@param array.schema ArraySchema
status code : 204 | schema created successfully
response headers :
status code : 0 | error response
return type : Error
response headers :
DeleteArray delete a array
@param namespace character
@param array character
@param content.type character
status code : 204 | delete array successful
response headers :
status code : 0 | error response
return type : Error
response headers :
DeregisterArray deregister a array
@param namespace character
@param array character
status code : 204 | deregistered array successful
response headers :
status code : 0 | error response
return type : Error
response headers :
GetAllArrayMetadata get all array metadata user has access to
@param public.share character
@returnType list( ArrayInfo )
status code : 200 | array metadata for all arrays user has access to
return type : array[ArrayInfo]
response headers :
status code : 0 | error response
return type : Error
response headers :
GetArray get an ArraySchema using a url encoded uri
@param namespace character
@param array character
@param content.type character
@returnType ArraySchema
status code : 200 | get ArraySchema
return type : ArraySchema
response headers :
status code : 0 | error response
return type : Error
response headers :
GetArrayMaxBufferSizes get the max buffer sizes of an array for a subarray
@param namespace character
@param array character
@param subarray character
@param content.type character
@param x.payer character
@returnType MaxBufferSizes
status code : 200 | get the max buffer sizes of an array for a subarray
return type : MaxBufferSizes
response headers :
status code : 0 | error response
return type : Error
response headers :
GetArrayMetaDataJson get metadata from the array in json format
@param namespace character
@param array character
@param length integer
status code : 200 | get array metadata
return type : object
response headers :
status code : 0 | error response
return type : Error
response headers :
GetArrayMetadata get metadata on an array
@param namespace character
@param array character
@returnType ArrayInfo
status code : 200 | array metadata for an array
return type : ArrayInfo
response headers :
status code : 0 | error response
return type : Error
response headers :
GetArrayNonEmptyDomain get the non empty domain of an array
@param namespace character
@param array character
@param content.type character
@param x.payer character
@returnType NonEmptyDomain
status code : 200 | get the non empty domain of an array
return type : NonEmptyDomain
response headers :
status code : 0 | error response
return type : Error
response headers :
GetArraySampleData get an sample set of data from the array
@param namespace character
@param array character
@param samples numeric
@returnType ArraySample
status code : 200 | get array sample data
return type : ArraySample
response headers :
status code : 0 | error response
return type : Error
response headers :
GetArraySharingPolicies Get all sharing details of the array
@param namespace character
@param array character
@returnType list( ArraySharing )
status code : 200 | List of all specific sharing policies
return type : array[ArraySharing]
response headers :
status code : 404 | Array does not exist or user does not have permissions to view array sharing policies
response headers :
status code : 0 | error response
return type : Error
response headers :
GetArraysInNamespace get metadata on all arrays in a namespace
@param namespace character
@returnType list( ArrayInfo )
status code : 200 | array metadata for all arrays in a namespace
return type : array[ArrayInfo]
response headers :
status code : 0 | error response
return type : Error
response headers :
GetLastAccessedArrays
@returnType list( LastAccessedArray )
status code : 200 | gets last accessed arrays
return type : array[LastAccessedArray]
response headers :
status code : 0 | error response
return type : Error
response headers :
RegisterArray register an array at a specified URI registered to the given namespace
@param namespace character
@param array character
@param array.metadata ArrayInfoUpdate
status code : 204 | schema registered successfully
response headers :
status code : 0 | error response
return type : Error
response headers :
ShareArray Share an array with a user
@param namespace character
@param array character
@param array.sharing ArraySharing
status code : 204 | Array shared successfully
response headers :
status code : 404 | Array does not exist or user does not have permissions to share array
response headers :
status code : 0 | error response
return type : Error
response headers :
UpdateArrayMetadata update metadata on an array
@param namespace character
@param array character
@param array.metadata ArrayInfoUpdate
status code : 204 | array metadata updated successfully
response headers :
status code : 0 | error response
return type : Error
response headers :
apiClient
Handles the client-server communication.
new()
ArrayApi$new(apiClient)
ArrayActivityLog()
ArrayApi$ArrayActivityLog( namespace, array, start = NULL, end = NULL, event.types = NULL, task.id = NULL, ... )
ArrayActivityLogWithHttpInfo()
ArrayApi$ArrayActivityLogWithHttpInfo( namespace, array, start = NULL, end = NULL, event.types = NULL, task.id = NULL, ... )
ArraysBrowserOwnedGet()
ArrayApi$ArraysBrowserOwnedGet( page = NULL, per.page = NULL, search = NULL, namespace = NULL, orderby = NULL, permissions = NULL, tag = NULL, ... )
ArraysBrowserOwnedGetWithHttpInfo()
ArrayApi$ArraysBrowserOwnedGetWithHttpInfo( page = NULL, per.page = NULL, search = NULL, namespace = NULL, orderby = NULL, permissions = NULL, tag = NULL, ... )
ArraysBrowserOwnedSidebarGet()
ArrayApi$ArraysBrowserOwnedSidebarGet(...)
ArraysBrowserOwnedSidebarGetWithHttpInfo()
ArrayApi$ArraysBrowserOwnedSidebarGetWithHttpInfo(...)
ArraysBrowserPublicGet()
ArrayApi$ArraysBrowserPublicGet( page = NULL, per.page = NULL, search = NULL, namespace = NULL, orderby = NULL, permissions = NULL, tag = NULL, ... )
ArraysBrowserPublicGetWithHttpInfo()
ArrayApi$ArraysBrowserPublicGetWithHttpInfo( page = NULL, per.page = NULL, search = NULL, namespace = NULL, orderby = NULL, permissions = NULL, tag = NULL, ... )
ArraysBrowserPublicSidebarGet()
ArrayApi$ArraysBrowserPublicSidebarGet(...)
ArraysBrowserPublicSidebarGetWithHttpInfo()
ArrayApi$ArraysBrowserPublicSidebarGetWithHttpInfo(...)
ArraysBrowserSharedGet()
ArrayApi$ArraysBrowserSharedGet( page = NULL, per.page = NULL, search = NULL, namespace = NULL, orderby = NULL, permissions = NULL, tag = NULL, ... )
ArraysBrowserSharedGetWithHttpInfo()
ArrayApi$ArraysBrowserSharedGetWithHttpInfo( page = NULL, per.page = NULL, search = NULL, namespace = NULL, orderby = NULL, permissions = NULL, tag = NULL, ... )
ArraysBrowserSharedSidebarGet()
ArrayApi$ArraysBrowserSharedSidebarGet(...)
ArraysBrowserSharedSidebarGetWithHttpInfo()
ArrayApi$ArraysBrowserSharedSidebarGetWithHttpInfo(...)
CreateArray()
ArrayApi$CreateArray(namespace, array, content.type, array.schema, ...)
CreateArrayWithHttpInfo()
ArrayApi$CreateArrayWithHttpInfo( namespace, array, content.type, array.schema, ... )
DeleteArray()
ArrayApi$DeleteArray(namespace, array, content.type, ...)
DeleteArrayWithHttpInfo()
ArrayApi$DeleteArrayWithHttpInfo(namespace, array, content.type, ...)
DeregisterArray()
ArrayApi$DeregisterArray(namespace, array, ...)
DeregisterArrayWithHttpInfo()
ArrayApi$DeregisterArrayWithHttpInfo(namespace, array, ...)
GetAllArrayMetadata()
ArrayApi$GetAllArrayMetadata(public.share = NULL, ...)
GetAllArrayMetadataWithHttpInfo()
ArrayApi$GetAllArrayMetadataWithHttpInfo(public.share = NULL, ...)
GetArray()
ArrayApi$GetArray(namespace, array, content.type, ...)
GetArrayWithHttpInfo()
ArrayApi$GetArrayWithHttpInfo(namespace, array, content.type, ...)
GetArrayMaxBufferSizes()
ArrayApi$GetArrayMaxBufferSizes( namespace, array, subarray, content.type, x.payer = NULL, ... )
GetArrayMaxBufferSizesWithHttpInfo()
ArrayApi$GetArrayMaxBufferSizesWithHttpInfo( namespace, array, subarray, content.type, x.payer = NULL, ... )
GetArrayMetaDataJson()
ArrayApi$GetArrayMetaDataJson(namespace, array, length = NULL, ...)
GetArrayMetaDataJsonWithHttpInfo()
ArrayApi$GetArrayMetaDataJsonWithHttpInfo(namespace, array, length = NULL, ...)
GetArrayMetadata()
ArrayApi$GetArrayMetadata(namespace, array, ...)
GetArrayMetadataWithHttpInfo()
ArrayApi$GetArrayMetadataWithHttpInfo(namespace, array, ...)
GetArrayNonEmptyDomain()
ArrayApi$GetArrayNonEmptyDomain( namespace, array, content.type, x.payer = NULL, ... )
GetArrayNonEmptyDomainWithHttpInfo()
ArrayApi$GetArrayNonEmptyDomainWithHttpInfo( namespace, array, content.type, x.payer = NULL, ... )
GetArraySampleData()
ArrayApi$GetArraySampleData(namespace, array, samples = 5, ...)
GetArraySampleDataWithHttpInfo()
ArrayApi$GetArraySampleDataWithHttpInfo(namespace, array, samples = 5, ...)
GetArraySharingPolicies()
ArrayApi$GetArraySharingPolicies(namespace, array, ...)
GetArraySharingPoliciesWithHttpInfo()
ArrayApi$GetArraySharingPoliciesWithHttpInfo(namespace, array, ...)
GetArraysInNamespace()
ArrayApi$GetArraysInNamespace(namespace, ...)
GetArraysInNamespaceWithHttpInfo()
ArrayApi$GetArraysInNamespaceWithHttpInfo(namespace, ...)
GetLastAccessedArrays()
ArrayApi$GetLastAccessedArrays(...)
GetLastAccessedArraysWithHttpInfo()
ArrayApi$GetLastAccessedArraysWithHttpInfo(...)
RegisterArray()
ArrayApi$RegisterArray(namespace, array, array.metadata, ...)
RegisterArrayWithHttpInfo()
ArrayApi$RegisterArrayWithHttpInfo(namespace, array, array.metadata, ...)
ShareArray()
ArrayApi$ShareArray(namespace, array, array.sharing, ...)
ShareArrayWithHttpInfo()
ArrayApi$ShareArrayWithHttpInfo(namespace, array, array.sharing, ...)
UpdateArrayMetadata()
ArrayApi$UpdateArrayMetadata(namespace, array, array.metadata, ...)
UpdateArrayMetadataWithHttpInfo()
ArrayApi$UpdateArrayMetadataWithHttpInfo(namespace, array, array.metadata, ...)
clone()
The objects of this class are cloneable with this method.
ArrayApi$clone(deep = FALSE)
deep
Whether to make a deep clone.
## Not run: #################### ArrayActivityLog #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace array is in (an organization name or user's username) var.array <- 'array_example' # character | name/uri of array that is url-encoded var.start <- 56 # integer | Start time of window of fetch logs, unix epoch in seconds (default: seven days ago) var.end <- 56 # integer | End time of window of fetch logs, unix epoch in seconds (default: current utc timestamp) var.event.types <- 'event.types_example' # character | Event values can be one or more of the following read, write, create, delete, register, deregister, comma separated var.task.id <- 'task.id_example' # character | Array task id To filter activity to api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$ArrayActivityLog(var.namespace, var.array, start=var.start, end=var.end, event.types=var.event.types, task.id=var.task.id) #################### ArraysBrowserOwnedGet #################### library(tiledbcloud) var.page <- 56 # integer | pagination offset var.per.page <- 56 # integer | pagination limit var.search <- 'search_example' # character | search string that will look at name, namespace or description fields var.namespace <- 'namespace_example' # character | namespace var.orderby <- 'orderby_example' # character | sort by which field valid values include last_accessed, size, name var.permissions <- 'permissions_example' # character | permissions valid values include read, read_write, write, admin var.tag <- ['tag_example'] # array[character] | tag to search for, more than one can be included api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$ArraysBrowserOwnedGet(page=var.page, per.page=var.per.page, search=var.search, namespace=var.namespace, orderby=var.orderby, permissions=var.permissions, tag=var.tag) #################### ArraysBrowserOwnedSidebarGet #################### library(tiledbcloud) api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$ArraysBrowserOwnedSidebarGet() #################### ArraysBrowserPublicGet #################### library(tiledbcloud) var.page <- 56 # integer | pagination offset var.per.page <- 56 # integer | pagination limit var.search <- 'search_example' # character | search string that will look at name, namespace or description fields var.namespace <- 'namespace_example' # character | namespace var.orderby <- 'orderby_example' # character | sort by which field valid values include last_accessed, size, name var.permissions <- 'permissions_example' # character | permissions valid values include read, read_write, write, admin var.tag <- ['tag_example'] # array[character] | tag to search for, more than one can be included api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$ArraysBrowserPublicGet(page=var.page, per.page=var.per.page, search=var.search, namespace=var.namespace, orderby=var.orderby, permissions=var.permissions, tag=var.tag) #################### ArraysBrowserPublicSidebarGet #################### library(tiledbcloud) api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$ArraysBrowserPublicSidebarGet() #################### ArraysBrowserSharedGet #################### library(tiledbcloud) var.page <- 56 # integer | pagination offset var.per.page <- 56 # integer | pagination limit var.search <- 'search_example' # character | search string that will look at name, namespace or description fields var.namespace <- 'namespace_example' # character | namespace var.orderby <- 'orderby_example' # character | sort by which field valid values include last_accessed, size, name var.permissions <- 'permissions_example' # character | permissions valid values include read, read_write, write, admin var.tag <- ['tag_example'] # array[character] | tag to search for, more than one can be included api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$ArraysBrowserSharedGet(page=var.page, per.page=var.per.page, search=var.search, namespace=var.namespace, orderby=var.orderby, permissions=var.permissions, tag=var.tag) #################### ArraysBrowserSharedSidebarGet #################### library(tiledbcloud) api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$ArraysBrowserSharedSidebarGet() #################### CreateArray #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace array is in (an organization name or user's username) var.array <- 'array_example' # character | name/uri of array that is url-encoded var.content.type <- 'application/json' # character | Content Type of input and return mime var.array.schema <- ArraySchema$new() # ArraySchema | ArraySchema being created api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$CreateArray(var.namespace, var.array, var.content.type, var.array.schema) #################### DeleteArray #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace array is in (an organization name or user's username) var.array <- 'array_example' # character | name/uri of array that is url-encoded var.content.type <- 'application/json' # character | Content Type of input and return mime api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$DeleteArray(var.namespace, var.array, var.content.type) #################### DeregisterArray #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace array is in (an organization name or user's username) var.array <- 'array_example' # character | name/uri of array that is url-encoded api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$DeregisterArray(var.namespace, var.array) #################### GetAllArrayMetadata #################### library(tiledbcloud) var.public.share <- 'public.share_example' # character | Public share values can be one of exclude, only api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$GetAllArrayMetadata(public.share=var.public.share) #################### GetArray #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace array is in (an organization name or user's username) var.array <- 'array_example' # character | name/uri of array that is url-encoded var.content.type <- 'application/json' # character | Content Type of input and return mime api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$GetArray(var.namespace, var.array, var.content.type) #################### GetArrayMaxBufferSizes #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace array is in (an organization name or user's username) var.array <- 'array_example' # character | name/uri of array that is url-encoded var.subarray <- 'subarray_example' # character | CSV string of subarray to get max buffer sizes for var.content.type <- 'application/json' # character | Content Type of input and return mime var.x.payer <- 'x.payer_example' # character | Name of organization or user who should be charged for this request api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$GetArrayMaxBufferSizes(var.namespace, var.array, var.subarray, var.content.type, x.payer=var.x.payer) #################### GetArrayMetaDataJson #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace array is in (an organization name or user's username) var.array <- 'array_example' # character | name/uri of array that is url-encoded var.length <- 56 # integer | (optional) limit character length of returned values api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$GetArrayMetaDataJson(var.namespace, var.array, length=var.length) #################### GetArrayMetadata #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace array is in (an organization name or user's username) var.array <- 'array_example' # character | name/uri of array that is url-encoded api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$GetArrayMetadata(var.namespace, var.array) #################### GetArrayNonEmptyDomain #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace array is in (an organization name or user's username) var.array <- 'array_example' # character | name/uri of array that is url-encoded var.content.type <- 'application/json' # character | Content Type of input and return mime var.x.payer <- 'x.payer_example' # character | Name of organization or user who should be charged for this request api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$GetArrayNonEmptyDomain(var.namespace, var.array, var.content.type, x.payer=var.x.payer) #################### GetArraySampleData #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace array is in (an organization name or user's username) var.array <- 'array_example' # character | name/uri of array that is url-encoded var.samples <- 5.0 # numeric | Number of sample results to return api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$GetArraySampleData(var.namespace, var.array, samples=var.samples) #################### GetArraySharingPolicies #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace array is in (an organization name or user's username) var.array <- 'array_example' # character | name/uri of array that is url-encoded api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$GetArraySharingPolicies(var.namespace, var.array) #################### GetArraysInNamespace #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace array is in (an organization name or user's username) api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$GetArraysInNamespace(var.namespace) #################### GetLastAccessedArrays #################### library(tiledbcloud) api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$GetLastAccessedArrays() #################### RegisterArray #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace array is in (an organization name or user's username) var.array <- 'array_example' # character | name/uri of array that is url-encoded var.array.metadata <- ArrayInfoUpdate$new() # ArrayInfoUpdate | metadata associated with array api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$RegisterArray(var.namespace, var.array, var.array.metadata) #################### ShareArray #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace array is in (an organization name or user's username) var.array <- 'array_example' # character | name/uri of array that is url-encoded var.array.sharing <- ArraySharing$new() # ArraySharing | Namespace and list of permissions to share with. An empty list of permissions will remove the namespace, if permissions already exist they will be deleted then new ones added. In the event of a failure, the new polcies will be rolled back to prevent partial policies, and its likely the array will not be shared with the namespace at all api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$ShareArray(var.namespace, var.array, var.array.sharing) #################### UpdateArrayMetadata #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace array is in (an organization name or user's username) var.array <- 'array_example' # character | name/uri of array that is url-encoded var.array.metadata <- ArrayInfoUpdate$new() # ArrayInfoUpdate | array metadata to update api.instance <- ArrayApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$UpdateArrayMetadata(var.namespace, var.array, var.array.metadata) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.