Get Cloud Slicer Job

Retrieves the details of an existing Cloud Slicer job.

Request

Request syntax:

/jobs/get

Request parameters:

Pass the following parameters through the msg parameter:

NameData TypeDescription
idStringIdentifies a Cloud Slicer job by its system-defined ID.

Authentication

Pass a digital signature based off of msg.

Learn more.

Response

The response for a successful request contains the following parameter.

NameData TypeDescription
jobDictionaryDescribes a Cloud Slicer job.

Sample Request/Response

A sample request/response is provided below. The Call() function, which is imported from uplynk_api2_auth module, prepares the message body and digital signature.

from uplynk_api2_auth import Call

print(Call('/api2/cloudslicer/jobs/get', id='0dce9166be404672a7dd0d28d7257587'))

{
    "job": {
        "state": "waiting",
        "last_error": "",
        "args": {
            "trim": "5000,10000",
            "desc": "blarg"
        },
        "attempts": 0,
        "source": {
            "url": "http://www.protoven.com/dave/edu/TomNgo_lo.mp4"
        },
        "finished": 0,
        "last_start": 0,
        "owner": "a735c56ea4014685bc74c0a375236cc5",
        "progress": "",
        "id": "0dce9166be404672a7dd0d28d7257587"
    },
    "error": 0
}