Store APIs
The following Store APIs are deprecated and will be unsupported in a future release. They are provided below for reference by existing users. For a complete list of the currently supported Store APIs, go to https://docs.wso2.com/display/AM210/apidocs/store/.
- 1 Login
- 2 Logout
- 3 User Signup
- 4 Search APIs
- 5 Get all Paginated Published APIs
- 6 Add an Application
- 7 Update an Application
- 8 Get Applications
- 9 Get an Application by Name
- 10 Remove an Application
- 11 Generate an Application Key
- 12 Update an Application Key
- 13 Add a Subscription
- 14 List Subscriptions
- 15 List Subscriptions by Application
- 16 List Subscriptions by API
- 17 Remove a Subscription
- 18 Delete an OAuth Application
- 19 Provision an Out-of-Band OAuth Client
- 20 Clean Partially Created Keys
- 21 Get all Documentation
- 22 Get the Contents of a File Document
- 23 Add an API Comment
- 24 Get all Endpoint URLs
- 25 Get all Available Tiers
- 26 Update Grant Types
Note: When you access any API other than the login and logout APIs through an external REST client such as cURL, first invoke the login API to ensure that user is authenticated. When the login API is invoked, the system stores the generated session cookie in a file, which we use in the next API invocations.
The responses is a JSON message.
Login
Description | Log in to API Store. |
URI | http://localhost:9763/store/site/blocks/user/login/ajax/login.jag |
URI Parameters |
|
HTTP Methods | POST |
Example |
|
Logout
Description | Log out from API Store. |
URI | http://localhost:9763/store/site/blocks/user/login/ajax/login.jag?action=logout |
URI Parameters |
|
HTTP Methods | GET |
Example |
|
User Signup
Description | Add a new API Consumer. |
URI | http://localhost:9763/store/site/blocks/user/sign-up/ajax/user-add.jag |
URI Parameters |
|
HTTP Methods | POST |
Example |
|
Search APIs
Description | Search for APIs using a given query. |
URI | http://localhost:9763/store/site/blocks/search/api-search/ajax/search.jag |
URI Parameters |
The |
HTTP Methods | POST |
Example |
|
Get all Paginated Published APIs
Description | Get a list of all published APIs in paginated form so that browsing is easier. |
URI | http://localhost:9763/store/site/blocks/api/listing/ajax/list.jag |
URI Parameters | action=getAllPaginatedPublishedAPIs, tenant, start, end, returnAPITags (optional) The The |
HTTP Methods | GET |
Example | To get the first 100 APIs in the API Store:
|
Please note that the getAllPublishedAPIs API is now deprecated. You can get the same functionality from getAllPaginatedPublishedAPIs.
Add an Application
Description | Add a new application. |
URI | http://localhost:9763/store/site/blocks/application/application-add/ajax/application-add.jag |
URI Parameters |
|
HTTP Methods | POST |
Example |
|
Update an Application
Description | Update an existing application. |
URI | http://localhost:9763/store/site/blocks/application/application-update/ajax/application-update.jag |
URI Parameters |
|
HTTP Methods | POST |
Example |
|
Get Applications
Description | Get list of applications. |
URI | http://localhost:9763/store/site/blocks/application/application-list/ajax/application-list.jag |
URI Parameters |
|
HTTP Methods | GET |
Example |
|
Get an Application by Name
Description | Get details of a single application by name. |
URI | http://localhost:9763/store/site/blocks/application/application-list/ajax/application-list.jag |
URI Parameters |
|
HTTP Methods | GET |
Example |
|
Remove an Application
Description | Remove an existing application. |
URI | http://localhost:9763/store/site/blocks/application/application-remove/ajax/application-remove.jag |
URI Parameters |
|
HTTP Methods | POST |
Example |
|
Generate an Application Key
Description | Generate the key and secret values for a new application. |
URI | http://localhost:9763/store/site/blocks/subscription/subscription-add/ajax/subscription-add.jag |
URI Parameters |
|
HTTP Methods | POST |
Examples |
|
Update an Application Key
Description | Update the key and secret values for an application. |
URI | http://localhost:9763/store/site/blocks/subscription/subscription-add/ajax/subscription-add.jag |
URI Parameters | action=updateClientApplication& application=<app_name>&keytype=<PRODUCTION|SANDBOX> &callbackUrl=<URL>& authorizedDomains=<The domains from which requests are allowed to the APIs>& validityTime=<time duration in seconds>&tokenScope |
HTTP Methods | POST |
Examples |
|
Add a Subscription
Description | Add a new API subscription. |
URI | http://localhost:9763/store/site/blocks/subscription/subscription-add/ajax/subscription-add.jag |
URI Parameters |
|
HTTP Methods | POST |
Example |
|
List Subscriptions
Description | List all applications with active subscriptions, along with the access key information of each application. |
URI | http://localhost:9763/store/site/blocks/subscription/subscription-list/ajax/subscription-list.jag |
URI Parameters | action=getAllSubscriptions, selectedApp (optional) You can give an application's name in the s |
HTTP Methods | GET |
Examples |
|
List Subscriptions by Application
Description | List all API subscriptions of a given application. |
URI | http://localhost:9763/store/site/blocks/subscription/subscription-list/ajax/subscription-list.jag |
URI Parameters |
|
HTTP Methods | GET |
Example |
|
List Subscriptions by API
Description | List all subscriptions of a given API. |
URI | http://localhost:9763/store/site/blocks/subscription/subscription-list/ajax/subscription-list.jag |
URI Parameters |
|
HTTP Methods | GET |
Example |
|
Remove a Subscription
Delete an OAuth Application
Description | Deletes an OAuth application in a third-party Authorization Server. If you delete it through the API Store UI, only the mapping that is maintained in the API Manager side will be deleted. |
URI | http://localhost:9763/store/site/blocks/subscription/subscription-add/ajax/subscription-add.jag |
URI Parameters |
|
HTTP Methods | POST |
Example |
|
Provision an Out-of-Band OAuth Client
Description | Provisions an OAuth client that was created out-of-band. |
URI | http://localhost:9763/store/site/blocks/subscription/subscription-add/ajax/subscription-add.jag |
URI Parameters |
|
HTTP Methods | POST |
Example |
|
Clean Partially Created Keys
Description | Cleans any partially created keys from the API Manager database, before adding a new subscription. Partially created keys can remain in the API Manager databases when an OAuth application of a third-party authorization server gets deleted using the API Store UI. It only deletes the mapping that is maintained in the API Manager side. |
URI | http://localhost:9763/store/site/blocks/subscription/subscription-add/ajax/subscription-add.jag |
URI Parameters |
|
HTTP Methods | POST |
Example |
|
Get all Documentation
Description | Get all documents create for a given API |
URI | http://localhost:9763 /store/site/blocks/api/listing/ajax/list.jag |
URI Parameters |
|
HTTP Methods | GET |
Example |
|