Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This router is for site owners only. It is used to create new API accounts. It actually requires that an owner has been created with this interface, which usually is being made when the API is installed for the first time.

Resource Information

POST /api/v1/account/user

Syntax

Code Block
languagejs
{
    "name":"UserClientName",
    "email":"clientContactMail@test.com",
    "password":"testPassword",
    "password_confirmation":"testPassword"
}

Response

Client Removal

Resource Information

DELETE /api/v1/account/user

Client Login

Resource Information

POST /api/v1/account/login

Client Logout

Resource Information

POST /api/v1/account/logout

Client Status

Resource Information

POST /api/v1/account/status

Returns information about the logged in client (currently only if the user is logged in or logged out)