Skip to main content

Feed & Comments

Team activity feed and discussion comments.

Activity Feed

GET /api/teams/{id}/feed

Get team's activity feed.

Response:

{
"_links": {
"self": { "href": "/api/teams/{id}/feed" }
},
"_embedded": {
"inf:feed-item": [
{
"id": "activity-uuid",
"type": "reportCreated",
"entityType": "report",
"entityId": "team:sales-dashboard",
"message": "New report created",
"createdAt": "2024-02-09T10:00:00Z"
}
]
},
"start": 0,
"count": 1,
"total": 1
}

POST /api/teams/{id}/_markFeedViewed

Mark feed items as viewed.

Request Body:

{
"activityIds": ["activity-uuid-1"]
}

Comments

GET /api/teams/{id}/comments

Get team comments.

Response:

{
"_links": {
"self": { "href": "/api/teams/{id}/comments" }
},
"_embedded": {
"inf:comment": [
{
"id": "comment-uuid",
"message": "Team update: New data sources available",
"userId": "admin",
"teamId": "team:analytics",
"createdAt": "2024-02-09T10:00:00Z",
"_embedded": {
"inf:user": {
"username": "admin",
"displayName": "Admin User"
}
}
}
]
},
"start": 0,
"count": 1,
"total": 1
}

POST /api/teams/{id}/comments

Add a comment to the team.

Request Body:

{
"message": "Important team announcement"
}

Response:

201 Created with comment object.