{
  "opencollection": "1.0.0",
  "info": {
    "name": "VAST API Swagger Schema activedirectory Racks API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "ApiToken",
      "value": "{{ApiToken}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Racks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Configure BGP on Rack",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/racks/:id/bgpconfig/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Rack ID"
              }
            ]
          },
          "docs": "Bulk update BGP configuration on all cnodes in the rack"
        },
        {
          "info": {
            "name": "Get all existing Racks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/racks/"
          },
          "docs": "This endpoint lists Racks"
        },
        {
          "info": {
            "name": "Create a Rack",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/racks/",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint creates a Rack."
        },
        {
          "info": {
            "name": "Return Details of a Rack",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/racks/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This endpoint returns information about a specific Rack."
        },
        {
          "info": {
            "name": "Update a Rack",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/racks/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update a Rack"
        },
        {
          "info": {
            "name": "Delete a Rack",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/racks/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a Rack"
        },
        {
          "info": {
            "name": "Add Boxes to a Rack",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/racks/:id/add_boxes/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Rack ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint adds Boxes to a Rack"
        },
        {
          "info": {
            "name": "Control Rack Boxes LED",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/racks/:id/control_led/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Rack ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint controls the Rack Boxes LED"
        },
        {
          "info": {
            "name": "Rename Rack",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/racks/:id/rename/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Rack ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint renames a Rack."
        }
      ]
    }
  ],
  "bundled": true
}