{
  "opencollection": "1.0.0",
  "info": {
    "name": "Helpcenter DomainMapping API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "DomainMapping",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get domain",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/domains/:domain",
            "params": [
              {
                "name": "domain",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This API fetches the details of a domain from your help desk."
        },
        {
          "info": {
            "name": "Delete unused domain",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/v1/domains/:domain",
            "params": [
              {
                "name": "domain",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This API deletes unused domain from your help desk."
        },
        {
          "info": {
            "name": "Apply domain",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/domains/apply",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This API maps a domain to the default portal in your help desk."
        },
        {
          "info": {
            "name": "List domains",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/domains",
            "params": [
              {
                "name": "isVerified",
                "value": "",
                "type": "query",
                "description": "Key that filters domains based on their verification status"
              },
              {
                "name": "isApplied",
                "value": "",
                "type": "query",
                "description": "Key that filters domains based on their application status in the help desk"
              }
            ]
          },
          "docs": "This API lists the domains configured in your help desk."
        },
        {
          "info": {
            "name": "Add domain",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/domains",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This API adds a domain to your help desk."
        },
        {
          "info": {
            "name": "Verify domain",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/domains/verify",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This API verifies a domain in your help desk."
        },
        {
          "info": {
            "name": "Reset current domain",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/domains/reset"
          },
          "docs": "This API resets the current domain of the default portal in your help desk."
        }
      ]
    }
  ],
  "bundled": true
}