Recipes
Use the Config API to create a new storage group to house your content.
- Configure your client authentication
- Form the request
- Obtain your contractId
Create a storage group
Use the Config API to create a new storage group to house your content.
8 stepsOpen RecipeCreate a NetStorage CP code
Follow these steps to create a unique CP code for NetStorage with the Config API.
5 stepsOpen RecipeList unused NetStorage CP codes
Use the Config API to list unused NetStorage CP codes. This allows you to identify CP codes you can assign to a storage group.
5 stepsOpen RecipeList used NetStorage CP codes
Use the Config API to list CP codes in use with NetStorage. This allows you to identify which CP codes already have a storage group assignment.
4 stepsOpen RecipeList upload accounts
Use the Config API to view a list of upload accounts on your contract. You’ll need the uploadAccountId returned in the response for other API calls.
4 stepsOpen RecipeCreate an upload account
Use the Config API to create an account that allows you to upload assets to NetStorage.
9 stepsOpen RecipeUpload a single file with SFTP
This example shows you how to upload a local file to a remote directory via SFTP by using the put command.
6 stepsOpen RecipeExample OpenSSH SFTP connection
This example shows you how to establish a connection with the OpenSSH SFTP client.
4 stepsOpen RecipeList storage groups
Use the Config API to view a list of storage groups on your contract. You’ll need the storageGroupId returned in the response for other API calls.
4 stepsOpen RecipeExample OpenSSH CMShell connection
This example shows you how to establish a connection to CMShell with the OpenSSH client.
4 stepsOpen RecipeCreate a "serve from zip" compatible archive
Use CMShell to rewrite a ZIP archive file into a serve from zip file format by using the az2z command.
5 stepsOpen RecipeGet a storage group
Use the Config API to get details of an individual storage group. You’ll need the storageGroupId returned in the response of list storage groups to run this operation.
5 stepsOpen RecipeUpdate a storage group
Use the Config API to update operating parameters, or the name of an existing storage group.
6 stepsOpen RecipeGet an upload account
Use the Config API to view the details of an upload account on your contract. You’ll need the uploadAccountId returned in the list upload accounts operation.
5 stepsOpen RecipeUpdate an upload account
Use the Config API to update operating parameters, or the name of an existing upload account.
6 stepsOpen RecipeList replication zones
Use the Config API to get a list of geographic regions (zones) to replicate your content.
4 stepsOpen Recipe
