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": "RCad50f9ecc09348b895ccda570bac81c6",
"type": "rule_components",
"attributes": {
"created_at": "2023-04-21T23:05:48.499Z",
"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-04-21T23:05:48.499Z",
"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/RCad50f9ecc09348b895ccda570bac81c6/updated_with_extension_package"
},
"data": {
"id": "EP3e96b796382e49a48d76a626395d8cab",
"type": "extension_packages"
}
},
"updated_with_extension": {
"links": {
"related": "https://reactor.adobe.io/rule_components/RCad50f9ecc09348b895ccda570bac81c6/updated_with_extension"
},
"data": {
"id": "EXe3a6052f93b246f28fde6262ba5b5b2d",
"type": "extensions"
}
},
"extension": {
"links": {
"related": "https://reactor.adobe.io/rule_components/RCad50f9ecc09348b895ccda570bac81c6/extension"
},
"data": {
"id": "EX87e0ef6aadc9474087e562f444f220c9",
"type": "extensions"
}
},
"notes": {
"links": {
"related": "https://reactor.adobe.io/rule_components/RCad50f9ecc09348b895ccda570bac81c6/notes"
}
},
"origin": {
"links": {
"related": "https://reactor.adobe.io/rule_components/RCad50f9ecc09348b895ccda570bac81c6/origin"
},
"data": {
"id": "RCad50f9ecc09348b895ccda570bac81c6",
"type": "rule_components"
}
},
"property": {
"links": {
"related": "https://reactor.adobe.io/properties/PR24e0cfcf4d074f42a5b234d7ff6d4d19"
},
"data": {
"id": "PR24e0cfcf4d074f42a5b234d7ff6d4d19",
"type": "properties"
}
},
"rules": {
"links": {
"related": "https://reactor.adobe.io/rule_components/RCad50f9ecc09348b895ccda570bac81c6/rules"
}
}
},
"links": {
"extension": "https://reactor.adobe.io/extensions/EX87e0ef6aadc9474087e562f444f220c9",
"origin": "https://reactor.adobe.io/rule_components/RCad50f9ecc09348b895ccda570bac81c6",
"rules": "https://reactor.adobe.io/rule_components/RCad50f9ecc09348b895ccda570bac81c6/rules",
"self": "https://reactor.adobe.io/rule_components/RCad50f9ecc09348b895ccda570bac81c6"
},
"meta": {
"latest_revision_number": 1
}
}
}