Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Articles #55

Closed
lifasky opened this issue Jan 28, 2015 · 2 comments
Closed

Create Articles #55

lifasky opened this issue Jan 28, 2015 · 2 comments

Comments

@lifasky
Copy link

lifasky commented Jan 28, 2015

// ====================================== Creating Articles
Articles.prototype.create = function (article, cb) {
this.request('POST', ['articles'], article, cb);
};

It should be
// ====================================== Creating Articles
Articles.prototype.create = function (sectionID, article, cb) {
this.request('POST',['sections', sectionID, 'articles'], article, cb);
};

@nnabuuu
Copy link
Collaborator

nnabuuu commented Jan 29, 2015

I just checked zendesk's site https://developer.zendesk.com/rest_api/docs/help_center/articles and I do have made a mistake : ( Going to fix it soon

@lifasky
Copy link
Author

lifasky commented Jan 29, 2015

The same for creating section, it should include a category ID. Thanks.

On Wed, Jan 28, 2015 at 8:44 PM, Nie Xiaochen notifications@github.com
wrote:

I just checked zendesk's site
https://developer.zendesk.com/rest_api/docs/help_center/articles and I do
have made a mistake : ( Going to fix it soon


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

nnabuuu added a commit to nnabuuu/node-zendesk that referenced this issue Jan 29, 2015
blakmatrix added a commit that referenced this issue Mar 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants