{
  "opencollection": "1.0.0",
  "info": {
    "name": "Nacos Open Auth Configuration API",
    "version": "2.3.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "accessToken",
      "value": "{{accessToken}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "Configuration",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get configuration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8848/nacos/v1/cs/configs",
            "params": [
              {
                "name": "dataId",
                "value": "",
                "type": "query",
                "description": "Configuration ID"
              },
              {
                "name": "group",
                "value": "",
                "type": "query",
                "description": "Configuration group"
              },
              {
                "name": "tenant",
                "value": "",
                "type": "query",
                "description": "Tenant/namespace ID"
              }
            ]
          },
          "docs": "Retrieves the content of a configuration item."
        },
        {
          "info": {
            "name": "Publish configuration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8848/nacos/v1/cs/configs",
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "dataId",
                  "value": ""
                },
                {
                  "name": "group",
                  "value": ""
                },
                {
                  "name": "tenant",
                  "value": ""
                },
                {
                  "name": "content",
                  "value": ""
                },
                {
                  "name": "type",
                  "value": ""
                },
                {
                  "name": "tag",
                  "value": ""
                },
                {
                  "name": "appName",
                  "value": ""
                },
                {
                  "name": "srcUser",
                  "value": ""
                },
                {
                  "name": "configTags",
                  "value": ""
                },
                {
                  "name": "desc",
                  "value": ""
                },
                {
                  "name": "effect",
                  "value": ""
                },
                {
                  "name": "schema",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Creates or updates a configuration item."
        },
        {
          "info": {
            "name": "Delete configuration",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://localhost:8848/nacos/v1/cs/configs",
            "params": [
              {
                "name": "dataId",
                "value": "",
                "type": "query"
              },
              {
                "name": "group",
                "value": "",
                "type": "query"
              },
              {
                "name": "tenant",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Removes a configuration item."
        },
        {
          "info": {
            "name": "Listen for configuration changes",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8848/nacos/v1/cs/configs/listener",
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "Listening-Configs",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Long polling endpoint to listen for configuration changes. The request blocks until a change is detected or timeout (default 30s)."
        },
        {
          "info": {
            "name": "Get configuration history",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8848/nacos/v1/cs/history",
            "params": [
              {
                "name": "dataId",
                "value": "",
                "type": "query"
              },
              {
                "name": "group",
                "value": "",
                "type": "query"
              },
              {
                "name": "tenant",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageNo",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns the revision history of a configuration item."
        },
        {
          "info": {
            "name": "Get previous configuration version",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8848/nacos/v1/cs/history/previous",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns the previous version of a configuration item."
        }
      ]
    }
  ],
  "bundled": true
}