{
  "opencollection": "1.0.0",
  "info": {
    "name": "Box Authorize Authorization Metadata Cascade Policies API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Metadata Cascade Policies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Box List metadata cascade policies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/metadata_cascade_policies",
            "params": [
              {
                "name": "folder_id",
                "value": "31232",
                "type": "query",
                "description": "Specifies which folder to return policies for. This can not be used on the\nroot folder with ID `0`."
              },
              {
                "name": "owner_enterprise_id",
                "value": "31232",
                "type": "query",
                "description": "The ID of the enterprise ID for which to find metadata\ncascade policies. If not specified, it defaults to the\ncurrent enterprise."
              },
              {
                "name": "marker",
                "value": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii",
                "type": "query",
                "description": "Defines the position marker at which to begin returning results. This is\nused when paginating using marker-based pagination.\n\nThis requires `usemarker` to be set to `true`."
              },
              {
                "name": "offset",
                "value": "1000",
                "type": "query",
                "description": "The offset of the item at which to begin the response.\n\nQueries with offset parameter value\nexceeding 10000 will be rejected\nwith a 400 response."
              }
            ]
          },
          "docs": "Retrieves a list of all the metadata cascade policies\nthat are applied to a given folder. This can not be used on the root\nfolder with ID `0`."
        },
        {
          "info": {
            "name": "Box Create metadata cascade policy",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/metadata_cascade_policies",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new metadata cascade policy that applies a given\nmetadata template to a given folder and automatically\ncascades it down to any files within that folder.\n\nIn order for the policy to be applied a metadata instance must first\nbe applied to the folder the policy is to be applied to."
        },
        {
          "info": {
            "name": "Box Get metadata cascade policy",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/metadata_cascade_policies/:metadata_cascade_policy_id",
            "params": [
              {
                "name": "metadata_cascade_policy_id",
                "value": "6fd4ff89-8fc1-42cf-8b29-1890dedd26d7",
                "type": "path",
                "description": "The ID of the metadata cascade policy."
              }
            ]
          },
          "docs": "Retrieve a specific metadata cascade policy assigned to a folder."
        },
        {
          "info": {
            "name": "Box Remove metadata cascade policy",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/metadata_cascade_policies/:metadata_cascade_policy_id",
            "params": [
              {
                "name": "metadata_cascade_policy_id",
                "value": "6fd4ff89-8fc1-42cf-8b29-1890dedd26d7",
                "type": "path",
                "description": "The ID of the metadata cascade policy."
              }
            ]
          },
          "docs": "Deletes a metadata cascade policy."
        },
        {
          "info": {
            "name": "Box Force-apply metadata cascade policy to folder",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/metadata_cascade_policies/:metadata_cascade_policy_id/apply",
            "params": [
              {
                "name": "metadata_cascade_policy_id",
                "value": "6fd4ff89-8fc1-42cf-8b29-1890dedd26d7",
                "type": "path",
                "description": "The ID of the cascade policy to force-apply."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Force the metadata on a folder with a metadata cascade policy to be applied to\nall of its children. This can be used after creating a new cascade policy to\nenforce the metadata to be cascaded down to all existing files within that\nfolder."
        }
      ]
    }
  ],
  "bundled": true
}