Code Monkey home page Code Monkey logo

Comments (3)

nnabuuu avatar nnabuuu commented on August 17, 2024

Any more details? I am just using it and it works.. Could you show me your code?

from node-zendesk.

nnabuuu avatar nnabuuu commented on August 17, 2024

According to zendesk's explanation at:

https://developer.zendesk.com/rest_api/docs/help_center/articles#update-article

These endpoints update article-level metadata such as its promotion status or sorting position. The endpoints do not update translation properties such as the article's title or body. See Translations.

Maybe you need to choose translation api to do the update.

My working code for this api:

client.articles.update(202028690, {article:{ promoted: true}},function(err,code,res){

})

And the update takes effect showing by

client.articles.show(202028690, function(err,code,res){
  console.log(res)
})

from node-zendesk.

lifasky avatar lifasky commented on August 17, 2024

Hi Xiaochen,

I think that is Zendesk API problem. Some articles are able to be updated,
some are not.
I sent a request to ask them for help. Thanks.

Best,
Gloria

On Thu, Jan 29, 2015 at 9:11 AM, Nie Xiaochen [email protected]
wrote:

According to zendesk's explanation at:

https://developer.zendesk.com/rest_api/docs/help_center/articles#update-article

These endpoints update article-level metadata such as its promotion status or sorting position. The endpoints do not update translation properties such as the article's title or body. See Translations.

Maybe you need to choose translation api to do the update.

My working code for this api:

client.articles.update(202028690, {article:{ promoted: true}},function(err,code,res){

})


Reply to this email directly or view it on GitHub
#56 (comment)
.

from node-zendesk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.