Warning |
---|
Note that the REST APIs listed on this page are deprecated. Click The following Publisher 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 Publisher APIs, go to https://docs.wso2.com/display/AM210APICloud/apidocs/publisher for the recommended list of Publisher APIs. |
Publisher APIs provide the following REST resources.
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
...
Description | Change the API's status. |
URI | https:// api.cloud.wso2.com / publisher/site/blocks/life-cycles/ajax/life-cycles.jag |
URI Parameters | action=updateStatus&name=xxx&version=1.0.0&provider=apiCreateName&status=PUBLISHED&publishToGateway=true&requireResubscription=true |
HTTP Methods | POST |
Example | curl -X POST -b cookies https://api.cloud.wso2.com/publisher/site/blocks/life-cycles/ajax/life-cycles.jag -d 'action=updateStatus&name=TwitterAPI&version=1.0.0&provider=provider&status=PUBLISHED&publishToGateway=true&requireResubscrip |
Add/Update an API Document
...