The policy API provides functionality that allows a administrator to add, delete or update policies
Table of Contents |
---|
Section | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
List policiesLists all the policies configured in the Aspire
Query String Parameters
Response
Status
|
Section | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Get a single policyGet information about a single policy configured in Aspire
Query String and Path Parameters
Response
Status
|
Section | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Add a policy(s)Add Adds one or more policies policy to Aspire
Request Body Parameters
Other parameters passed in the request body will depend on the type of policy being created - those required by Documentum will be different from those required by SharePoint. Some candidates are shown below | |||||||||||||||||||
Name | Description | domain | An Active Directory/LDAP domain|||||||||||||||||
username | A username | ||||||||||||||||||
password | A password | ||||||||||||||||||
A user email address | |||||||||||||||||||
APIkey | An API key | ||||||||||||||||||
token | an access token |
Code Block | ||
---|---|---|
| ||
{ "type": "filesystemThrottle" "description": "Europe Net Appliance" ... } |
Add multiple policys
Code Block | ||
---|---|---|
| ||
[{ "type": "filesystem" "description": "Europe Net Appliance" throttle" ... }, { "type": "sharepoint" "description": "SP Online" ... }] |
Response
Code Block | ||
---|---|---|
| ||
{ "policy": [{ "id": "AAABcID5GBc=", "type": "filesystemthrottle" "description": "Europe Net Appliance" ... }, { "id": "AAABcIueWUc=", "type": "sharepoint" "description": "SP Online" ... }], "message": "optional response message" } |
Status
Response code | Description |
---|---|
201 | Created |
406 | Not acceptable - there was an issue validating the input |
Section | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Update a policy(s)Update one or more a policys in Aspire. Updates will be treated as partial updates rather than overwrites. If a field is not present in the input, any previous value will remain after the update. If you wish to "delete" a value, pass a value of null
Request Body Parameters
Other parameters passed in the request body will depend on the type of policy being created - see Add policy(s) Policy API above Examples Update a single policy
Update multiple policies
Response
Status
|
Section | |||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Delete policy(s)Delete one or more policies from Aspire.
Query String, Path and Request Body Parameters
Examples Delete a single policy
Delete multiple seeds
Delete multiple policies (alternative form)
Response
Status
|