Asset upload Rest API

2 Comments

  • Greg - Community Manager
    Comment actions Permalink

    Hi Tommy MS! Would you mind sharing a bit more detail about where you'd like to upload this asset and then specifically, what you envision doing with it? That will help me get you moving in the right direction!

    0
  • Tommy MS
    Comment actions Permalink

    Hi, Greg.

    I added my custom article page template .hbs file to my theme.

    This .hbs file loads swagger.json file from "assets" directory and generates ReDoc page like below:

    <redoc spec-url="{{asset 'swagger.json'}}"/>

    I want to upload swagger.json file from my API server every version update if there is any Zendesk API to upload swagger.json file to "assets" directory.

    Unfortunately, I cannot download swagger.json file using my API server URL because of a security issue.

    If you have any other good idea to generate ReDoc page on Zendesk Guide, please suggest it to me.

    Thank you.

     

    Best Regards,

    Tommy MS

     

    0

Please sign in to leave a comment.

Powered by Zendesk