Retrieve the data for the Rules related to the specified RuleComponent.
GET /rule_components/:rule_component_id/rules
curl https://reactor.adobe.io/rule_components/:rule_component_id/rules \
-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": "RL1366a8367c5f4c10948dfbd4fa055f6a",
"type": "rules",
"attributes": {
"created_at": "2023-04-21T23:07:15.538Z",
"deleted_at": null,
"dirty": true,
"enabled": true,
"name": "Example Rule",
"published": false,
"published_at": null,
"revision_number": 0,
"updated_at": "2023-04-21T23:07:15.617Z",
"created_by_email": "ciltaru@adobe.com",
"created_by_display_name": "George Ciltaru",
"updated_by_email": "ciltaru@adobe.com",
"updated_by_display_name": "George Ciltaru",
"review_status": "unsubmitted"
},
"relationships": {
"libraries": {
"links": {
"related": "https://reactor.adobe.io/rules/RL1366a8367c5f4c10948dfbd4fa055f6a/libraries"
}
},
"revisions": {
"links": {
"related": "https://reactor.adobe.io/rules/RL1366a8367c5f4c10948dfbd4fa055f6a/revisions"
}
},
"notes": {
"links": {
"related": "https://reactor.adobe.io/rules/RL1366a8367c5f4c10948dfbd4fa055f6a/notes"
}
},
"property": {
"links": {
"related": "https://reactor.adobe.io/rules/RL1366a8367c5f4c10948dfbd4fa055f6a/property"
},
"data": {
"id": "PRef7c45ee2467489698d8179601645b08",
"type": "properties"
}
},
"origin": {
"links": {
"related": "https://reactor.adobe.io/rules/RL1366a8367c5f4c10948dfbd4fa055f6a/origin"
},
"data": {
"id": "RL1366a8367c5f4c10948dfbd4fa055f6a",
"type": "rules"
}
},
"rule_components": {
"links": {
"related": "https://reactor.adobe.io/rules/RL1366a8367c5f4c10948dfbd4fa055f6a/rule_components"
}
}
},
"links": {
"property": "https://reactor.adobe.io/properties/PRef7c45ee2467489698d8179601645b08",
"origin": "https://reactor.adobe.io/rules/RL1366a8367c5f4c10948dfbd4fa055f6a",
"self": "https://reactor.adobe.io/rules/RL1366a8367c5f4c10948dfbd4fa055f6a",
"rule_components": "https://reactor.adobe.io/rules/RL1366a8367c5f4c10948dfbd4fa055f6a/rule_components"
},
"meta": {
"latest_revision_number": 0
}
}
]
}