{
  "opencollection": "1.0.0",
  "info": {
    "name": "Goodstack Services Activities Categories API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Categories",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Categories",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.goodstack.io/v1/categories",
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "List Categories"
        },
        {
          "info": {
            "name": "Create a Category",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.goodstack.io/v1/categories",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Create a Category"
        },
        {
          "info": {
            "name": "Retrieve a Category",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.goodstack.io/v1/categories/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Id of the Category"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve a Category"
        },
        {
          "info": {
            "name": "Edit a Category",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.goodstack.io/v1/categories/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Id of the Category"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Edit a Category"
        },
        {
          "info": {
            "name": "Delete a Category",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.goodstack.io/v1/categories/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Id of the Category"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Delete a Category"
        },
        {
          "info": {
            "name": "Add a Organisation to a Category",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.goodstack.io/v1/categories/:categoryId/:organisationId",
            "params": [
              {
                "name": "categoryId",
                "value": "",
                "type": "path",
                "description": "Id of the Category"
              },
              {
                "name": "organisationId",
                "value": "",
                "type": "path",
                "description": "Id of the organisation"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Add a Organisation to a Category"
        },
        {
          "info": {
            "name": "Remove a Organisation from a Category",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.goodstack.io/v1/categories/:categoryId/:organisationId",
            "params": [
              {
                "name": "categoryId",
                "value": "",
                "type": "path",
                "description": "Id of the Category"
              },
              {
                "name": "organisationId",
                "value": "",
                "type": "path",
                "description": "Id of the organisation"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Remove a Organisation from a Category"
        },
        {
          "info": {
            "name": "Set an Image for a Category",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.goodstack.io/v1/categories/:categoryId/image",
            "params": [
              {
                "name": "categoryId",
                "value": "",
                "type": "path",
                "description": "Id of the Category"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "image",
                  "type": "text",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Set an Image for a Category"
        }
      ]
    }
  ],
  "bundled": true
}