Skip to content

ItemShareChangeDto

Endpoints · All schemas

FieldRequiredDescription
assetIdsYesThe items (your own) to share or stop sharing
userIdsYesThe people in this library to share them with, or to stop sharing them with

Complete definition

required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.

{
  "properties": {
    "assetIds": {
      "description": "The items (your own) to share or stop sharing",
      "items": {
        "format": "uuid",
        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
        "type": "string"
      },
      "maxItems": 1000,
      "minItems": 1,
      "type": "array"
    },
    "userIds": {
      "description": "The people in this library to share them with, or to stop sharing them with",
      "items": {
        "format": "uuid",
        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
        "type": "string"
      },
      "maxItems": 100,
      "minItems": 1,
      "type": "array"
    }
  },
  "required": [
    "assetIds",
    "userIds"
  ],
  "type": "object"
}