REST APIs
Below is a list of REST APIs used internally in Drupal Developer Portal.
These APIs are invoked on our AMS Server and are hidden from the API listed in the Products page.
Before executing these APIs, append the following default AMS URL to the starting of the API:
http://localhost:1981
For further reference to the APIs, visit:
http://localhost:1981/swaggerui
Name | URI | Method | Description |
Server status | /api/ams/servers/enterprise-server/status | GET | Returns the status of the specified server |
Generate API Key | /api/ams/security/api-key | POST | Generates the API Key for the user |
Remove API Key | /api/ams/security/api-key | DELETE | Deletes api key. |
List of API Products | api/ams/apiproduct/product-details/{clientID} | GET | Returns the product details for the specified client ID. |
Product Details | /api/ams/apiproduct/products/{product_id} | GET | Returns the details of product |
List of Applications | /api/ams/apiproduct/clients/client-subscriptions/{clientId} | GET | Returns the list of developer applications for the client |
Application Details | /api/ams/apiproduct/client-subscriptions/{name} | GET | Returns the details of client application |
Delete Application | /api/ams/apiproduct/client-subscriptions/{name} | DELETE | Perform delete API Clients Application |
Register Application | /api/ams/apiproduct/developer-application | POST | Save Developer Application |
Client Subscription Existence | /api/ams/apiproduct/{developerAppId}/{developerId}/client-subscription-existence | GET | Checks if the specified client application exists. |
Get Client Details | /api/ams/apiproduct/clients/{developerId} | GET | Returns the Details of Client/Developer |
Update Client Status | /api/ams/apiproduct/clients/{developerId}/status | POST | Changes the status of Client/Developer |
delete Client | /api/ams/apiproduct/clients-developers/{name} | DELETE | Perform delete operation for API Clients/Developers |
Save client | /api/ams/apiproduct/clients | POST | Save New Api Client/Developer |
Get All rate-plans | /api/ams/apiproduct/products/rate-plans | GET | GET Returns the rate-plan for all products |
Get product rate-plans | /api/ams/apiproduct/products/rate-plans/{products_id} | GET | Returns the rate-plan of product |
Get environments | /api/ams/apiprojects/server-groups | GET | Returns the server-groups(Environments) |
Add Public Certfiicate | /api/ams/keystore/certificate-entry/{newAlias} | POST | Adds public certificate to the keystore |
Delete Public Certificate | /api/ams/keystore/aliases | DELETE | Deletes the public certificate from the keystore |
Get Public certifcates | /api/ams/keystore | GET | Returns the information about all keys. |