Domanda
Come posso aggiornare gli articoli del centro assistenza con l'API?
Risposta
L’endpoint Aggiorna articoli API permette solo di aggiornare i metadati degli articoli. Questi endpoint aggiornano i metadati a livello di articolo, come lo stato della promozione o la posizione di ordinamento. Gli endpoint non aggiornano le proprietà di traduzione come il titolo, il corpo o la bozza dell’articolo.
Per aggiornare il corpo degli articoli esistenti, usa l’endpoint Translations .
Avvertenza sulla traduzione: questo articolo è stato tradotto usando un software di traduzione automatizzata per fornire una comprensione di base del contenuto. È stato fatto tutto il possibile per fornire una traduzione accurata, tuttavia Zendesk non garantisce l'accuratezza della traduzione.
Per qualsiasi dubbio sull'accuratezza delle informazioni contenute nell'articolo tradotto, fai riferimento alla versione inglese dell'articolo come versione ufficiale.
7 commenti
Paolo
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
Ari
To confirm based on the first post at the top of the page:
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
Ben Spry
I ran into a couple of limitations with the help center API:
It would be really helpful to get that info added to responses 🙏
Thanks
0
David Lowe
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
James Ratcliffe
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
Kat O'Toole
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
Alisha (amaysim)
Hi there, That link on Translations brings me to a 404 - not found.
0
Accedi per aggiungere un commento.