Add Collection

post

/mobile/tools/1.0/collections

Creates a storage collection in the asset catalog.

Request

Supported Media Types
  • application/json
Body Parameter
The storage collection representation for POST requests.
Root Schema : mosCollectionCreate
Type: object
The storage collection representation for POST requests.
Nested Schema : assetCreate
Type: object
The asset representation for POST requests.
Nested Schema : mosCollectionCreate-allOf[1]
Nested Schema : assetUpdate
Type: object
The asset representation for PUT requests.
Nested Schema : assetCreate-allOf[1]

Response

Supported Media Types
  • application/json
201 Response
The collection was created, and the metadata for the new collection was returned.
Headers
ETag
Type: string
The ETag corresponds to the state of the collection (that is, the value increments by one on each change operation). You can use this ETag with the `If-Match` HTTP header on a request.
Location
Type: string
URL to get to get the details about the new storage collection.
Body
The storage collection representation for GET requests.
Root Schema : mosCollectionGet
Type: object
The storage collection representation for GET requests.
Nested Schema : assetGet
Type: object
The asset representation for GET requests.
Nested Schema : mosCollectionGet-allOf[1]
Nested Schema : assetUpdate
Type: object
The asset representation for PUT requests.
Nested Schema : assetIdEtag
Type: object
The asset ID and entity tag (ETag) values.
Nested Schema : trash
Type: object
Indicator of whether the asset is in the trash.
Nested Schema : assetGet-allOf[3]
Nested Schema : entityLinksArray
Type: array
Minimum Number of Items: 0
An array of links for an entity's metadata.
Nested Schema : items
Type: object
Link to the entity's metadata.
400 Response
The storage collection specification is missing.
Body
Root Schema : error
Type: object
Nested Schema : errorDetails
Type: object
409 Response
A storage collection with the same name already exists.
Body
Root Schema : error
Type: object
Nested Schema : errorDetails
Type: object