Retrieve the Rules used by the specified Property.
created_at
dirty
enabled
name
origin_id
published
published_at
revision_number
updated_at
GET /properties/:property_id/rules
curl https://reactor.adobe.io/properties/:property_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": "RL03bee68e010f496ab10c7c187eb00c6f",
"type": "rules",
"attributes": {
"created_at": "2023-04-21T23:06:30.244Z",
"deleted_at": null,
"dirty": true,
"enabled": true,
"name": "Example Rule",
"published": false,
"published_at": null,
"revision_number": 0,
"updated_at": "2023-04-21T23:06:30.244Z",
"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/RL03bee68e010f496ab10c7c187eb00c6f/libraries"
}
},
"revisions": {
"links": {
"related": "https://reactor.adobe.io/rules/RL03bee68e010f496ab10c7c187eb00c6f/revisions"
}
},
"notes": {
"links": {
"related": "https://reactor.adobe.io/rules/RL03bee68e010f496ab10c7c187eb00c6f/notes"
}
},
"property": {
"links": {
"related": "https://reactor.adobe.io/rules/RL03bee68e010f496ab10c7c187eb00c6f/property"
},
"data": {
"id": "PRffc4f6e926274d1d9868f1a7c8164896",
"type": "properties"
}
},
"origin": {
"links": {
"related": "https://reactor.adobe.io/rules/RL03bee68e010f496ab10c7c187eb00c6f/origin"
},
"data": {
"id": "RL03bee68e010f496ab10c7c187eb00c6f",
"type": "rules"
}
},
"rule_components": {
"links": {
"related": "https://reactor.adobe.io/rules/RL03bee68e010f496ab10c7c187eb00c6f/rule_components"
}
}
},
"links": {
"property": "https://reactor.adobe.io/properties/PRffc4f6e926274d1d9868f1a7c8164896",
"origin": "https://reactor.adobe.io/rules/RL03bee68e010f496ab10c7c187eb00c6f",
"self": "https://reactor.adobe.io/rules/RL03bee68e010f496ab10c7c187eb00c6f",
"rule_components": "https://reactor.adobe.io/rules/RL03bee68e010f496ab10c7c187eb00c6f/rule_components"
},
"meta": {
"latest_revision_number": 0
}
}
],
"meta": {
"pagination": {
"current_page": 1,
"next_page": null,
"prev_page": null,
"total_pages": 1,
"total_count": 1
}
}
}