Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Error when adding apiary documentation using REST API "Create API" — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Error when adding apiary documentation using REST API "Create API"

Received Response
7
Views
1
Comments
edited Jul 10, 2020 9:45AM in API Management 1 comment

Summary

I want to use the "Create API" to add apiary documentation to an API I create, but I can't get this working

Content

I'm trying to automate the creation of an API (and plan, service, etc.) in a CI/CD pipeline (Azure DevOps) using the REST API for the Management Service in Oracle API Platform Cloud Service documentation (https://docs.oracle.com/en/cloud/paas/api-platform-cloud/apfrm/op-apis-post.html).

I've managed to get this working for a very generic API upload. Now I'm trying to extend this upload by adding my apiary documentation to the API but I keep on getting a 400 return error when calling the create API with this message:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!