View An Upload
get
/serviceapi/logan.uploads/{uploadId}
Returns the details for a specific upload including its instances.
Request
Supported Media Types
- application/json
Path Parameters
-
uploadId: integer
Id of the Upload.
Response
Supported Media Types
- application/json
200 Response
Operation succeeded.
400 Response
Bad request. See response body for explanation.
Root Schema : InternalErrorResponse
Type:
Show Source
object
-
messages(optional):
array messages
-
type(optional):
string
Allowed Values:
[ "PARSERERROR", "INVALIDPARAMETER", "UNSUPPORTEDSUBSYSTEM", "UNSUPPORTEDFILTER", "UNSUPPORTEDVERSION", "INVALIDJOBID", "INVALIDQUERYID", "FORBIDDEN", "INTERNALERROR", "JSONERROR", "INTERRUPTEDERROR", "EXECUTIONERROR", "COMPILATIONERROR", "SERVICEAVAILABILITYERROR" ]
-
violations(optional):
array violations
403 Response
Forbidden. User does not have required privileges.
500 Response
Internal server error. See response body for explanation.
Root Schema : InternalErrorResponse
Type:
Show Source
object
-
messages(optional):
array messages
-
type(optional):
string
Allowed Values:
[ "PARSERERROR", "INVALIDPARAMETER", "UNSUPPORTEDSUBSYSTEM", "UNSUPPORTEDFILTER", "UNSUPPORTEDVERSION", "INVALIDJOBID", "INVALIDQUERYID", "FORBIDDEN", "INTERNALERROR", "JSONERROR", "INTERRUPTEDERROR", "EXECUTIONERROR", "COMPILATIONERROR", "SERVICEAVAILABILITYERROR" ]
-
violations(optional):
array violations
Examples
The following example shows how retrieve the details of the upload with id 1066 by submitting a GET request on the REST resource using cURL.
curl -u "OMC_USERNAME" -X GET -H "Content-Type:application/json" "https://{OMC_URL}/serviceapi/logan.uploads/1066"
Example of Response
The following shows an example of the response body.
{ "uploadId":1066, "uploadName":"SyslogUpload", "uploadUser":"adminuser", "createdOn":"2016-04-28T14:15:35.532Z", "modifiedOn":"2016-04-28T14:22:55.753Z", "earliestLogTime": "2016-04-27T12:19:53.171Z", "latestLogTime": "2016-04-27T16:19:53.171Z", "statusSummary":{ "successful":1, "inProgress":1 }, "canonicalLink":"v1/logdata/uploads/1066", "instancesLink":"v1/logdata/uploads/1066/instances" }