{
  "opencollection": "1.0.0",
  "info": {
    "name": "Didomi consents/events cookies API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "cookies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve a list of cookies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.didomi.io/v1/cookies",
            "params": [
              {
                "name": "property_id",
                "value": "",
                "type": "query",
                "description": "The ID of the property"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns a list of cookies set by a property"
        },
        {
          "info": {
            "name": "Create a cookie",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.didomi.io/v1/cookies",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new cookie for a property"
        },
        {
          "info": {
            "name": "Retrieve a cookie",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.didomi.io/v1/cookies/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the cookie to retrieve"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns a single cookie set by a property"
        },
        {
          "info": {
            "name": "Update a cookie",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.didomi.io/v1/cookies/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the cookie to update"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update an existing cookie set by a property and replace all its properties"
        },
        {
          "info": {
            "name": "Patch a cookie",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.didomi.io/v1/cookies/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the cookie to patch"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Partially update a cookie set by a property"
        },
        {
          "info": {
            "name": "Delete a cookie",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.didomi.io/v1/cookies/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the cookie to delete"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete an existing cookie"
        }
      ]
    }
  ],
  "bundled": true
}