List trails
GET
/api/v1/trail
const url = 'https://example.com/api/v1/trail';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/trailRetrieves a paginated list of trails with optional filtering and sorting
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”page
integer
perPage
integer
sort
string
filter
string
expand
string
Responses
Section titled “Responses”ListResult
Bad Request
Internal Server Error