API Access Control

Get Single Route

Retrieve a single route

get/resources/routes/v1/{id}

Request

Path parameters

idstring required

Response

idstring required
method'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | '*' required
pathstring required
prioritynumber required
descriptionstring required
policyType'allow' | 'deny' | 'ruleBased' required

Example response

{
  "id": "b796239c-6641-4cf3-9ff3-658ad4049131",
  "method": "GET",
  "path": "/users",
  "priority": 100,
  "description": "This is an example route",
  "policyType": "allow",
  "rules": [
    {
      "id": "b796239c-6641-4cf3-9ff3-658ad4049131",
      "routeId": "b796239c-6641-4cf3-9ff3-658ad4049131",
      "type": "feature",
      "value": "my-feature-key"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.