All of the endpoints in the access token REST API are inherited from the generic PersistedModel REST API. The reference is provided here for convenience.
Quick reference
URI Pattern | HTTP Verb | Default Permission | Description | Arguments |
---|---|---|---|---|
| POST | Allow | Add access token instance and persist to data source. Inherited from generic model API. | JSON object (in request body) |
/accessTokens | GET | Deny | Find all instances of accessTokens that match specified filter. Inherited from generic model API . | One or more filters in query parameters:
|
/accessTokens | PUT | Deny | Update / insert access token instance and persist to data source. Inherited from generic model API . | JSON object (in request body) |
/accessTokens/id | GET | Deny | Find access token by ID: Return data for the specified access token instance ID. Inherited from generic model API . | id, the access token instance ID (in URI path) |
/accessTokens/id | PUT | Deny | Update attributes for specified access token ID and persist. Inherited from generic model API . | Query parameters:
|
/accessTokens/id | DELETE | Deny | Delete access token with specified instance ID. Inherited from generic model API . | id, access token ID (in URI path) |
/accessTokens/id/exists | GET | Deny | Check instance existence: Return true if specified access token ID exists. Inherited from generic model API . | URI path:
|
/accessTokens/count | GET | Deny | Return the number of access token instances that matches specified where clause. Inherited from generic model API. | Where filter specified in query parameter |
/accessTokens/findOne | GET | Deny | Find first access token instance that matches specified filter. Inherited from generic model API . | Same as Find matching instances. |