Follow a user or organization
POST
/subscriptions
Creates a follow edge from the authenticated caller to following_id. The follower is always the authenticated user and cannot be supplied by the client.
Authorizations
BearerAuth
Authentication is handled automatically via httpOnly session cookies after signing in at /cognito/signin or via Google SSO at /cognito/oauth/google. For Swagger UI testing, paste a JWT token from the /cognito/signin response.
Type
HTTP (bearer)
Request Body
application/json
JSON
{
"following_id": "string",
"following_type": "user"
}
Responses
Follow created
application/json
JSON
{
"success": true
}