v1

latestOpenAPI 3.0.12026-07-244011,5573.5 MB
Components

Diff two components

Returns a diff between two component versions, showing added, removed, and changed settings.

get/v1/components/{component_id}/diff/{other_component_id}

Path parameters

component_idstring required
other_component_idstring required

Response

Successful response

component_idstring required
other_component_idstring required

Example response

{
  "settings_diff": [
    {
      "current_setting": {
        "description": "handlebars@buildtime:{{description}}",
        "priority": "10",
        "values": {
          "default": "handlebars@buildtime:{{default}}",
          "en": "handlebars@buildtime:{{en}}"
        }
      },
      "other_setting": {
        "description": "handlebars@buildtime:{{description}}",
        "priority": "10",
        "values": {
          "default": "handlebars@buildtime:{{default}}",
          "en": "handlebars@buildtime:{{en}}"
        }
      }
    }
  ]
}