Params

Param name Description
data
required

shared item information

Validations:

  • Must be a Hash

data[type]
required

Validations:

data[attributes]
required

Validations:

  • Must be a Hash

data[attributes][permission]
required

Share permission

Validations:

  • Must be a String

data[relationships]
required

Validations:

  • Must be a Hash

data[relationships][account]
required

Validations:

  • Must be a Hash

data[relationships][account][data]
required

Validations:

  • Must be a Hash

data[relationships][account][data][type]
required

should be `accounts`

Validations:

  • Must be a String

data[relationships][account][data][id]
required

Account ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.

data[relationships][shareable]
required

Validations:

  • Must be a Hash

data[relationships][shareable][data]
required

Validations:

  • Must be a Hash

data[relationships][shareable][data][type]
required

asset type: which can be `locker-items`, `watchlists`

Validations:

  • Must be a String

data[relationships][shareable][data][id]
required

asset ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hyphen(-) with no leading or trailing space.