UserPropertiesApi class
This document describes the REST API and resources provided by Confluence. The REST APIs are for developers who want to integrate Confluence into their application and for administrators who want to script interactions with the Confluence server.Confluence's REST APIs provide access to resources (data entities) via URI paths. To use a REST API, your application will make an HTTP request and parse the response. The response format is JSON. Your methods will be the standard HTTP methods like GET, PUT, POST and DELETE. Because the REST API is based on open standards, you can use any web development language to access the API.
Constructors
- UserPropertiesApi(ApiClient _client)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createUserProperty(
{required String userId, required String key, required UserPropertyCreate body}) → Future< void> -
Creates a property for a user. For more information about user
properties, see
Confluence entity properties
(https://developer.atlassian.com/cloud/confluence/confluence-entity-properties/).Note
, these properties stored against a user are on a Confluence site level and not space/content level. -
deleteUserProperty(
{required String userId, required String key}) → Future< void> -
Deletes a property for the given user.
For more information about user properties, see
Confluence entity properties.
Note
, these properties stored against a user are on a Confluence site level and not space/content level. -
getUserProperties(
{required String userId, int? start, int? limit}) → Future< UserPropertyKeyArray> -
Returns the properties for a user as list of property keys. For more
information
about user properties, see
Confluence entity properties.
Note
, these properties stored against a user are on a Confluence site level and not space/content level. -
getUserProperty(
{required String userId, required String key}) → Future< UserProperty> -
Returns the property corresponding to
key
for a user. For more information about user properties, see Confluence entity properties.Note
, these properties stored against a user are on a Confluence site level and not space/content level. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateUserProperty(
{required String userId, required String key, required UserPropertyUpdate body}) → Future< void> -
Updates a property for the given user. Note, you cannot update the key of
a user property, only the value.
For more information about user properties, see
Confluence entity properties.
Note
, these properties stored against a user are on a Confluence site level and not space/content level.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited