Skip to content

show

GET
/follow/count/{id}

Shows follower and followee counts given a user Id.

Parameters

Path Parameters

id
required
string

User Id

Example
3mugf953w4a9fg5

Responses

200

object
Examples

Success

{
"collectionId": "j6w72f0kb5ivd7x",
"collectionName": "follow_counts",
"followers": 1,
"following": 1,
"id": "3mugf953w4a9fg5"
}

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": 15,
"type": "string",
"inclusive": true,
"exact": true,
"message": "String must contain exactly 15 character(s)",
"path": [
"id"
]
}
]
}

404

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

Exception

{
"message": "The requested resource wasn't found.",
"detail": {
"code": 404,
"message": "The requested resource wasn't found.",
"data": {}
}
}

x-200:OK

object
collectionId
required
string
collectionName
required
string
followers
required
integer
following
required
integer
id
required
string