Skip to content

getJobComments

GET
Use dark colors for code blocksCopy
1
/{orgId}/{itemId}/jobs/{jobId}/comments
Get the comments for a job

Gets all comments associated with a job. Returns a list of all comments associated with a job which includes the following fields: jobId, comment, commentId, lastModifiedBy, lastModified. Users must have the job's associated job template shared with them to get job comments.

Query parameters

NameTypeRequired
tokenstring¦null

Path parameters

NameTypeRequired
jobIdstring
orgIdstring
itemIdstring

Response status

StatusMeaningDescriptionSchema
200OK

The comments on a job

inline
400Bad Request

error

WorkflowJsonExceptionDTO
404Not Found

error

WorkflowJsonExceptionDTO

Response details

Status Code 200

JobComments

NameTypeRequiredDescription
jobComments[JobComment]

Examples

Request

Use dark colors for code blocksCopy
1
2
3
# You can also use wget
curl -X GET /{orgId}/{itemId}/jobs/{jobId}/comments \
  -H 'Authorization: Bearer <YOUR_TOKEN>'

Response

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
{
  "jobComments": [
    {
      "jobId": "string",
      "comment": "string",
      "commentId": "string",
      "lastModifiedBy": "string",
      "lastModified": "2019-08-24T14:15:22Z"
    }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.