{
  "opencollection": "1.0.0",
  "info": {
    "name": "NGINX njs Scripting Connections HTTP Keyvals API",
    "version": "0.8"
  },
  "items": [
    {
      "info": {
        "name": "HTTP Keyvals",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "NGINX Return Key-Value Pairs from All HTTP Keyval Zones",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/http/keyvals/",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "If the “<literal>fields</literal>” value is empty, then only HTTP keyval zone names will be output."
              }
            ]
          },
          "docs": "Returns key-value pairs for each HTTP keyval shared memory [zone](https://nginx.org/en/docs/http/ngx_http_keyval_module.html#keyval_zone)."
        },
        {
          "info": {
            "name": "NGINX Return Key-Value Pairs from an HTTP Keyval Zone",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/http/keyvals/:httpKeyvalZoneName",
            "params": [
              {
                "name": "httpKeyvalZoneName",
                "value": "",
                "type": "path",
                "description": "The name of an HTTP keyval shared memory zone."
              },
              {
                "name": "key",
                "value": "",
                "type": "query",
                "description": "Get a particular key-value pair from the HTTP keyval zone."
              }
            ]
          },
          "docs": "Returns key-value pairs stored in a particular HTTP keyval shared memory [zone](https://nginx.org/en/docs/http/ngx_http_keyval_module.html#keyval_zone)."
        },
        {
          "info": {
            "name": "NGINX Add a Key-Value Pair to the HTTP Keyval Zone",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/http/keyvals/:httpKeyvalZoneName",
            "params": [
              {
                "name": "httpKeyvalZoneName",
                "value": "",
                "type": "path",
                "description": "The name of an HTTP keyval shared memory zone."
              }
            ]
          },
          "docs": "Adds a new key-value pair to the HTTP keyval shared memory [zone](https://nginx.org/en/docs/http/ngx_http_keyval_module.html#keyval_zone). Several key-value pairs can be entered if the HTTP keyval shared memory zone is empty."
        },
        {
          "info": {
            "name": "NGINX Modify a Key-Value or Delete a Key",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/http/keyvals/:httpKeyvalZoneName",
            "params": [
              {
                "name": "httpKeyvalZoneName",
                "value": "",
                "type": "path",
                "description": "The name of an HTTP keyval shared memory zone."
              }
            ]
          },
          "docs": "Changes the value of the selected key in the key-value pair, deletes a key by setting the key value to <literal>null</literal>, changes expiration time of a key-value pair. If <a href=\"https://nginx.org/en/docs/stream/ngx_stream_zone_sync_module.html#zone_sync\">synchronization</a> of keyval zones in a cluster is enabled, deletes a key only on a target cluster node. Expiration time in milliseconds can be specified for a key-value pair with the *expire* parameter which overrides the [*timeout*](ht"
        },
        {
          "info": {
            "name": "NGINX Empty the HTTP Keyval Zone",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/http/keyvals/:httpKeyvalZoneName",
            "params": [
              {
                "name": "httpKeyvalZoneName",
                "value": "",
                "type": "path",
                "description": "The name of an HTTP keyval shared memory zone."
              }
            ]
          },
          "docs": "Deletes all key-value pairs from the HTTP keyval shared memory [zone](https://nginx.org/en/docs/http/ngx_http_keyval_module.html#keyval_zone). If <a href=\"https://nginx.org/en/docs/stream/ngx_stream_zone_sync_module.html#zone_sync\">synchronization</a> of keyval zones in a cluster is enabled, empties the keyval zone only on a target cluster node."
        }
      ]
    }
  ],
  "bundled": true
}