We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12597f1 commit d6d5dbcCopy full SHA for d6d5dbc
src/main/java/org/zendesk/client/v2/Zendesk.java
@@ -1917,6 +1917,13 @@ public Iterable<Article> getArticles(Category category) {
1917
handleList(Article.class, "articles"));
1918
}
1919
1920
+ public Iterable<Article> getArticles(Section section) {
1921
+ checkHasId(section);
1922
+ return new PagedIterable<>(
1923
+ tmpl("/help_center/sections/{id}/articles.json").set("id", section.getId()),
1924
+ handleList(Article.class, "articles"));
1925
+ }
1926
+
1927
public Iterable<Article> getArticlesIncrementally(Date startTime) {
1928
return new PagedIterable<>(
1929
tmpl("/help_center/incremental/articles.json{?start_time}")
0 commit comments