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}
Request
- Base URLhttps://api.extole.io
- Auth
- API key in header Authorization
- or API key in query parameter access_token
- or API key in cookie extole_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
component_idstring required
other_component_idstring required
Response
Successful response
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}}"
}
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.