Rest APIs for SmartDocs generation.

Not applicable

Hi Team @Anil Sagar @kris@apigee.com

For API documentation, we want to build our documentation piece through RestAPI (similar to management API) for below tasks:

1. Create new model.

2. Render and publish nodes after creating new model.

I have searched the documentation of APIGEE but not able to find management apis for the same. We are using APIGEE 4.15.07.00

Also we have Swagger Json 1.2 present as a file. If possible please tell us how to import swgger json 1.2 available as a file.

Regards,

Rajesh

0 3 471
3 REPLIES 3

@Rajesh Lohani ,

Great suggestion & feature we would love to add to Developer Portal.

Unfortunately, Smartdocs generation has to be done using Developer Portal Management UI. Currently, REST APIs are not available for same.

@Anil Sagar

Got management apis for model creation and importing json from json url.

Reference : https://community.apigee.com/questions/4449/are-there-any-management-apis-for-smartdocs-can-i.html

I am stucked in the next step of rendering and publishing. Is there any APIs for them as well ?

Can you ask apigee developers for the same. It will be very helpful.

Because Swagger 1.2 is by nature a distributed, multi-file format, there is no way to pass it as a single file to SmartDocs.

We highly recommend using 2.0. You might try our open source node-based project called Swagger Converter.

I made comments on the other thread about your other question.