Skip to content

ItemShareReceivedDto

Endpoints · All schemas

FieldRequiredDescription
assetYesThe shared item
idYesShare ID
ownerYesWho shared it
sharedAtYesWhen it was shared

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.

Field definitions: AssetResponseDto, UserResponseDto

{
  "properties": {
    "asset": {
      "$ref": "#/components/schemas/AssetResponseDto",
      "description": "The shared item"
    },
    "id": {
      "description": "Share ID",
      "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"
    },
    "owner": {
      "$ref": "#/components/schemas/UserResponseDto",
      "description": "Who shared it"
    },
    "sharedAt": {
      "description": "When it was shared",
      "format": "date-time",
      "type": "string"
    }
  },
  "required": [
    "asset",
    "id",
    "owner",
    "sharedAt"
  ],
  "type": "object"
}