Retrieve the data for the specified RuleComponent’s origin.
The origin of a RuleComponent is the RuleComponent that was revised to create this RuleComponent.
GET /rule_components/:rule_component_id/origin
curl https://reactor.adobe.io/rule_components/:rule_component_id/origin \
-H "Accept: application/vnd.api+json;revision=1" \
-H "Content-Type: application/vnd.api+json" \
-H "Authorization: Bearer [TOKEN]" \
-H "X-Api-Key: [KEY]" \
-H "X-Gw-Ims-Org-Id: [ORG_ID]" \
-X GET
{
"data": {
"id": "RCedd770b25d8845788470ce053a1790ce",
"type": "rule_components",
"attributes": {
"created_at": "2023-01-30T21:00:04.458Z",
"delegate_descriptor_id": "kessel-test::events::click",
"deleted_at": null,
"dirty": false,
"name": "My Example Click Event",
"negate": false,
"order": 0,
"rule_order": 50.0,
"timeout": 2000,
"delay_next": true,
"published": false,
"published_at": null,
"revision_number": 0,
"updated_at": "2023-01-30T21:00:04.458Z",
"created_by_email": "ciltaru@adobe.com",
"created_by_display_name": "George Ciltaru",
"updated_by_email": "ciltaru@adobe.com",
"updated_by_display_name": "George Ciltaru",
"settings": "{\"elementSelector\":\".accordion\",\"bubbleFireIfChildFired\":true}"
},
"relationships": {
"updated_with_extension_package": {
"links": {
"related": "https://reactor.adobe.io/rule_components/RCedd770b25d8845788470ce053a1790ce/updated_with_extension_package"
},
"data": {
"id": "EP3e96b796382e49a48d76a626395d8cab",
"type": "extension_packages"
}
},
"updated_with_extension": {
"links": {
"related": "https://reactor.adobe.io/rule_components/RCedd770b25d8845788470ce053a1790ce/updated_with_extension"
},
"data": {
"id": "EX1dfb255c345b495eb8d4f9736635b99e",
"type": "extensions"
}
},
"extension": {
"links": {
"related": "https://reactor.adobe.io/rule_components/RCedd770b25d8845788470ce053a1790ce/extension"
},
"data": {
"id": "EX4ab75cd56ac4452a88c485c665ece3ed",
"type": "extensions"
}
},
"notes": {
"links": {
"related": "https://reactor.adobe.io/rule_components/RCedd770b25d8845788470ce053a1790ce/notes"
}
},
"origin": {
"links": {
"related": "https://reactor.adobe.io/rule_components/RCedd770b25d8845788470ce053a1790ce/origin"
},
"data": {
"id": "RCedd770b25d8845788470ce053a1790ce",
"type": "rule_components"
}
},
"property": {
"links": {
"related": "https://reactor.adobe.io/properties/PR6b20f6bde4e94416b2a216ea3b2ceeb9"
},
"data": {
"id": "PR6b20f6bde4e94416b2a216ea3b2ceeb9",
"type": "properties"
}
},
"rules": {
"links": {
"related": "https://reactor.adobe.io/rule_components/RCedd770b25d8845788470ce053a1790ce/rules"
}
}
},
"links": {
"extension": "https://reactor.adobe.io/extensions/EX4ab75cd56ac4452a88c485c665ece3ed",
"origin": "https://reactor.adobe.io/rule_components/RCedd770b25d8845788470ce053a1790ce",
"rules": "https://reactor.adobe.io/rule_components/RCedd770b25d8845788470ce053a1790ce/rules",
"self": "https://reactor.adobe.io/rule_components/RCedd770b25d8845788470ce053a1790ce"
},
"meta": {
"latest_revision_number": 1
}
}
}