{
  "opencollection": "1.0.0",
  "info": {
    "name": "Fastly Edge Dictionaries API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Fastly-Key",
      "value": "{{Fastly-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Dictionary",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List dictionaries",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fastly.com/service/:service_id/version/:version_id/dictionary",
            "params": [
              {
                "name": "service_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the Fastly service."
              },
              {
                "name": "version_id",
                "value": "",
                "type": "path",
                "description": "The integer identifying the service version."
              }
            ]
          },
          "docs": "Retrieves a list of all dictionaries configured for a specific version of a Fastly service."
        },
        {
          "info": {
            "name": "Create a dictionary",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.fastly.com/service/:service_id/version/:version_id/dictionary",
            "params": [
              {
                "name": "service_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the Fastly service."
              },
              {
                "name": "version_id",
                "value": "",
                "type": "path",
                "description": "The integer identifying the service version."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "name",
                  "value": ""
                },
                {
                  "name": "write_only",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Creates a new dictionary container for a specific version of a Fastly service. Once the service version is activated, items within the dictionary become versionless and can be updated without requiring a new service version."
        },
        {
          "info": {
            "name": "Get a dictionary",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fastly.com/service/:service_id/version/:version_id/dictionary/:dictionary_name",
            "params": [
              {
                "name": "service_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the Fastly service."
              },
              {
                "name": "version_id",
                "value": "",
                "type": "path",
                "description": "The integer identifying the service version."
              },
              {
                "name": "dictionary_name",
                "value": "",
                "type": "path",
                "description": "The name of the dictionary."
              }
            ]
          },
          "docs": "Retrieves the details of a specific dictionary container for a version of a Fastly service."
        },
        {
          "info": {
            "name": "Update a dictionary",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.fastly.com/service/:service_id/version/:version_id/dictionary/:dictionary_name",
            "params": [
              {
                "name": "service_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the Fastly service."
              },
              {
                "name": "version_id",
                "value": "",
                "type": "path",
                "description": "The integer identifying the service version."
              },
              {
                "name": "dictionary_name",
                "value": "",
                "type": "path",
                "description": "The name of the dictionary."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "name",
                  "value": ""
                },
                {
                  "name": "write_only",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Updates a specific dictionary container for a version of a Fastly service."
        },
        {
          "info": {
            "name": "Delete a dictionary",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.fastly.com/service/:service_id/version/:version_id/dictionary/:dictionary_name",
            "params": [
              {
                "name": "service_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the Fastly service."
              },
              {
                "name": "version_id",
                "value": "",
                "type": "path",
                "description": "The integer identifying the service version."
              },
              {
                "name": "dictionary_name",
                "value": "",
                "type": "path",
                "description": "The name of the dictionary."
              }
            ]
          },
          "docs": "Deletes a specific dictionary container from a version of a Fastly service."
        }
      ]
    },
    {
      "info": {
        "name": "Dictionary Item",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List dictionary items",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fastly.com/service/:service_id/dictionary/:dictionary_id/items",
            "params": [
              {
                "name": "service_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the Fastly service."
              },
              {
                "name": "dictionary_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the dictionary."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page number to retrieve."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "The number of items per page."
              }
            ]
          },
          "docs": "Retrieves a list of all key-value pairs within a specific dictionary."
        },
        {
          "info": {
            "name": "Bulk update dictionary items",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.fastly.com/service/:service_id/dictionary/:dictionary_id/items",
            "params": [
              {
                "name": "service_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the Fastly service."
              },
              {
                "name": "dictionary_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the dictionary."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates multiple dictionary items in a single request. Supports create, update, upsert, and delete operations in the same batch."
        },
        {
          "info": {
            "name": "Create a dictionary item",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.fastly.com/service/:service_id/dictionary/:dictionary_id/item",
            "params": [
              {
                "name": "service_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the Fastly service."
              },
              {
                "name": "dictionary_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the dictionary."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Creates a new key-value pair within a specific dictionary. The item takes effect within approximately 30 seconds without requiring a new service version."
        },
        {
          "info": {
            "name": "Get a dictionary item",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fastly.com/service/:service_id/dictionary/:dictionary_id/item/:dictionary_item_key",
            "params": [
              {
                "name": "service_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the Fastly service."
              },
              {
                "name": "dictionary_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the dictionary."
              },
              {
                "name": "dictionary_item_key",
                "value": "",
                "type": "path",
                "description": "The key of the dictionary item."
              }
            ]
          },
          "docs": "Retrieves the details of a specific key-value pair within a dictionary."
        },
        {
          "info": {
            "name": "Upsert a dictionary item",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.fastly.com/service/:service_id/dictionary/:dictionary_id/item/:dictionary_item_key",
            "params": [
              {
                "name": "service_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the Fastly service."
              },
              {
                "name": "dictionary_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the dictionary."
              },
              {
                "name": "dictionary_item_key",
                "value": "",
                "type": "path",
                "description": "The key of the dictionary item."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "item_value",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Creates or updates a key-value pair within a specific dictionary."
        },
        {
          "info": {
            "name": "Update a dictionary item",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.fastly.com/service/:service_id/dictionary/:dictionary_id/item/:dictionary_item_key",
            "params": [
              {
                "name": "service_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the Fastly service."
              },
              {
                "name": "dictionary_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the dictionary."
              },
              {
                "name": "dictionary_item_key",
                "value": "",
                "type": "path",
                "description": "The key of the dictionary item."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "item_value",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Updates a specific key-value pair within a dictionary."
        },
        {
          "info": {
            "name": "Delete a dictionary item",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.fastly.com/service/:service_id/dictionary/:dictionary_id/item/:dictionary_item_key",
            "params": [
              {
                "name": "service_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the Fastly service."
              },
              {
                "name": "dictionary_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the dictionary."
              },
              {
                "name": "dictionary_item_key",
                "value": "",
                "type": "path",
                "description": "The key of the dictionary item."
              }
            ]
          },
          "docs": "Deletes a specific key-value pair from a dictionary."
        }
      ]
    },
    {
      "info": {
        "name": "Dictionary Info",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get dictionary info",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fastly.com/service/:service_id/dictionary/:dictionary_id/info",
            "params": [
              {
                "name": "service_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the Fastly service."
              },
              {
                "name": "dictionary_id",
                "value": "",
                "type": "path",
                "description": "The alphanumeric string identifying the dictionary."
              }
            ]
          },
          "docs": "Retrieves metadata about a specific dictionary, including the number of items it contains."
        }
      ]
    }
  ],
  "bundled": true
}