pagination configurations
injected service use to handle the follower related operations
unique identifier of the entity that has been followed
type of the follower
injected logger used to handle the logging
request context [headers, body, params, query].
200 Status OK
This handler is used to get followers by applying the following steps in sequence:
Parse paginated list query
Get paginated followers (followerService.findWithPagination)
Return list of followers with pagination
400 NBError Bad Request
500 NBError Internal Server Error
{
"@nextLink": "https://api.example.com/followers?limit=10&offset=10",
"@previousLink": "https://api.example.com/followers?limit=10&offset=0",
"count": 10,
"total": 100,
"value": [ ...,
{
"id": "1",
"followId": "productId",
"followType": "product",
"followerId": "userId",
"followerType": "user"
}
]
Generated using TypeDoc
Get followers