Latest comments since last poll (incremental refresh)
GET /task/v1/comments/list/latest
Operation id: getLatestComments
Description
Retrieves only comments that have changed since the last poll (from_time). Used for incremental refresh without re-fetching the full list. from_time is validated against the maximum refresh interval — exceeded → E312. Requires ROS_UNIT_DOMAIN line-of-sight authorization.
Tags: MyWorkComments
Parameters
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
from_time | integer (int64) | No | Epoch ms — timestamp of last successful poll (maps to fromTime) |
msg_type | string | No | Feed/message type token (default PROJECTEXTRACT) |
project_criteria | string | No | Filter by project criteria |
selected_dates | string | No | Comma-separated dates in yyyyMMdd to scope the query |
today_from | integer (int64) | No | Epoch ms — today start anchor timestamp (maps to changeTime) |
unit_category | string | No | Filter by unit category |
view_type | string | No | SV, MV, DV; defaults to session current view if omitted |
Security
- AuthTokenHeader (apiKey)
- Session authentication token validated server-side against the user session store.
Responses
200 — Success — {comment_data_list[], proj_data_list[], count_data[], last_fetch_time}.
No data → E404. Refresh interval exceeded → E312 (500).
Content type: application/json
401 — Missing or invalid X-reflexis-csrf-token-X session token
Content type: application/json
500 — Unexpected server-side error
Content type: application/json
Response models
200 — Success — {comment_data_list[], proj_data_list[], count_data[], last_fetch_time}.
No data → E404. Refresh interval exceeded → E312 (500).
Content type: application/json
Schema
JSON object (structure varies by endpoint).
{
"type": "object",
"description": "JSON object (structure varies by endpoint)."
}
401 — Missing or invalid X-reflexis-csrf-token-X session token
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
status | string | Yes | Always "ER" for error responses |
errorCode | string | Yes | Application-level error code (e.g. E202, E105, E404) |
response | string | Yes | Human-readable error message |
{
"type": "object",
"example": {
"status": "ER",
"errorCode": "E202",
"response": "User session is invalid"
},
"required": [
"status",
"errorCode",
"response"
],
"properties": {
"status": {
"type": "string",
"description": "Always \"ER\" for error responses",
"enum": [
"ER"
]
},
"errorCode": {
"type": "string",
"description": "Application-level error code (e.g. E202, E105, E404)"
},
"response": {
"type": "string",
"description": "Human-readable error message"
}
}
}
Example:
{
"status": "ER",
"errorCode": "E202",
"response": "User session is invalid"
}
500 — Unexpected server-side error
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
status | string | Yes | Always "ER" for error responses |
errorCode | string | Yes | Application-level error code (e.g. E202, E105, E404) |
response | string | Yes | Human-readable error message |
{
"type": "object",
"example": {
"status": "ER",
"errorCode": "E202",
"response": "User session is invalid"
},
"required": [
"status",
"errorCode",
"response"
],
"properties": {
"status": {
"type": "string",
"description": "Always \"ER\" for error responses",
"enum": [
"ER"
]
},
"errorCode": {
"type": "string",
"description": "Application-level error code (e.g. E202, E105, E404)"
},
"response": {
"type": "string",
"description": "Human-readable error message"
}
}
}
Example:
{
"status": "ER",
"errorCode": "E302",
"response": "Internal server error"
}