Get only pages data from Rest API

I am using Render API to get rendered HTML. The API needs “COMPONENTNAME”.
https://codegen.plasmic.app/api/v1/loader/html /MODE/PROJECTID/COMPONENTNAME

To get Component Name I am using the CMS API. But it returns a lot of data which I am not using.
https://codegen.plasmic.app/api/v1/loader/repr-v3/preview/PROJECTID

Is there any way to get html with page path?? Or any other API which returns only list of pages??

Hi, you can use the fetchPages API documented here: Fetching components from Plasmic | Learn Plasmic

This internally calls https://codegen.plasmic.app/api/v1/loader/code/MODE. Which also returns module info which is not required for rendering HTML.

Or is there any way to use module info to render html directly?

Sorry, I’m not sure I fully understand what you’re needing. Are you looking to call this from a browser, and that’s why you are looking for a smaller response size?