Rule Sets
Get a rule set
Retrieve a program-owned rule set by its stable ID. The key is immutable, and the resource has no delete or archive operation.
get/v1/programs/{program_id}/rule-sets/{rule_set_id}
Request
- Base URL: https://api.scrip.dev
- URL: https://api.scrip.dev/v1/programs/{program_id}/rule-sets/{rule_set_id}
- Auth: HTTP bearer
Path parameters
program_idstring uuid required
The program's id.
rule_set_idstring uuid required
The rule set's id.
Response
Rule-set details
Example response
{
"created_at": "2027-01-15T10:30:00Z",
"id": "d4735e3a-265e-4f16-b1a5-4c8e9d6f0a04",
"key": "holiday-promo",
"name": "Holiday Promotion",
"order": 1,
"program_id": "8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01",
"rule_configuration_version": 4,
"updated_at": "2027-01-15T10:30:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.