{
  "opencollection": "1.0.0",
  "info": {
    "name": "VAST API Swagger Schema activedirectory snapshotpolicies API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "ApiToken",
      "value": "{{ApiToken}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "snapshotpolicies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Snapshot Policies (deprecated from VAST Cluster 3.4)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/snapshotpolicies/",
            "params": [
              {
                "name": "path",
                "value": "",
                "type": "query",
                "description": "Filter by snapshot path"
              },
              {
                "name": "last_operation_state",
                "value": "",
                "type": "query",
                "description": "Filter by last operation state"
              },
              {
                "name": "schedule",
                "value": "",
                "type": "query",
                "description": "Filter by schedule"
              },
              {
                "name": "enabled",
                "value": "",
                "type": "query",
                "description": "Filter to return only enabled snapshots"
              }
            ]
          },
          "docs": "This endpoint returns the list of snapshot policies. The list can be filtered. It is deprecated from VAST Cluster 3.4. Use /protectionpolicies/."
        },
        {
          "info": {
            "name": "Create a Snapshot Policy (deprecated from VAST Cluster 3.4)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/snapshotpolicies/",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint creates a snapshot policy. It is deprecated from VAST Cluster 3.4. Use /protectionpolicies/."
        },
        {
          "info": {
            "name": "Return Details of a Snapshot Policy (deprecated from VAST Cluster 3.4)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/snapshotpolicies/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This endpoint returns details of a snapshot policy. It is deprecated from VAST Cluster 3.4. Use /protectionpolicies/."
        },
        {
          "info": {
            "name": "Modify a Snapshot Policy (deprecated from VAST Cluster 3.4)",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/snapshotpolicies/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint modifies a snapshot policy. It is deprecated from VAST Cluster 3.4. Use /protectionpolicies/."
        },
        {
          "info": {
            "name": "Delete a Snapshot Policy (deprecated from VAST Cluster 3.4)",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/snapshotpolicies/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This endpoint deletes a snapshot policy. It is deprecated from VAST Cluster 3.4. Use /protectionpolicies/."
        }
      ]
    }
  ],
  "bundled": true
}