List Work Request Logs
get
/20191010/workRequests/{workRequestId}/logs
Returns a paginated list of logs for a given work request.
Request
Supported Media Types
- application/json
Path Parameters
-
workRequestId(required): string
The ID of the asynchronous request.
Query Parameters
-
limit: integer
Minimum Value:
1
Maximum Value:1000
The maximum number of items to return.Default Value:10
-
page: string
Minimum Length:
1
Maximum Length:2048
The page at which to start retrieving results.
Header Parameters
-
opc-request-id: string
The client request ID for tracing.
Response
Supported Media Types
- application/json
200 Response
List of work request logs.
Headers
-
opc-next-page: string
For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items.
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : WorkRequestLogEntryCollection
Type:
object
Result of a platform lpnist or search. Contains WorkRequestLogEntry
Show Source
-
items(required):
array items
Collection of WorkRequestLogEntry
Nested Schema : items
Type:
array
Collection of WorkRequestLogEntry
Show Source
-
Array of:
object WorkRequestLogEntry
A log message from the execution of a work request.
Nested Schema : WorkRequestLogEntry
Type:
object
A log message from the execution of a work request.
Show Source
-
message(required):
string
Human-readable log message.
-
timestamp(required):
string(date-time)
The time the log message was written. An RFC3339 formatted datetime string
400 Response
Bad Request
401 Response
Not authorized
404 Response
Invalid parameters
429 Response
Too Many Requests
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
object
Error Information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
500 Response
Service unavailable
Default Response
Unknown Error
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
object
Error Information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.