Skip to content

list

GET
/trail-share

Lists all trail-shares.

Authorizations

Parameters

Query Parameters

page
number

Page number starting at 1

Example
1
perPage
number

Items per page

Example
5
sort
string

Sort string (-/+)

Example
-created
filter
string
Example
permission="view"
expand
string
Example
user
requestKey
string

Unique request key. Prevents auto cancel when sending multiple requests.

Example
my-key

Responses

200

object
page
required
integer
perPage
required
integer
totalItems
required
integer
totalPages
required
integer
items
required
Array<object>
object
collectionId
string
collectionName
string
created
string
id
string
trail
string
permission
string
updated
string
user
string
expand
object
user
required
object
avatar
required
string
bio
required
string
collectionId
required
string
collectionName
required
string
created
required
string
id
required
string
private
required
boolean
username
required
string
Examples

Success

{
"page": 1,
"perPage": 5,
"totalItems": 30,
"totalPages": 6,
"items": [
{
"collectionId": "1mns8mlal6uf9ku",
"collectionName": "trail_share",
"created": "2024-11-15 20:00:10.603Z",
"id": "027pf52phm4a5vx",
"permission": "view",
"trail": "l4u85lr0x6jgojd",
"updated": "2024-11-15 20:00:10.603Z",
"user": "3mugf953w4a9fg5",
"expand": {
"user": {
"avatar": "23xxesym0e9w18z2904frnpgy7_OzsVanAmWP.jpg",
"bio": "Enim beatae labore vel. Pariatur hic doloribus quia quasi eos. Cumque error nobis.",
"collectionId": "xku110v5a5xbufa",
"collectionName": "users_anonymous",
"created": "2024-06-29 19:23:47.731Z",
"id": "3mugf953w4a9fg5",
"private": false,
"username": "Flomp"
}
}
},
{
"collectionId": "1mns8mlal6uf9ku",
"collectionName": "trail_share",
"created": "2024-09-14 14:36:36.470Z",
"id": "0q3pknqtbf5zsmu",
"permission": "view",
"trail": "2o9c3pxfvrzclud",
"updated": "2024-09-14 14:36:36.470Z",
"user": "znhd3hgrxl85c9f",
"expand": {
"user": {
"avatar": "screenshot_2024_06_30_at_22_55_34_jpeg_grafik_1024_1024_pixel_skaliert_89_GnBqL3uYqZ.png",
"bio": "",
"collectionId": "xku110v5a5xbufa",
"collectionName": "users_anonymous",
"created": "2024-06-30 21:02:11.693Z",
"id": "znhd3hgrxl85c9f",
"private": false,
"username": "John"
}
}
},
{
"collectionId": "1mns8mlal6uf9ku",
"collectionName": "trail_share",
"created": "2024-09-14 13:05:39.661Z",
"id": "1n7oo2f14d2bwi5",
"permission": "view",
"trail": "yesm2tqc6jok8jq",
"updated": "2024-09-14 13:05:39.661Z",
"user": "znhd3hgrxl85c9f",
"expand": {
"user": {
"avatar": "screenshot_2024_06_30_at_22_55_34_jpeg_grafik_1024_1024_pixel_skaliert_89_GnBqL3uYqZ.png",
"bio": "",
"collectionId": "xku110v5a5xbufa",
"collectionName": "users_anonymous",
"created": "2024-06-30 21:02:11.693Z",
"id": "znhd3hgrxl85c9f",
"private": false,
"username": "John"
}
}
},
{
"collectionId": "1mns8mlal6uf9ku",
"collectionName": "trail_share",
"created": "2024-12-02 17:46:13.399Z",
"id": "23mpznfesfbyha1",
"permission": "view",
"trail": "6558yf0g9knodhv",
"updated": "2024-12-02 17:46:13.399Z",
"user": "znhd3hgrxl85c9f",
"expand": {
"user": {
"avatar": "screenshot_2024_06_30_at_22_55_34_jpeg_grafik_1024_1024_pixel_skaliert_89_GnBqL3uYqZ.png",
"bio": "",
"collectionId": "xku110v5a5xbufa",
"collectionName": "users_anonymous",
"created": "2024-06-30 21:02:11.693Z",
"id": "znhd3hgrxl85c9f",
"private": false,
"username": "John"
}
}
},
{
"collectionId": "1mns8mlal6uf9ku",
"collectionName": "trail_share",
"created": "2024-09-14 14:36:36.155Z",
"id": "2lhw2wak0i71rmr",
"permission": "view",
"trail": "oy1auygew9fvha0",
"updated": "2024-09-14 14:36:36.155Z",
"user": "znhd3hgrxl85c9f",
"expand": {
"user": {
"avatar": "screenshot_2024_06_30_at_22_55_34_jpeg_grafik_1024_1024_pixel_skaliert_89_GnBqL3uYqZ.png",
"bio": "",
"collectionId": "xku110v5a5xbufa",
"collectionName": "users_anonymous",
"created": "2024-06-30 21:02:11.693Z",
"id": "znhd3hgrxl85c9f",
"private": false,
"username": "John"
}
}
}
]
}

400

object
message
required
string
detail
required
Array<object>
object
code
string
minimum
integer
type
string
inclusive
boolean
exact
boolean
message
string
path
Array<string>

x-400:Invalid sort/expand/filter

object
message
required
string
detail
required
object
code
required
integer
message
required
string
data
required
object
Examples

Exception

{
"message": "Something went wrong while processing your request.",
"detail": {
"code": 400,
"message": "Something went wrong while processing your request.",
"data": {}
}
}