Querying the Job List (2.2.13)

Function

After the ID of an asynchronous job is returned, if the job ID at the service layer is lost and cannot be obtained through the API, a new API is provided to query all asynchronous jobs stored in the engine. The job ID, job status, and original request of each job are returned.

URI

  • URI format
    GET /ges/v1.0/{project_id}/graphs/{graph_name}/jobs/status?limit={limit}&offset={offset}
  • Parameter description
    Table 1 URI parameter description

    Parameter

    Mandatory

    Type

    Description

    project_id

    Yes

    String

    Project ID, which is used for resource isolation. For details, see Obtaining a Project ID.

    offset

    No

    Integer

    Offset of a query. The default value is 0.

    job_id

    Yes

    String

    ID of the job corresponding to the response

    limit

    No

    Integer

    Maximum number of records that can be queried. The default value is 100000.

Request

  • Request example
    10.154.236.171:8080/ges/v1.0/1/graphs/movie/jobs/status