{
  "opencollection": "1.0.0",
  "info": {
    "name": "Gleap AI content Help center collections API",
    "version": "14.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Help center collections",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all collections",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.gleap.io/v3/helpcenter/collections",
            "headers": [
              {
                "name": "project",
                "value": ""
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get all collections"
        },
        {
          "info": {
            "name": "Create a new collection",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.gleap.io/v3/helpcenter/collections",
            "headers": [
              {
                "name": "project",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new collection"
        },
        {
          "info": {
            "name": "Get all collections with subcollections",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.gleap.io/v3/helpcenter/collections/all",
            "headers": [
              {
                "name": "project",
                "value": ""
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get all collections with subcollections"
        },
        {
          "info": {
            "name": "Get a collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.gleap.io/v3/helpcenter/collections/:helpcenterCollectionId",
            "headers": [
              {
                "name": "project",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "helpcenterCollectionId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a collection"
        },
        {
          "info": {
            "name": "Update a collection",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.gleap.io/v3/helpcenter/collections/:helpcenterCollectionId",
            "params": [
              {
                "name": "helpcenterCollectionId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update a collection"
        },
        {
          "info": {
            "name": "Delete a collection",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.gleap.io/v3/helpcenter/collections/:helpcenterCollectionId",
            "headers": [
              {
                "name": "project",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "helpcenterCollectionId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a collection"
        },
        {
          "info": {
            "name": "Toggle publish status",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.gleap.io/v3/helpcenter/collections/:helpcenterCollectionId/toggle-publish",
            "headers": [
              {
                "name": "project",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "helpcenterCollectionId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Toggle publish status"
        }
      ]
    }
  ],
  "bundled": true
}