GET
The GET method returns an array of item objects order by last activity on top.
GET projecten.viadesk.com/api/buzz.json
?office=44-646... // filter, id of the office (optional)
&maxBodyLength=200 // maximum body length (optional)
&includeUsers=true // include author (optional)
&includeAttachments=true // show attachments (optional)
&includeReplies=true // include responses to main items (optional)
&replyLimit=3 // maximum number of replies (optional)
&includeLogs=true // show logs on items (optional)
&showHtmlBody=true // show body as html (optional)
&kind=question // filter on item types (optional)
&limit=10 // limit the array (optional)
&offset=5 // skip n items (optional)
This returns an array of items, always sorted by latest first:
[
{
"id": "1106072-7175657374696f6e",
"kind": "question",
"name": "Dit is mijn eerste vraag?",
"created": "2023-06-06T14:14:01+0200",
"modified": "2023-06-06T14:14:01+0200",
"body": "<div><p>Lorem ipsum.</p></div>",
"replyCount": 3,
"diggsPositive": 1,
"diggsNegative": 0,
"featured": false,
"author": {
"id": "240413-75736572",
"email": "arie@viadeskbv.onmicrosoft.com",
"name": "Arie A"
},
"canAddChildren": true,
"canWrite": true,
"canAll": true,
"isLiked": false,
"date": "2023-06-06T14:20:02+0200",
"office": {
"id": "6880-6f6666696365",
"name": "Groep 1"
}
},
{
"id": "1106113-7175657374696f6e",
"kind": "question",
"name": "Dit is mijn tweede vraag?",
"created": "2023-06-06T14:15:31+0200",
"modified": "2023-06-06T14:15:31+0200",
"body": "<div><p>Lorem ipsum.</p></div>",
"replyCount": 1,
"diggsPositive": 0,
"diggsNegative": 0,
"featured": false,
"author": {
"id": "240413-75736572",
"email": "piet@viadeskbv.onmicrosoft.com",
"name": "Piet H"
},
"canAddChildren": true,
"canWrite": true,
"canAll": true,
"isLiked": false,
"date": "2023-06-06T14:15:55+0200",
"office": {
"id": "6880-6f6666696365",
"name": "Thunderball"
}
}
]