InternalCreate a new instance of the service.
Adds a user as a watcher to a piece of content. Choose the user by doing one of the following:
accountId to identify the
user.Note, you must add the X-Atlassian-Token: no-check header when making a
request, as this operation has XSRF protection.
Permissions required: 'Confluence Administrator' global permission if specifying a user, otherwise permission to access the Confluence site ('Can use' global permission).
OptionalaccountThe account ID of the user. The accountId uniquely identifies the user across
all Atlassian products.
For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.
The ID of the content to add the watcher to.
Optionalkey?: stringThis parameter is no longer available and will be removed from the
documentation soon.
Use accountId instead.
See the deprecation
notice
for details.
Optionalusername?: stringThis parameter is no longer available and will be removed from the
documentation soon.
Use accountId instead.
See the deprecation
notice
for details.
Adds a user as a watcher to a label. Choose the user by doing one of the following:
accountId to identify the
user.Note, you must add the X-Atlassian-Token: no-check header when making a
request, as this operation has XSRF protection.
Permissions required: 'Confluence Administrator' global permission if specifying a user, otherwise permission to access the Confluence site ('Can use' global permission).
OptionalaccountThe account ID of the user. The accountId uniquely identifies the user across
all Atlassian products.
For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.
Optionalkey?: stringThis parameter is no longer available and will be removed from the
documentation soon.
Use accountId instead.
See the deprecation
notice
for details.
The name of the label to add the watcher to.
Optionalusername?: stringThis parameter is no longer available and will be removed from the
documentation soon.
Use accountId instead.
See the deprecation
notice
for details.
Note, you must add header when making a request, as this operation has XSRF protection.
Adds a user as a watcher to a space. Choose the user by doing one of the following:
accountId to identify the
user.Note, you must add the X-Atlassian-Token: no-check header when making a
request, as this operation has XSRF protection.
Permissions required: 'Confluence Administrator' global permission if specifying a user, otherwise permission to access the Confluence site ('Can use' global permission).
OptionalaccountThe account ID of the user. The accountId uniquely identifies the user across
all Atlassian products.
For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.
Optionalkey?: stringThis parameter is no longer available and will be removed from the
documentation soon.
Use accountId instead.
See the deprecation
notice
for details.
The key of the space to add the watcher to.
Optionalusername?: stringThis parameter is no longer available and will be removed from the
documentation soon.
Use accountId instead.
See the deprecation
notice
for details.
Note, you must add header when making a request, as this operation has XSRF protection.
Returns whether a user is watching a piece of content. Choose the user by doing one of the following:
accountId to identify the
user.Permissions required: 'Confluence Administrator' global permission if specifying a user, otherwise permission to access the Confluence site ('Can use' global permission).
OptionalaccountThe account ID of the user. The accountId uniquely identifies the user across
all Atlassian products.
For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.
The ID of the content to be queried for whether the specified user is watching it.
Optionalkey?: stringThis parameter is no longer available and will be removed from the
documentation soon.
Use accountId instead.
See the deprecation
notice
for details.
Optionalusername?: stringThis parameter is no longer available and will be removed from the
documentation soon.
Use accountId instead.
See the deprecation
notice
for details.
Returned if the requested watch status is returned.
Returns a list of watchers of a space
Optionallimit?: stringThe limit of the number of items to return, this may be restricted by fixed system limits.
The key of the space to get watchers.
Optionalstart?: stringThe start point of the collection to return.
Returned if watchers list is returned.
Returns the watches for a page. A user that watches a page will receive receive notifications when the page is updated.
If you want to manage watches for a page, use the following user methods:
Permissions required: Permission to access the Confluence site ('Can use' global permission).
The ID of the content to be queried for its watches.
Optionallimit?: numberThe maximum number of watches to return per page. Note, this may be restricted by fixed system limits.
Optionalstart?: numberThe starting index of the returned watches.
Returned if the requested watches are returned.
Returns all space watches for the space that the content is in. A user that watches a space will receive receive notifications when any content in the space is updated.
If you want to manage watches for a space, use the following user methods:
Permissions required: Permission to access the Confluence site ('Can use' global permission).
The ID of the content to be queried for its watches.
Optionallimit?: numberThe maximum number of watches to return per page. Note, this may be restricted by fixed system limits.
Optionalstart?: numberThe starting index of the returned watches.
Returned if the requested watches are returned.
Returns whether a user is watching a label. Choose the user by doing one of the following:
accountId to identify the
user.Permissions required: 'Confluence Administrator' global permission if specifying a user, otherwise permission to access the Confluence site ('Can use' global permission).
OptionalaccountThe account ID of the user. The accountId uniquely identifies the user across
all Atlassian products.
For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.
Optionalkey?: stringThis parameter is no longer available and will be removed from the
documentation soon.
Use accountId instead.
See the deprecation
notice
for details.
The name of the label to be queried for whether the specified user is watching it.
Optionalusername?: stringThis parameter is no longer available and will be removed from the
documentation soon.
Use accountId instead.
See the deprecation
notice
for details.
Returned if the requested watch status is returned.
Returns whether a user is watching a space. Choose the user by doing one of the following:
accountId to identify the
user.Permissions required: 'Confluence Administrator' global permission if specifying a user, otherwise permission to access the Confluence site ('Can use' global permission).
OptionalaccountThe account ID of the user. The accountId uniquely identifies the user across
all Atlassian products.
For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.
Optionalkey?: stringThis parameter is no longer available and will be removed from the
documentation soon.
Use accountId instead.
See the deprecation
notice
for details.
The key of the space to be queried for whether the specified user is watching it.
Optionalusername?: stringThis parameter is no longer available and will be removed from the
documentation soon.
Use accountId instead.
See the deprecation
notice
for details.
Returned if the requested watch status is returned.
Removes a user as a watcher from a piece of content. Choose the user by doing one of the following:
accountId to identify the
user.Permissions required: 'Confluence Administrator' global permission if specifying a user, otherwise permission to access the Confluence site ('Can use' global permission).
OptionalaccountThe account ID of the user. The accountId uniquely identifies the user across
all Atlassian products.
For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.
The ID of the content to remove the watcher from.
Optionalkey?: stringThis parameter is no longer available and will be removed from the
documentation soon.
Use accountId instead.
See the deprecation
notice
for details.
Optionalusername?: stringThis parameter is no longer available and will be removed from the
documentation soon.
Use accountId instead.
See the deprecation
notice
for details.
Note, you must add header when making a request, as this operation has XSRF protection.
Removes a user as a watcher from a label. Choose the user by doing one of the following:
accountId to identify the
user.Permissions required: 'Confluence Administrator' global permission if specifying a user, otherwise permission to access the Confluence site ('Can use' global permission).
OptionalaccountThe account ID of the user. The accountId uniquely identifies the user across
all Atlassian products.
For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.
Optionalkey?: stringThis parameter is no longer available and will be removed from the
documentation soon.
Use accountId instead.
See the deprecation
notice
for details.
The name of the label to remove the watcher from.
Optionalusername?: stringThis parameter is no longer available and will be removed from the
documentation soon.
Use accountId instead.
See the deprecation
notice
for details.
Removes a user as a watcher from a space. Choose the user by doing one of the following:
accountId to identify the
user.Permissions required: 'Confluence Administrator' global permission if specifying a user, otherwise permission to access the Confluence site ('Can use' global permission).
OptionalaccountThe account ID of the user. The accountId uniquely identifies the user across
all Atlassian products.
For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.
Optionalkey?: stringThis parameter is no longer available and will be removed from the
documentation soon.
Use accountId instead.
See the deprecation
notice
for details.
The key of the space to remove the watcher from.
Optionalusername?: stringThis parameter is no longer available and will be removed from the
documentation soon.
Use accountId instead.
See the deprecation
notice
for details.
Protected Staticinitialize
See
https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches