API EndpointsUsersFetch Followers Count

Fetch Followers Count

Endpoint

URL: /:projectId/users/:userId/followers-count

Method: GET

Authentication Required: No


Description

This endpoint allows clients to retrieve the number of followers a specific user has within a project.


Request

URL Parameters

ParameterTypeRequiredDescription
projectIdstringYesThe project ID associated with the request.
userIdstringYesThe ID of the user whose followers count is being fetched.

Headers

None

Body Parameters

None

Example Request

GET /12345/users/67890/followers-count

Response

Success Response (200 OK)

{
  "count": 42
}

Error Responses

Missing or Invalid User ID (400 Bad Request)

{
  "error": "Missing or invalid userId in request query"
}

Server Error (500 Internal Server Error)

{
  "error": "Server error"
}

Notes

  • This endpoint does not require authentication.
  • The response provides only the count of followers, not the list of follower details.

API Endpoint Documentation: Fetch Followers Count

Endpoint

URL: /:projectId/users/:userId/followers-count

Method: GET

Authentication Required: No


Description

This endpoint allows clients to retrieve the number of followers a specific user has within a project.


Request

URL Parameters

ParameterTypeRequiredDescription
projectIdstringYesThe project ID associated with the request.
userIdstringYesThe ID of the user whose followers count is being fetched.

Headers

None

Body Parameters

None

Example Request

GET /12345/users/67890/followers-count

Response

Success Response (200 OK)

{
  "count": 42
}

Error Responses

Missing or Invalid User ID (400 Bad Request)

{
  "error": "Missing or invalid userId in request query"
}

Server Error (500 Internal Server Error)

{
  "error": "Server error"
}

Notes

  • This endpoint does not require authentication.
  • The response provides only the count of followers, not the list of follower details.