Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get information about content watcher

Get information about whether a user is watching a specified content. User is optional. If not specified, currently logged-in user will be used. Otherwise, it can be specified by either user key or username. When a user is specified and is different from the logged-in user, the logged-in user needs to be a Confluence administrator.

Example request URI(s):

http://example.com/confluence/rest/api/user/watch/content/131213 http://example.com/confluence/rest/api/user/watch/content/131213?username=jblogs http://example.com/confluence/rest/api/user/watch/content/131213?key=ff8080815a58e24c015a58e263710000

GET/rest/api/user/watch/content/{contentId}
Path parameters
contentIdstringrequired

id of the content.

Query parameters
keystring

userkey of the user to check for watching state.

usernamestring

username of the user to check for watching state.

Responses
200

Returns a JSON representation containing the watching state.

404

Returned if no content exists for the specified content id or calling user does not have permission to perform the operation

statusCodeinteger<int32>
dataValidationResult
Show properties
authorizedboolean
validboolean
errorsobject
successfulboolean
allowedInReadOnlyModeboolean
messagestring
reasonstring
Try it
Server
Parameters
Request
curl -X GET 'http://example.com:7990/confluence/rest/api/user/watch/content/string' \
  -H 'Accept: application/json'
Response
true

Was this page helpful?