Skip to content

REST Resource: accounts

Robert Durfee edited this page Apr 12, 2020 · 7 revisions

(The REST accounts resource code can be found here.)

Resource: account

Represents an account resource.

An account resource includes the encrypted login information for a provided website. It also includes the necessary information for a client to decrypt that login information.

{
    "id": string,
    "createdTimestamp": string,
    "modifiedTimestamp": string,
    "accessedTimestamp": string,
    "key": string,
    "iv": string,
    "domainName": string,
    "username": string,
    "password": string
}
Fields
id string

The unique identifier for the account resource. This identifier is defined by the server.
createdTimestamp string

The time when the account resource was first created.
modifiedTimestamp string

The time when the account resource was last modified.
accessedTimestamp string

The time when the account resource was last accessed.
key string

The AES encryption key used to encrypt the password field. This field is encrypted using the user's public key.
iv string

The AES initialization vector used to encrypt the password field.
domainName string

The domain name for the account resource.
username string

The username for the account resource.
password string

The password for the account resource. This field is encrypted using the AES encryption key in the key field.
Methods
delete Deletes the specified account resource.
get Returns the specified account resource.
insert Creates an account resource using the data included in the request.
list Retrieves the list of account resources.
setPassword Sets an account resource's password.
setUsername Sets an account resource's username.
Clone this wiki locally