Capsule
Last updated
Was this helpful?
Last updated
Was this helpful?
Generated with Capsule scope
The Capsule ID
You can find the Capsule's ID in metadata.
idstring
Capsule ID
created int64
Capsule creation time
name string
Capsule display name
statusenum
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
fieldstring
Capsule research field
original_capsuledictionary
(Optional)
Original Capsule Info
idstring
Original Capsule id
major_version integer
Original Capsule major version
minor_version integer
Original Capsule minor version
namestring
Original Capsule name
createdint64
Original Capsule creation data
publicboolean
Indicates whether the original Capsule is public
published_capsulestring
(Optional)
Published Capsule ID
submissiondictionary
(Optional)
timestampint64
Submission time
commit string
Submission commit hash
verification_capsulestring
Verification Capsule ID
verifiedboolean
Indicates whether the Capsule was verified
verified_timestampint64
Verification time
versionsdictionary
(Optional)
Capsule versions
major_versioninteger
The Capsule major version
minor_versioninteger
The Capsule minor version
publish_timeint64
The version publishing time
doistring
Version DOI
keywordslist<string>
(Optional)
articledictionary
(Optional)
Capsule article info.
urlstring
Article URL
idstring
Article ID
doistring
Article DOI
citationstring
Article citation
stateenum
Article state
in_review, published
namestring
Article name
journal_namestring
Articles journal name
publish_timeint64
Article publish time
GET
https://{codeocean-domain}/api/v1/capsules/{capsule_id}
This API allows for the retrieval of the metadata for your Capsule.
capsule_id
*
string
Scope
Capsule
Read
GET
https://{codeocean-domain}/api/v1/capsules/{capsule_id}/computations
This API allows for the retrieval of Computations from a Capsule.
capsule_id
*
string
Scope
Capsule
Read
POST
https://{codeocean-domain}/api/v1/capsules/{capsule_id}/data_assets
capsule_id
*
string
List of DataAssetAttachParams
:
id
*
string
Data Asset ID
mount
string
(Optional)
Folder to mount data
Scope
Capsule
Read and Write
Data Asset
Read and Write
DELETE
https://{codeocean-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.
capsule_id
*
string
List of Data Asset IDs to detach.
Scope
Capsule
Read and Write
Data Asset
Read and Write
List of