Display Revisions for a proxy with smartdocs models

Not applicable

Dear all

In the view Smartdocs Models, how to display the list of revisions and to have a link for different revisions ?

Thanks for your help

0 4 174
4 REPLIES 4

@Nathalie.MANTILLA , You mean having different revisions of same smartdoc model published in the UI ? Your question need more details. Can you add what exactly you see ? What you are expected to see ? What is missing ? Screenshots might help.

Not applicable

A smartdoc model is associated to a proxy.

This proxy can be more versions.

In the portal, a revision smartdocmodel in the portal correspond to a version of proxy.

I would like in the portal a view with :

Proxy Description Revision (with link) Description Revision

--------------------------------------------------------------------------------------------------------------------------------

Hello world this proxy says me a lot of things 1 Initiale version

Hello world this proxy says me a lot of things 2 Add say me GoodBye

Thanks for your help

Proxy / Description / Revision (with link) / Description Revision

------------------------------------------------------------------------------------------------------

Hello world / this proxy says me a lot of things / 1 / Initiale version

Hello world / this proxy says me a lot of things / 2 / Add say me GoodBye

@Nathalie.MANTILLA ,

Got it, Let me clarify how Smartdocs works,

  • A smartdocs model is not associated with a proxy directly. There is no direct mapping between smartdocs & proxy. You can also create a smartdocs model with different APIs which are not even part of Apigee Edge proxies.
  • Also, At any point of time, Only one proxy revision is deployed in Apigee Edge runtime until unless those revisions basepaths are different.
  • So, You cannot have a proxy that give response let's say 'hello1' & 'hello updated' for same endpoint.

Let's say if you have a proxy with different revisions deployed at same time with different base path like,

http://api.general.com/v1/products

http://api.general.com/v2/products

You can create two different smartdoc models , Let's says Products V1 smartdoc model that has http://api.general.com/v1/products api details, Products V2 smartdoc model that has http://api.general.com/v2/products API details.

Hope it helps.