This page last changed on Jan 27, 2011 by awoods.
Convenience Variables
The curl commands below can be used directly if you define the following variables in your shell
DuraStore Notes
The curl commands in the DuraStore section expect a test file for uploads.
Note that if the target of a content or space retrieval (GET) has access permissions set to "OPEN", then the "-u" option in the curl commands is not required.
DuraStore
Get Stores
Get Spaces
Create Space
Store Content
Get Space
Set Space Metadata
Get Space Metadata
Get Content
Set Content Metadata
Get Content Metadata
Delete Content
Delete Space
DuraService Notes
The commands in the DuraService section below demonstrate the deployment, inspection, reconfiguration, and undeployment of a service.
As of release 0.8.0, the Bit Integrity Checker has service id of '0' (noted in variable below).
The actual deployment id is dynamically generated based on the number of previous deployments within a given DuraCloud application.
After deploying the service, use the "Get Deployed Service" call to determine the specific deployment id of your deployed service.
The following two service configuration files are provided for deployment and reconfiguration of the Bit Integrity Checker.
They are based on the spaces that were created in the DuraStore section, but can be modified to indicate other configuration options or to execute over alternate spaces.
- configuration file 0
- configuration file 1
DuraService
Get Services
Deploy Service
Get Service
Get Deployed Service
Get Deployed Service Properties
Update Service Configuration
UnDeploy Service
|