Box · Schema

Folder (Mini)

A mini representation of a file version, used when nested under another resource.

Cloud StorageCollaborationContent ManagementDocumentsEnterpriseFile Sharing
View JSON Schema on GitHub

JSON Schema

box-folder-mini-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Folder--Mini",
  "title": "Folder (Mini)",
  "type": "object",
  "x-box-resource-id": "folder--mini",
  "x-box-variant": "mini",
  "description": "A mini representation of a file version, used when\nnested under another resource.",
  "allOf": [
    {
      "$ref": "#/components/schemas/Folder--Base"
    },
    {
      "properties": {
        "sequence_id": {
          "allOf": [
            {
              "type": "string",
              "example": "3",
              "nullable": true,
              "description": "A numeric identifier that represents the most recent user event\nthat has been applied to this item.\n\nThis can be used in combination with the `GET /events`-endpoint\nto filter out user events that would have occurred before this\nidentifier was read.\n\nAn example would be where a Box Drive-like application\nwould fetch an item via the API, and then listen to incoming\nuser events for changes to the item. The application would\nignore any user events where the `sequence_id` in the event\nis smaller than or equal to the `sequence_id` in the originally\nfetched resource."
            },
            {
              "nullable": false
            }
          ]
        },
        "name": {
          "type": "string",
          "description": "The name of the folder.",
          "example": "Contracts",
          "nullable": false
        }
      }
    }
  ]
}