Skip to content

list

GET
/follow

Lists all follows.

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
follower="3mugf953w4a9fg5"
expand
string
Example
follower
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
required
string
collectionName
required
string
created
required
string
followee
required
string
follower
required
string
id
required
string
updated
required
string
expand
required
object
follower
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
followee
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": 1,
"totalPages": 1,
"items": [
{
"collectionId": "8obn1ukumze565i",
"collectionName": "follows",
"created": "2024-12-20 23:22:18.445Z",
"followee": "3mugf953w4a9fg5",
"follower": "znhd3hgrxl85c9f",
"id": "xajdtx5j8l10wov",
"updated": "2024-12-20 23:22:18.445Z",
"expand": {
"follower": {
"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"
},
"followee": {
"avatar": "pexels_photo_2230444_WILu8cRHVb.jpg",
"bio": "ex aliqua velit deserunt ea exercitation do. Velit ullamco elit culpa eiusmod officia irure aute Lorem in ullamco labore ex. Officia ea qui in exercitation amet. Consequat laboris id duis enim Lorem dolore fugiat excepteur sunt. Sint consectetur duis tempor deserunt non. Ex amet sunt eu commodo.\n\nMollit labore cupidatat qui enim consectetur irure. Ea et reprehenderit ipsum adipisicing duis proident tempor esse excepteur dolor dolore anim consectetur aliqua. Laborum culpa eiusmod id ea consectetur do sit reprehenderit consequat voluptate mollit commodo. Ullamco aute ea minim enim et cupidatat ipsum cillum fugiat. Proident consectetur commodo Lorem do incididunt labore pariatur esse ea officia adipisicing. Do et sint culpa proident enim irure aliqua dolore magna. Laborum Lorem sunt amet occaecat occaecat mollit consectetur laborum ut.",
"collectionId": "xku110v5a5xbufa",
"collectionName": "users_anonymous",
"created": "2024-06-29 19:23:47.731Z",
"id": "3mugf953w4a9fg5",
"private": false,
"username": "Flomp"
}
}
}
]
}

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>
Examples

Exception

{
"message": "invalid_params",
"detail": [
{
"code": "too_small",
"minimum": 0,
"type": "number",
"inclusive": false,
"exact": false,
"message": "Number must be greater than 0",
"path": [
"page"
]
}
]
}

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": {}
}
}