Timeline
API key is a token provided while making the API calls. This is used to authenticate the client at the exposed endpoint.
Activity ID, e.g. INC-123 or ALERT-456
Harness account identifier.
Harness organization identifier.
Harness project identifier.
Paging cursor value from the previous response.
Page size requested
Sort direction
Timeline events
Activity not found
GET /gateway/ir/tp/api/v1/mc/activities/{activityId}/timeline?accountId=text&orgId=text&projectId=text HTTP/1.1
Host: app.harness.io
x-api-key: YOUR_API_KEY
Accept: */*
{
"nextPageCursor": "text",
"hasMoreResults": true,
"results": [
{
"eventId": "text",
"eventType": "text",
"timestamp": 1,
"actor": "text",
"message": "text"
}
],
"totalCount": 1,
"totalCountApproximate": 1
}Adds a markdown note to the activity's timeline. A newly posted note may take a moment to appear in a subsequent GET of the same timeline. The message returned here is the markdown exactly as submitted; GET returns it rendered with the author's name.
API key is a token provided while making the API calls. This is used to authenticate the client at the exposed endpoint.
Activity ID, e.g. INC-123 or ALERT-456
Harness account identifier.
Harness organization identifier.
Harness project identifier.
Request body for posting a markdown note to an activity's timeline
Markdown note to post to the timeline
Timeline message created
An event in an activity's timeline
Unique identifier for this timeline event
The type of event, e.g. ONCALL_PAGED
Epoch milliseconds when the event occurred
Display name of whoever or whatever produced the event, when known
The event's content, rendered as markdown
Invalid request
Activity not found
POST /gateway/ir/tp/api/v1/mc/activities/{activityId}/timeline?accountId=text&orgId=text&projectId=text HTTP/1.1
Host: app.harness.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"message": "text"
}{
"eventId": "text",
"eventType": "text",
"timestamp": 1,
"actor": "text",
"message": "text"
}Last updated
Was this helpful?