Hi Guys,
I am curious about the relationship between API Products in Edge and their SmartDocs equivalents on the Drupal Dev Portal. How do people manage different environments without duplication of content? Lets say we have the following in Edge:
API Proxy
Customers-Proxy
API Products
Customers Sandbox (dev/test)
Customers (prod)
Ideally, the content related to the Customers API is displayed once, the endpoints are pointing to the sandbox environment (intended to return test data). If a developer then chooses to request access to the Customers (prod) Product after having explored the Customers Sandbox API, they might create a new app or update the existing app, which will require additional admin approval.
I am wondering how in Drupal to display a single Customers API - but make it easy for the user (from a ux and content perspective) to distinguish between Customers Sandbox for exploration and testing and Customers as the live API, they will need to request subsequent access to.
Hopefully this question makes sense!
@aseemhanda , Great Question & Thank you for posting same, It's one of the common question that we see across our interactions when it comes to Smartdocs. Let me take this opportunity to talk about the approach some of our customers take & what is possible today.
Regarding, Relationship between API Products in Edge and Smartdocs :
Regarding, Sandbox & Production access - API Documentation display,
Hope it helps. Please keep us posted if you have any queries.
PS: You can also use comments feature if you need any clarifications / feedback.
Thanks for this Anil.
The example screenshot above probably solves my immediate concern from a user experience perspective and is what I was hoping to be able to do using SmartDocs. Is this customisation within the specific method template, the default template for all SmartDocs or somewhere else?
Are you possibly able to share how to enable this?
@aseemhanda , You can update the default template in admin/config/smartdocs (see screenshot below). It will be applied for new models that you generate after the update or specifically in each smartdoc model settings.
Hope it helps. You can also click on accept answer link below the answer if your query is resolved so that it will be helpful for others.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |