Skip to content

Commit 50d741c

Browse files
committed
Update readme function list
1 parent 09e8860 commit 50d741c

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ Functions that access the Discourse site are meant to match [Discourse API](http
3333
| CreateCategory | /categories.json | POST | NewCategory | ShowCategoryResponse |
3434
| ListCategories | /categories.json | GET || ListCategoriesResponse |
3535
| UpdateCategoryByID | /categories/{id}.json | PUT | NewCategory | ShowCategoryResponse |
36-
| GetCategoryContentsByID | /c/{id}.json | GET || CategoryContents |
37-
| GetCategoryContentsBySlug | /c/{slug}.json | GET || CategoryContents |
36+
| GetCategoryContentsByID | /c/{id}.json?page={page} | GET || CategoryContents |
37+
| GetCategoryContentsBySlug | /c/{slug}.json?page={page} | GET || CategoryContents |
3838
| ShowCategory | /c/{id}/show.json | GET || ShowCategoryResponse |
3939
| GetPersonalNotifications | /notifications.json | GET || GetNotificationsResponse |
4040
| GetLatestPosts | /posts.json | GET || GetLatestPostsResponse |
@@ -50,6 +50,11 @@ Functions that access the Discourse site are meant to match [Discourse API](http
5050
| GetSiteBasicInfo | /site/basic-info.json | GET || SiteBasicInfo |
5151
| ListTagGroups | /tag_groups.json | GET || ListTagGroupsResponse |
5252
| GetTagGroupByID | /tag_groups/{id}.json | GET || TagGroup |
53+
| GetGroupByID | /groups/{id}.json | GET || GetGroupResponse |
54+
| GetGroupByName | /groups/{name}.json | GET || GetGroupResponse |
55+
| GetGroupMembersByID | /groups/{id}/members.json?offset={offset} | GET || GroupMemberList |
56+
| GetGroupMembersByName | /groups/{name}/members.json?offset={offset} | GET || GroupMemberList |
57+
| CreateGroup | /admin/groups.json | POST | CreateGroupRequest | CreateGroupResponse |
5358
| DeleteGroupByID | /admin/groups/{id}.json | DEL |||
5459
| ListTags | /tags.json | GET || ListTagsResponse |
5560
| GetTagByName | /tag/{name}.json | GET || TagData |
@@ -99,4 +104,4 @@ Discourse sites also have the `/directory_items.json` endpoint for searching thr
99104
| Period | string | The length of time that the included statistics represent, and are ranked by. By default you can use `PeriodDaily`, `PeriodWeekly`, `PeriodMonthly`, `PeriodQuarterly`, `PeriodYearly`, or `PeriodAll`. This library considers `PeriodAll` to be the default value. |
100105
| Order | string | The statistic to rank users by. By default this can be `OrderLikesReceived`, `OrderLikesGiven`, `OrderTopicCount`, `OrderPostCount`, `OrderTopicsEntered`, `OrderPostsRead`, or `OrderDaysVisited`. |
101106
| Ascending | bool | When true, rank users from the lowest value to the greatest. |
102-
| Page | int | The page number to look at, starts at 0. The last page number can be determined by the output's `Meta.TotalRowsDirectoryItems` value divided by 50. All pages after will have no entries. |
107+
| Page | int | The page number to look at, starts at 0. The last page number can be determined by the output's `Meta.TotalRowsDirectoryItems` value divided by 50. All pages after will have no entries. |

0 commit comments

Comments
 (0)