Box · Schema

Recent item

A recent item accessed by a user.

Cloud StorageCollaborationContent ManagementDocumentsEnterpriseFile Sharing

Properties

Name Type Description
type string `recent_item`
item object
interaction_type string The most recent type of access the user performed on the item.
interacted_at string The time of the most recent interaction.
interaction_shared_link string If the item was accessed through a shared link it will appear here, otherwise this will be null.
View JSON Schema on GitHub

JSON Schema

box-recentitem-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RecentItem",
  "title": "Recent item",
  "type": "object",
  "x-box-resource-id": "recent_item",
  "description": "A recent item accessed by a user.",
  "x-box-tag": "recent_items",
  "properties": {
    "type": {
      "type": "string",
      "description": "`recent_item`",
      "example": "recent_item"
    },
    "item": {
      "allOf": [
        {
          "oneOf": [
            {
              "$ref": "#/components/schemas/File--Full"
            },
            {
              "$ref": "#/components/schemas/Folder--Full"
            },
            {
              "$ref": "#/components/schemas/WebLink"
            }
          ]
        },
        {
          "description": "The item that was recently accessed."
        }
      ]
    },
    "interaction_type": {
      "type": "string",
      "example": "item_preview",
      "description": "The most recent type of access the user performed on\nthe item.",
      "enum": [
        "item_preview",
        "item_upload",
        "item_comment",
        "item_open",
        "item_modify"
      ]
    },
    "interacted_at": {
      "type": "string",
      "format": "date-time",
      "description": "The time of the most recent interaction.",
      "example": "2018-04-13T13:53:23-07:00"
    },
    "interaction_shared_link": {
      "type": "string",
      "example": "https://www.box.com/shared/static/rh935iit6ewrmw0unyul.jpeg",
      "description": "If the item was accessed through a shared link it will appear here,\notherwise this will be null."
    }
  }
}