Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: ✉️:[API Cloud] Creating Cloud-specific REST API docs
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
maxLevel3
minLevel3
typeflat

...

DescriptionChange 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 MethodsPOST
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

...