Skip to main content
Version: 1.0.0

Get job template

GET 

/metalakes/:metalake/jobs/templates/:jobTemplate

Returns the specified job template information in the specified metalake

Request

Path Parameters

    metalake stringrequired

    The name of the metalake

    jobTemplate stringrequired

    The name of the job template

Responses

Returns the job template object

Schema

    code int32

    Possible values: [0]

    Status code of the response

    jobTemplate

    object

    oneOf

    A job template object for shell jobs

    name stringrequired

    The name of the job template

    jobType stringrequired

    Possible values: [shell]

    The type of the job template

    comment stringnullable

    A comment about the job template

    executable stringrequired

    The executable command of the job template

    arguments string[]nullable

    The arguments of the job template

    environments

    object

    Configured string to string map of environment variables for the job template

    property name* string

    customFields

    object

    Configured string to string map of custom fields for the job template

    property name* string
    scripts string[]nullable

    The scripts of the job template

    audit

    object

    Audit information for a Gravitino resource.

    creator string

    The user who created the resource

    createTime date-time

    The time the resource was created

    lastModifier string

    The user who last modified the resource

    lastModifiedTime date-time

    The time the resource was last modified

Loading...