Hi, I tried to invoke API manager REST publisher API via in a test case to copy API to new version and failed[1]. There is a additional parameter added in 1.2.2 code path to check whether the newly created version is default version or not. So doc should be updated as follows.
curl -X POST -b cookies http://localhost:9763/publisher/site/blocks/overview/ajax/overview.jag -d "action=createNewAPI&provider=user1&apiName=API1&version=1.0.0&newVersion=2.0.0 *&isDefaultVersion=default_version*” [1] https://docs.wso2.com/display/AM170/Publisher+APIs#PublisherAPIs-CopyanAPI -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear.
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
