Skip to main content
Version: 1.0.1

Register a job template

POST 

/metalakes/:metalake/jobs/templates

Registers a job template in the specified metalake

Request

Path Parameters

    metalake stringrequired

    The name of the metalake

Body

    jobTemplate

    object

    required

    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

Responses

Represents a response for a base operation

Schema

    code int32required

    Possible values: [0]

    Status code of the response

Loading...