Retrieve the revisions of the specified Rule.
GET /rules/:rule_id/revisions
curl https://reactor.adobe.io/rules/:rule_id/revisions \
-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": "RL327df189ec744a9abe27f60ed223a35f",
"type": "rules",
"attributes": {
"created_at": "2023-04-21T23:06:52.376Z",
"deleted_at": null,
"dirty": false,
"enabled": true,
"name": "Example Rule",
"published": false,
"published_at": null,
"revision_number": 0,
"updated_at": "2023-04-21T23:06:52.376Z",
"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/RL327df189ec744a9abe27f60ed223a35f/libraries"
}
},
"revisions": {
"links": {
"related": "https://reactor.adobe.io/rules/RL327df189ec744a9abe27f60ed223a35f/revisions"
}
},
"notes": {
"links": {
"related": "https://reactor.adobe.io/rules/RL327df189ec744a9abe27f60ed223a35f/notes"
}
},
"property": {
"links": {
"related": "https://reactor.adobe.io/rules/RL327df189ec744a9abe27f60ed223a35f/property"
},
"data": {
"id": "PR72104f4f0bc247f1a3de1ec83498d562",
"type": "properties"
}
},
"origin": {
"links": {
"related": "https://reactor.adobe.io/rules/RL327df189ec744a9abe27f60ed223a35f/origin"
},
"data": {
"id": "RL327df189ec744a9abe27f60ed223a35f",
"type": "rules"
}
},
"rule_components": {
"links": {
"related": "https://reactor.adobe.io/rules/RL327df189ec744a9abe27f60ed223a35f/rule_components"
}
}
},
"links": {
"property": "https://reactor.adobe.io/properties/PR72104f4f0bc247f1a3de1ec83498d562",
"origin": "https://reactor.adobe.io/rules/RL327df189ec744a9abe27f60ed223a35f",
"self": "https://reactor.adobe.io/rules/RL327df189ec744a9abe27f60ed223a35f",
"rule_components": "https://reactor.adobe.io/rules/RL327df189ec744a9abe27f60ed223a35f/rule_components"
},
"meta": {
"latest_revision_number": 1
}
},
{
"id": "RL1ee9d2996b3a4ca68d58b2f5ba802225",
"type": "rules",
"attributes": {
"created_at": "2023-04-21T23:06:52.438Z",
"deleted_at": null,
"dirty": false,
"enabled": true,
"name": "Example Rule",
"published": false,
"published_at": null,
"revision_number": 1,
"updated_at": "2023-04-21T23:06:52.438Z",
"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/RL1ee9d2996b3a4ca68d58b2f5ba802225/libraries"
}
},
"revisions": {
"links": {
"related": "https://reactor.adobe.io/rules/RL1ee9d2996b3a4ca68d58b2f5ba802225/revisions"
}
},
"notes": {
"links": {
"related": "https://reactor.adobe.io/rules/RL1ee9d2996b3a4ca68d58b2f5ba802225/notes"
}
},
"property": {
"links": {
"related": "https://reactor.adobe.io/rules/RL1ee9d2996b3a4ca68d58b2f5ba802225/property"
},
"data": {
"id": "PR72104f4f0bc247f1a3de1ec83498d562",
"type": "properties"
}
},
"origin": {
"links": {
"related": "https://reactor.adobe.io/rules/RL1ee9d2996b3a4ca68d58b2f5ba802225/origin"
},
"data": {
"id": "RL327df189ec744a9abe27f60ed223a35f",
"type": "rules"
}
},
"rule_components": {
"links": {
"related": "https://reactor.adobe.io/rules/RL1ee9d2996b3a4ca68d58b2f5ba802225/rule_components"
}
}
},
"links": {
"property": "https://reactor.adobe.io/properties/PR72104f4f0bc247f1a3de1ec83498d562",
"origin": "https://reactor.adobe.io/rules/RL327df189ec744a9abe27f60ed223a35f",
"self": "https://reactor.adobe.io/rules/RL1ee9d2996b3a4ca68d58b2f5ba802225",
"rule_components": "https://reactor.adobe.io/rules/RL1ee9d2996b3a4ca68d58b2f5ba802225/rule_components"
},
"meta": {
"latest_revision_number": 1
}
}
],
"meta": {
"pagination": {
"current_page": 1,
"next_page": null,
"prev_page": null,
"total_pages": 1,
"total_count": 2
}
}
}