Skip to main content
GET
List recent routes

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

Required. String in UUID format (32 hex characters, no dashes). The id of the organization the recent routes belong to. UUID without dashes (32-character hex string)

Pattern: ^[0-9a-fA-F]{32}$

Query Parameters

searchText
string

Optional. String. Case-insensitive text to look for in the route name. Only routes whose name contains the text are returned. The backend enforces no minimum or maximum length and does not trim the text. An empty value is the same as omitting the parameter and returns all routes.

filter
string

filters values by passed id

max
integer<int>
default:10

max records to return

Required range: 1 <= x <= 1000
offset
integer<int>
default:0

the offset to be used in list

Required range: x >= 0
sort
string
default:lastUsed:desc

Optional. The property and direction to sort the recent routes by, as a string in the property:direction format, where property is lastUsed and direction is asc or desc (for example lastUsed:asc). Several criteria can be given as a comma-separated list or by repeating the parameter, and the first accepted criterion applies. Any other value is ignored. Defaults to lastUsed:desc (most recently used first) when omitted. Routes used at the same time are ordered by id.

Response

OK

meta
object
data
object[]