Функция требует авторизации
Описание - Возвращает список всех тем ветки в форумах на портале с названием ветки, датами создания и обновления, текстом записи, ИД автора и отображаемым именем
Параметры
Имя | Описание | Тип | Пример |
threadid
отправка в url
|
ИД ветки | число | 1234 |
Возвращает - Список тем в ветке
Пример ответа
application/json
{ "status": 0, "response": { "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.7532550Z", "updated": "2020-12-03T18:22:04.7532550Z", "recentTopicId": 1234, "recentTopicTitle": "Sample topic", "topics": [ { "id": 10, "title": "Sample topic", "created": "2020-12-03T18:22:04.7532550Z", "updated": "2020-12-03T18:22:04.7532550Z", "text": "This is sample post", "updatedBy": { "id": "00000000-0000-0000-0000-000000000000", "displayName": "Mike Zanyatski", "title": "Manager", "avatarSmall": "url to small avatar", "profileUrl": "" }, "threadTitile": null, "status": 2, "type": 0, "tags": [ "Tag1", "Tag2" ] } ] } }
text/xml
<result> <status>0</status> <response> <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.7532550Z</created> <updated>2020-12-03T18:22:04.7532550Z</updated> <recentTopicId>1234</recentTopicId> <recentTopicTitle>Sample topic</recentTopicTitle> <topics> <id>10</id> <title>Sample topic</title> <created>2020-12-03T18:22:04.7532550Z</created> <updated>2020-12-03T18:22:04.7532550Z</updated> <text>This is sample post</text> <updatedBy> <id>00000000-0000-0000-0000-000000000000</id> <displayName>Mike Zanyatski</displayName> <title>Manager</title> <avatarSmall>url to small avatar</avatarSmall> <profileUrl></profileUrl> </updatedBy> <threadTitile /> <status>2</status> <type>0</type> <tags>Tag1</tags> <tags>Tag2</tags> </topics> </response> </result>
Комментарии
0 комментариев
Статья закрыта для комментариев.