{
  "opencollection": "1.0.0",
  "info": {
    "name": "Reonic REST Api v3 Activities Wiki API",
    "version": "3.2.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Authorization",
      "value": "{{X-Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Wiki",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get wiki tree",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{apiBaseUrl}/rest/v3/wiki",
            "headers": [
              {
                "name": "Reonic-Cache-Control",
                "value": ""
              }
            ]
          },
          "docs": "Returns the company wiki tree (folders and pages). Personal user wikis are not exposed via the API.\n\n**Allowed API keys:** Read-only, Read and Write"
        },
        {
          "info": {
            "name": "Get wiki page",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{apiBaseUrl}/rest/v3/wiki/pages/:pageId",
            "headers": [
              {
                "name": "Reonic-Cache-Control",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "pageId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns a single company wiki page including its current content. Personal user wikis are not exposed via the API.\n\n**Allowed API keys:** Read-only, Read and Write"
        },
        {
          "info": {
            "name": "Create wiki page",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{apiBaseUrl}/rest/v3/wiki/pages/create",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new wiki page in the company wiki. Personal user wikis are not exposed via the API.\n\n**Allowed API keys:** Read and Write"
        },
        {
          "info": {
            "name": "Update wiki page content",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{apiBaseUrl}/rest/v3/wiki/pages/:pageId/update-content",
            "params": [
              {
                "name": "pageId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Replaces the content body of a company wiki page, creating a new version. Use `/update-details` to change title, icon, or publish state. Personal user wikis are not exposed via the API.\n\n**Allowed API keys:** Read and Write"
        },
        {
          "info": {
            "name": "Update wiki page details (title, icon, publish state)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{apiBaseUrl}/rest/v3/wiki/pages/:pageId/update-details",
            "params": [
              {
                "name": "pageId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the title, icon, and/or publish state of a company wiki page. Use `/update-content` to change the page body. At least one field must be provided. Personal user wikis are not exposed via the API.\n\n**Allowed API keys:** Read and Write"
        },
        {
          "info": {
            "name": "Delete wiki page",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{apiBaseUrl}/rest/v3/wiki/pages/:pageId/delete",
            "params": [
              {
                "name": "pageId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes a company wiki page. Personal user wikis are not exposed via the API.\n\n**Allowed API keys:** Read and Write"
        },
        {
          "info": {
            "name": "Create wiki folder",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{apiBaseUrl}/rest/v3/wiki/folders/create",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new wiki folder in the company wiki. Personal user wikis are not exposed via the API.\n\n**Allowed API keys:** Read and Write"
        },
        {
          "info": {
            "name": "Update wiki folder",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{apiBaseUrl}/rest/v3/wiki/folders/:folderId/update",
            "params": [
              {
                "name": "folderId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the name of a company wiki folder. Personal user wikis are not exposed via the API.\n\n**Allowed API keys:** Read and Write"
        },
        {
          "info": {
            "name": "Delete wiki folder",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{apiBaseUrl}/rest/v3/wiki/folders/:folderId/delete",
            "params": [
              {
                "name": "folderId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes a company wiki folder and all its pages. Personal user wikis are not exposed via the API.\n\n**Allowed API keys:** Read and Write"
        },
        {
          "info": {
            "name": "Search wiki",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{apiBaseUrl}/rest/v3/wiki/search",
            "headers": [
              {
                "name": "Reonic-Cache-Control",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "Search query"
              }
            ]
          },
          "docs": "Searches company wiki pages by title and content. Personal user wikis are not exposed via the API.\n\n**Allowed API keys:** Read-only, Read and Write"
        }
      ]
    }
  ],
  "bundled": true
}