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

NameTypeRequiredDescription
from_timeinteger (int64)NoEpoch ms — timestamp of last successful poll (maps to fromTime)
msg_typestringNoFeed/message type token (default PROJECTEXTRACT)
project_criteriastringNoFilter by project criteria
selected_datesstringNoComma-separated dates in yyyyMMdd to scope the query
today_frominteger (int64)NoEpoch ms — today start anchor timestamp (maps to changeTime)
unit_categorystringNoFilter by unit category
view_typestringNoSV, 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

PropertyTypeRequiredDescription
statusstringYesAlways "ER" for error responses
errorCodestringYesApplication-level error code (e.g. E202, E105, E404)
responsestringYesHuman-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

PropertyTypeRequiredDescription
statusstringYesAlways "ER" for error responses
errorCodestringYesApplication-level error code (e.g. E202, E105, E404)
responsestringYesHuman-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"
}