Find Help Center Articles with Attachments

Respondida

3 Comentários

  • Anne Ronalter
    Zendesk Customer Care
    Hi Donna,
     
    Thank you for your Feedback on that.
     
    Natively this is unfortunately not possible but as a workaround, 
    you can use our List Articles API endpoint to get all the article IDs and then use the article ID along with Show Article Attachment API endpoint. 

    The Show Article Attachment API endpoint will return a JSON result showing if there's an attachment or none.
     - https://developer.zendesk.com/rest_api/docs/help_center/articles#list-articles
     - https://developer.zendesk.com/rest_api/docs/help_center/article_attachments#show-article-attachment
    0
  • DonnaJ

    But, it looks from what you provide, above, that I would have to run the 2nd option for EACH article to find which ONES have attachments. Is there no way for something to look at all articles and tell me which ONES have attachments?

    0
  • Dainne Lucena
    Zendesk Customer Care

    Hi DonnaJ,

     

    At the moment that is the only workaround, but you can make a script that fetches all the articles' IDs, then loop through them to fetch the attachments.

    0

Por favor, entrar para comentar.

Powered by Zendesk