Get a website URL rule
GET/api/v1/WebsiteUri/:id
Returns one URL rule of a website by its ID, including its address, match type and timestamps.
Permission required: Any signed-in user.
Values for matchType: -1 = All, 0 = Domain, 1 = Exact, 2 = Never, 3 = StartsWith, 4 = Regex, 5 = Host.
Values for match: -1 = All, 0 = Domain, 1 = Exact, 2 = Never, 3 = StartsWith, 4 = Regex, 5 = Host.
Request
Responses
- 200
- 204
- 400
The body is the URL rule.
No rule has that ID. The body is empty.
The rule could not be retrieved.