cize
cize copied to clipboard
Support return type in Console API
By issuing return_type in query, get JSON Returns.
GET /api/projects/purelog/jobs/xxx/records/1/console?return_type=json HTTP/1.1
Content-Type: application/json
Accept: application/json

If the job's output is not in JSON string format, just return as Normal. Default return_type is as before.