View An Upload

get

/serviceapi/logan.uploads/{uploadId}

Returns the details for a specific upload including its instances.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Operation succeeded.

400 Response

Bad request. See response body for explanation.
Body ()
Root Schema : InternalErrorResponse
Type: object
Show Source
Nested Schema : messages
Type: array
Show Source
Nested Schema : violations
Type: array
Show Source
Nested Schema : ParserViolation
Type: object
Show Source

403 Response

Forbidden. User does not have required privileges.

500 Response

Internal server error. See response body for explanation.
Body ()
Root Schema : InternalErrorResponse
Type: object
Show Source
Nested Schema : messages
Type: array
Show Source
Nested Schema : violations
Type: array
Show Source
Nested Schema : ParserViolation
Type: object
Show Source
Back to Top

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"
}
Back to Top