Log

Updates a given log request with a new status and url. Called by Caliper when the async log-pull finishes.

Sample request:

PUT /api/v1/admin/log/{id}
{
   "status": 2, // Created = 0, Pending = 1, Completed = 2, Error = 3
   "url": "https://cdn.q2developer.com/tests/1cddb57e-2ac8-45e4-a2a4-fcd69fc3cf41.txt",
   "expiration": "2021-08-19T19:30:50.602Z",
   "message": "string"
}
put/api/v1/admin/log/{id}

Path parameters

idinteger required

Request body

status0 | 1 | 2 | 3 required
urlstring nullable
expirationstring date-time nullable
messagestring nullable

Response

OK

Changes

No recorded changes to this endpoint across all 1 revision of this API.