Skip to main content
Get User Reaction
Requires the entities bundle. A project without the entities bundle returns 403 database/tables-not-available. See Bundles.
Returns the authenticated user’s current reaction on the specified entity, or null if they have not reacted. An entity that doesn’t exist, is in a space the user can’t read (see who can read content), or whose author has blocked the user answers 404 entity/not-found. The block rule requires the moderation bundle. An entity a moderator removed still answers with the user’s reaction: it stays theirs to see and to remove. Authentication required.

Path Parameters

string
required
The UUID of the entity.

Query Parameters

string
Service key only, and required with one: the user this request acts as, whose reaction is returned. A user token always acts as its own user and must not send it (400 entity/acting-user-not-allowed).

Response

or, if the user has no reaction:

Error Responses

A service key sent no actingUserId.
A user token sent actingUserId, even naming its own user. Only a service key names the user it acts as; a user token always acts as its own user.
Returned when a service key names an actingUserId that isn’t a user in this project.
Returned when the entity doesn’t exist, its author has blocked the user, or it is in a space the user can’t read.
The request sent userId. On this route the user a service key acts as is actingUserId.With a service key:
With a user token, or with no credentials: