Manual Part 2

Wireless Array
252 Configuring the Wireless Array
Figure 140. OAuth 2.0 Management - Token List
Procedure for Obtaining a Token and Accessing RESTful API on the Array
1. Present User Credentials for a Permanent Token
A user-developed application must register by presenting the following
information to the URL below:
https://[Array hostname or IP address]/oauth/authorize
grant_type: password
username: username of an administrator account on the Array.
client_id: username of an administrator account on the Array
(username and client_id must match).
password: password for the same administrator account on the Array
The OAuth Authorization API provides a permanent token that the
application may use to access the RESTful API. This token remains valid
until the administrator revokes the token on the OAuth 2.0 Management
page, unless the token file somehow becomes corrupted or is removed
from the Array’s file system.
The token will be removed if the original account associated with it is
deleted.
2. Access the RESTful API
Once registration is completed and a permanent token has been
provided, your application may access the API using the client_id and
the token at the following URL:
https://[Array hostname or IP address]/api/v1/[api-name]