{
  "opencollection": "1.0.0",
  "info": {
    "name": "Product Fruits REST Events Knowledge Base API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Knowledge Base",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Import or update knowledge base articles",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.productfruits.com/v1/knowledgebase/import",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Imports or updates knowledge base articles with multilingual content support. Maximum 50 articles per request. Maximum 20 content languages per article."
        },
        {
          "info": {
            "name": "List knowledge base articles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.productfruits.com/v1/knowledgebase/articles",
            "params": [
              {
                "name": "categoryCorrelationId",
                "value": "",
                "type": "query",
                "description": "Filter articles by category correlation ID"
              }
            ]
          },
          "docs": "Retrieves all knowledge base articles. Supports filtering by category."
        },
        {
          "info": {
            "name": "Delete a knowledge base article",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.productfruits.com/v1/knowledgebase/articles/:correlationId",
            "params": [
              {
                "name": "correlationId",
                "value": "",
                "type": "path",
                "description": "External correlation ID for the resource"
              }
            ]
          },
          "docs": "Removes an entire article by its correlation ID."
        },
        {
          "info": {
            "name": "Delete language-specific article content",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.productfruits.com/v1/knowledgebase/articles/:correlationId/content/:lang",
            "params": [
              {
                "name": "correlationId",
                "value": "",
                "type": "path",
                "description": "External correlation ID for the resource"
              },
              {
                "name": "lang",
                "value": "",
                "type": "path",
                "description": "Language code (e.g., en, fr, de)"
              }
            ]
          },
          "docs": "Removes language-specific content from an article."
        },
        {
          "info": {
            "name": "Delete a specific content version",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.productfruits.com/v1/knowledgebase/articles/:correlationId/content/:lang/:id",
            "params": [
              {
                "name": "correlationId",
                "value": "",
                "type": "path",
                "description": "External correlation ID for the resource"
              },
              {
                "name": "lang",
                "value": "",
                "type": "path",
                "description": "Language code (e.g., en, fr, de)"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Content version ID"
              }
            ]
          },
          "docs": "Removes a specific content version from an article."
        },
        {
          "info": {
            "name": "List knowledge base categories",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.productfruits.com/v1/knowledgebase/categories"
          },
          "docs": "Retrieves all knowledge base categories."
        },
        {
          "info": {
            "name": "Import or update knowledge base categories",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.productfruits.com/v1/knowledgebase/categories/import",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Imports or updates knowledge base categories."
        },
        {
          "info": {
            "name": "Get a specific category",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.productfruits.com/v1/knowledgebase/categories/:correlationId",
            "params": [
              {
                "name": "correlationId",
                "value": "",
                "type": "path",
                "description": "External correlation ID for the resource"
              }
            ]
          },
          "docs": "Retrieves a specific knowledge base category by correlation ID."
        },
        {
          "info": {
            "name": "Update a knowledge base category",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.productfruits.com/v1/knowledgebase/categories/:correlationId",
            "params": [
              {
                "name": "correlationId",
                "value": "",
                "type": "path",
                "description": "External correlation ID for the resource"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates details of an existing knowledge base category."
        },
        {
          "info": {
            "name": "Delete a knowledge base category",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.productfruits.com/v1/knowledgebase/categories/:correlationId",
            "params": [
              {
                "name": "correlationId",
                "value": "",
                "type": "path",
                "description": "External correlation ID for the resource"
              }
            ]
          },
          "docs": "Removes a knowledge base category by correlation ID."
        },
        {
          "info": {
            "name": "Upload an image for knowledge base articles",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.productfruits.com/v1/knowledgebase/upload-image",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Uploads an image to be used in knowledge base articles."
        }
      ]
    }
  ],
  "bundled": true
}