-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
Comments
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 |
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
|
// ====================================== 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);
};
The text was updated successfully, but these errors were encountered: