GET/projects/{projectId}/cat/{categoryId}/posts/archive.json
Get Archived Messages by Category
Similar to get archived messages, but returns only the posts in the given category.
Path Params
- Name
projectId
- Type
- string
- required
- Description
- Name
categoryId
- Type
- string
- required
- Description
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 Response
200 Response
application/json
{
"posts": [
{
"user-display-posted-time": "5:59PM",
"project-id": "999",
"author-first-name": "Demo",
"attachments-count": "0",
"milestone-id": "",
"isRead": "1",
"private": "0",
"comments-count": "0",
"author-avatar-url": "https://s3.amazonaws.com/TWFiles/2/users/999.avatar",
"category-id": "999",
"author-last-name": "User",
"html-body": "Another message content goes here<br>",
"posted-on": "2014-03-31T17:59:49Z",
"body": "Another message content goes here\r\n",
"id": "999",
"last-changed-on": "2014-03-31T17:31:45Z",
"content-type": "HTML",
"last-comment-date": "2014-03-31T17:59:49Z",
"user-display-posted-date": "Mon, 31 Mar 2014",
"author-id": "999",
"title": "Another task for tomorrow",
"category-name": "Demo Category 3"
}
],
"STATUS": "OK"
}