Hi Erandi, I don't think you can attach a sequence at API creation. However did you try [1] which is the API for adding a mediation sequence to existing API?
[1]: https://docs.wso2.com/display/AM210/apidocs/publisher/#!/operations#MediationPolicyCollection#apisApiIdPoliciesMediationPost Thanks, Praminda On Mon, Jan 22, 2018 at 2:31 PM, Chathurika De Silva <[email protected]> wrote: > Hi > > There is a need to create/update an api with a custom sequence associated > through the REST APIs. In [1] the sample payload has a field called > sequences which is taking an array as the argument. But from the document > it's not clear how to proceed with it (whether we need to first upload the > sequence to the registry, etc...) It would be highly appreciated if a > sample can be pointed out that addresses the $subject need. > > [1] https://docs.wso2.com/display/AM210/apidocs/publisher/#!/ > operations#APIIndividual#apisApiIdPut > > Thanks > Erandi > > -- > *Chathurika Erandi* > Senior Software Engineer, > WSO2 Inc. > > *E-mail:* [email protected] > *Mobile: *+94714 328 612 > *Blog*: chathurikaerandi.blogspot.com > -- *Praminda Jayawardana* Software Engineer WSO2 Inc.; http://wso2.com Mobile : +94 (0) 716 590918
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
