This documentation covers Review Board 3.0.
You can select a version above or
view the latest documentation.
reviewboard.webapi.models
-
class
WebAPIToken(*args, **kwargs)[source]
Bases: djblets.webapi.models.BaseWebAPIToken
An access token used for authenticating with the API.
Each token can be used to authenticate the token’s owner with the API,
without requiring a username or password to be provided. Tokens can
be revoked, and new tokens added.
Tokens can store policy information, which will later be used for
restricting access to the API.
-
local_site[source]
-
classmethod
get_root_resource()[source]
-
get_next_by_last_updated(**morekwargs)[source]
-
get_next_by_time_added(**morekwargs)[source]
-
get_policy_json()[source]
-
get_previous_by_last_updated(**morekwargs)[source]
-
get_previous_by_time_added(**morekwargs)[source]
-
objects = <djblets.webapi.managers.WebAPITokenManager object>[source]
-
set_policy_json(json)[source]
-
user[source]