Функция требует авторизации
Описание - Возвращает список всех созданных на портале форумов с названиями тем/веток, датами создания и обновления, текстом записи, ИД автора и отображаемым именем
Параметры - У метода нет параметров
Возвращает - Перечень форумов
Пример ответа
application/json
{ "status": 0, "response": { "categories": [ { "id": 0, "title": "Sample title", "created": "2020-12-03T18:22:04.7376287Z", "updated": "2020-12-03T18:22:04.7376287Z", "description": "Sample category", "threads": [ { "id": 10, "title": "The Thread", "updatedBy": { "id": "00000000-0000-0000-0000-000000000000", "displayName": "Mike Zanyatski", "title": "Manager", "avatarSmall": "url to small avatar", "profileUrl": "" }, "description": "Sample thread", "created": "2020-12-03T18:22:04.7376287Z", "updated": "2020-12-03T18:22:04.7376287Z", "recentTopicId": 1234, "recentTopicTitle": "Sample topic" } ] } ] } }
text/xml
<result> <status>0</status> <response> <categories> <id>0</id> <title>Sample title</title> <created>2020-12-03T18:22:04.7376287Z</created> <updated>2020-12-03T18:22:04.7376287Z</updated> <description>Sample category</description> <threads> <id>10</id> <title>The Thread</title> <updatedBy> <id>00000000-0000-0000-0000-000000000000</id> <displayName>Mike Zanyatski</displayName> <title>Manager</title> <avatarSmall>url to small avatar</avatarSmall> <profileUrl></profileUrl> </updatedBy> <description>Sample thread</description> <created>2020-12-03T18:22:04.7376287Z</created> <updated>2020-12-03T18:22:04.7376287Z</updated> <recentTopicId>1234</recentTopicId> <recentTopicTitle>Sample topic</recentTopicTitle> </threads> </categories> </response> </result>
Комментарии
0 комментариев
Статья закрыта для комментариев.