{
  "opencollection": "1.0.0",
  "info": {
    "name": "V2 corporate categories API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Token",
      "value": "{{X-Token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "corporate categories",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "list categories",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.arkestro.com/api/v2/corporate/categories",
            "params": [
              {
                "name": "sort_by",
                "value": "",
                "type": "query",
                "description": "The field to sort results by. Defaults to `created_at`."
              },
              {
                "name": "sort_order",
                "value": "",
                "type": "query",
                "description": "The sorting order (`asc` for ascending, `desc` for descending). Defaults to `asc`."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum number of results to return. Defaults to `20`, max `200`."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The number of results to skip before starting to collect the result set. Defaults to `0`."
              }
            ]
          },
          "docs": "List all of the Categories under an organization"
        },
        {
          "info": {
            "name": "create category",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.arkestro.com/api/v2/corporate/categories",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new category"
        },
        {
          "info": {
            "name": "show category",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.arkestro.com/api/v2/corporate/categories/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ]
          },
          "docs": "Get a category by id"
        },
        {
          "info": {
            "name": "update category",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.arkestro.com/api/v2/corporate/categories/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a category by id"
        },
        {
          "info": {
            "name": "delete category",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.arkestro.com/api/v2/corporate/categories/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ]
          },
          "docs": "Delete a category by id"
        }
      ]
    }
  ],
  "bundled": true
}