Come posso aggiornare gli articoli con l'API in Zendesk?



image avatar

Ben Van Iten

Zendesk Digital Resources Team

Data ultima modifica: 01 ago 2023


0

0

7 commenti

Hello Ari,
 
Unfortunately, there is no endpoint for batch update of the article title. As an alternative, you can send consecutive API calls with that endpoint you've mentioned. Here are some references if you are using Postman: 
 
 
Best,
Paolo | Technical Support Engineer | Zendesk

0


To confirm based on the first post at the top of the page:

The [article] endpoints do not update translation properties such as the article's title, body, or draft.

To make updates to the body of the existing articles, use the Translations endpoint. 

Is there no way to batch update the titles of multiple articles at a time with a PUT that has all the updates in a JSON?

For example, 

  • PUT /api/v2/help_center/articles/{article_id}/translations/{locale}

0


I ran into a couple of limitations with the help center API:

  • There's no way to know if a published article has been edited and saved via the Admin UI.
  • There's no way to see the edited version of an article vs the published article.

It would be really helpful to get that info added to responses 🙏

Thanks

0


Hi James,

I'm afraid that we don’t (yet) have an API to do proper content production, which would assist with this scenario of updating translation content.

My apologies for the inconvenience on this one!

0


When I update a translation with the API, the changes are published immediately. Is there way to update the translations without publishing? Thanks in advance.

2


Hi Alisha, 

Thank you for raising the broken link with us, we are looking into this now and will have this fixed soon. 
In the mean time you can view the correct translation end point link HERE.

Regards,

Kat O'Toole
Zendesk Support

0


Hi there, That link on Translations brings me to a 404 - not found.

0


Accedi per aggiungere un commento.