Collections

Add asset to collection

Add an asset to a collection with optional position and role.

post/api/v1/collections/{collectionH}/assets

Request

  • Base URL: https://numonic.ai
  • URL: https://numonic.ai/api/v1/collections/{collectionH}/assets
  • Auth: API key in header x-api-key

Path parameters

collectionHstring required

Collection hash (40-char hex SHA-1)

Example:a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2

Request body

assetHstring required
positioninteger
rolestring

Response

Asset added to collection

messagestring required

Human-readable success message

Example response

{
  "message": "Operation completed successfully"
}

Changes

No recorded changes to this operation across all 1 revision of this API.