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": "RL374e8dcab0f6425481ae871ec2278f28",
"type": "rules",
"attributes": {
"created_at": "2023-01-30T21:01:06.482Z",
"deleted_at": null,
"dirty": false,
"enabled": true,
"name": "Example Rule",
"published": false,
"published_at": null,
"revision_number": 0,
"updated_at": "2023-01-30T21:01:06.482Z",
"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/RL374e8dcab0f6425481ae871ec2278f28/libraries"
}
},
"revisions": {
"links": {
"related": "https://reactor.adobe.io/rules/RL374e8dcab0f6425481ae871ec2278f28/revisions"
}
},
"notes": {
"links": {
"related": "https://reactor.adobe.io/rules/RL374e8dcab0f6425481ae871ec2278f28/notes"
}
},
"property": {
"links": {
"related": "https://reactor.adobe.io/rules/RL374e8dcab0f6425481ae871ec2278f28/property"
},
"data": {
"id": "PRa8f1050e07144d59a2a2e3bd0418a467",
"type": "properties"
}
},
"origin": {
"links": {
"related": "https://reactor.adobe.io/rules/RL374e8dcab0f6425481ae871ec2278f28/origin"
},
"data": {
"id": "RL374e8dcab0f6425481ae871ec2278f28",
"type": "rules"
}
},
"rule_components": {
"links": {
"related": "https://reactor.adobe.io/rules/RL374e8dcab0f6425481ae871ec2278f28/rule_components"
}
}
},
"links": {
"property": "https://reactor.adobe.io/properties/PRa8f1050e07144d59a2a2e3bd0418a467",
"origin": "https://reactor.adobe.io/rules/RL374e8dcab0f6425481ae871ec2278f28",
"self": "https://reactor.adobe.io/rules/RL374e8dcab0f6425481ae871ec2278f28",
"rule_components": "https://reactor.adobe.io/rules/RL374e8dcab0f6425481ae871ec2278f28/rule_components"
},
"meta": {
"latest_revision_number": 1
}
},
{
"id": "RL7131a6d7f62b468989334d9a03cc7293",
"type": "rules",
"attributes": {
"created_at": "2023-01-30T21:01:06.544Z",
"deleted_at": null,
"dirty": false,
"enabled": true,
"name": "Example Rule",
"published": false,
"published_at": null,
"revision_number": 1,
"updated_at": "2023-01-30T21:01:06.544Z",
"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/RL7131a6d7f62b468989334d9a03cc7293/libraries"
}
},
"revisions": {
"links": {
"related": "https://reactor.adobe.io/rules/RL7131a6d7f62b468989334d9a03cc7293/revisions"
}
},
"notes": {
"links": {
"related": "https://reactor.adobe.io/rules/RL7131a6d7f62b468989334d9a03cc7293/notes"
}
},
"property": {
"links": {
"related": "https://reactor.adobe.io/rules/RL7131a6d7f62b468989334d9a03cc7293/property"
},
"data": {
"id": "PRa8f1050e07144d59a2a2e3bd0418a467",
"type": "properties"
}
},
"origin": {
"links": {
"related": "https://reactor.adobe.io/rules/RL7131a6d7f62b468989334d9a03cc7293/origin"
},
"data": {
"id": "RL374e8dcab0f6425481ae871ec2278f28",
"type": "rules"
}
},
"rule_components": {
"links": {
"related": "https://reactor.adobe.io/rules/RL7131a6d7f62b468989334d9a03cc7293/rule_components"
}
}
},
"links": {
"property": "https://reactor.adobe.io/properties/PRa8f1050e07144d59a2a2e3bd0418a467",
"origin": "https://reactor.adobe.io/rules/RL374e8dcab0f6425481ae871ec2278f28",
"self": "https://reactor.adobe.io/rules/RL7131a6d7f62b468989334d9a03cc7293",
"rule_components": "https://reactor.adobe.io/rules/RL7131a6d7f62b468989334d9a03cc7293/rule_components"
},
"meta": {
"latest_revision_number": 1
}
}
],
"meta": {
"pagination": {
"current_page": 1,
"next_page": null,
"prev_page": null,
"total_pages": 1,
"total_count": 2
}
}
}