Application Journal

Returns a paginated list of journal entries (events and state changes) for a specific application.

Request

Property Value
Method GET
URL /api/applications/{appName}/journal
Content-Type application/json
Authentication Bearer Token

Path Parameters

Parameter Type Required Description
appName string Yes Application name

Response

Status Codes

Code Description
200 Success
400 Bad Request - Invalid parameters
401 Unauthorized - Invalid or missing token
404 Not Found - Application does not exist
429 Too Many Requests - Rate limit exceeded
500 Internal Server Error

Successful Response (200)

{
  "data": {
    "totalItems": 62,
    "itemsPerPage": 20,
    "totalPages": 4,
    "currentPage": 1,
    "hasPrevious": false,
    "hasNext": true,
    "lastTimestamp": 1764683374354,
    "list": [
      {
        "id": 60,
        "objectName": "Stream: xxx",
        "message": "Status Update: PUBLISHED",
        "threadName": "WebSocketConnectReadThread-525",
        "createDate": 1764683374354
      },
      {
        "id": 61,
        "objectName": "Stream: xxx",
        "message": "Status Update: PUBLISHED",
        "threadName": "WebSocketConnectReadThread-525",
        "createDate": 1764683374354
      },
      {
        "id": 58,
        "objectName": "Stream: xxx",
        "message": "Status Update: NOT_PUBLISHED",
        "threadName": "WebSocketConnectReadThread-525",
        "createDate": 1764683374353
      },
      {
        "id": 59,
        "objectName": "Stream: xxx",
        "message": "Status Update: AWAITING",
        "threadName": "WebSocketConnectReadThread-525",
        "createDate": 1764683374353
      }
    ]
  },
  "meta": {
    "executionTime": 0,
    "generatedAt": 1764845051650
  }
}

Response Body

Pagination

Parameter Type Description
data.totalItems integer Total number of journal entries
data.itemsPerPage integer Number of items per page
data.totalPages integer Total number of pages
data.currentPage integer Current page number
data.hasPrevious boolean Indicates if a previous page exists
data.hasNext boolean Indicates if a next page exists
data.lastTimestamp integer Timestamp of the most recent entry (Unix timestamp in ms)

Journal Entry

Parameter Type Description
data.list[].id integer Unique identifier of the journal entry
data.list[].objectName string Name of the object associated with this event
data.list[].message string Journal message describing the event
data.list[].threadName string Thread name that generated the entry
data.list[].createDate integer Entry creation timestamp (Unix timestamp in ms)

Metadata

Parameter Type Description
meta.executionTime integer Request processing time in milliseconds
meta.generatedAt integer Response generation timestamp (Unix timestamp in ms)

Error Responses

Application Not Found (404)

{
  "message": "Application not found"
}

Error Response Body

Parameter Type Description
message string Human-readable error message