Capsule
Prerequisites
Generated Access Token with Capsule scope
The Capsule ID
You can find the Capsule's ID in metadata.
id
string
Capsule ID
created
int64
Capsule creation timename
string
Capsule display name
status
enum
Sttatus of the Capsule
non_published, submitted, publishing, published, verified
owner
string
Capsule owner’s ID
slug
string
Alternate Capsule ID
description
string
Capsule description
field
string
Capsule research field
original_capsule
dictionary
(Optional)Original Capsule Info
id
string
Original Capsule id
major_version
integer
Original Capsule major version
minor_version
integer
Original Capsule minor versionname
string
Original Capsule name
created
int64
Original Capsule creation data
public
boolean
Indicates whether the original Capsule is public
published_capsule
string
(Optional)Published Capsule ID
submission
dictionary
(Optional)timestamp
int64
Submission time
commit
string
Submission commit hash
verification_capsule
string
Verification Capsule ID
verified
boolean
Indicates whether the Capsule was verified
verified_timestamp
int64
Verification time
versions
dictionary
(Optional)Capsule versions
major_version
integer
The Capsule major version
minor_version
integer
The Capsule minor version
publish_time
int64
The version publishing time
doi
string
Version DOI
keywords
list<string>
(Optional)article
dictionary
(Optional)Capsule article info.
url
string
Article URL
id
string
Article ID
doi
string
Article DOI
citation
string
Article citation
state
enum
Article state
in_review, published
name
string
Article name
journal_name
string
Articles journal name
publish_time
int64
Article publish time
Get Capsule
GET
https://{domain}/api/v1/capsules/{capsule_id}
This API allows for the retrieval of the metadata for your Capsule.
Path Parameters
Name | Type |
---|---|
| string |
Scope
Type | Permission |
---|---|
Capsule | Read |
Listing Capsule Computations
GET
https://{domain}/api/v1/capsules/{capsule_id}/computations
This API allows for the retrieval of Computations from a Capsule.
Path Parameters
Name | Type |
---|---|
| string |
Scope
Type | Permission |
---|---|
Capsule | Read |
Attach Data Assets
POST
https://{domain}/api/v1/capsules/{capsule_id}/data_assets
Path Parameters
Name | Type |
---|---|
| string |
Request Body
List of DataAssetAttachParams
:
Name | Type | Description |
---|---|---|
| string | Data Asset ID |
| string | (Optional) Folder to mount data |
Scope
Type | Permission |
---|---|
Capsule | Read and Write |
Data Asset | Read and Write |
Detach Data Assets
DELETE
https://{domain}/api/v1/capsules/{capsule_id}/data_assets
This API detaches one or many Data Assets from a Capsule/Pipeline.
Prerequisite
Before using this API call, you may need AWS Cloud Credentials configured as Secrets or an Assumable Role, if you are using Data Assets from Cloud Sources.
Path Parameters
Name | Type |
---|---|
| string |
Request Body
List of Data Asset IDs to deatach.
Scope
Type | Permission |
---|---|
Capsule | Read and Write |
Data Asset | Read and Write |