Github API - Test Config

mutation createEnvironment

Creates an environment or simply returns it if already exists.

Arguments
input CreateEnvironmentInput

CreateEnvironmentInput [input]

Autogenerated input type of CreateEnvironment

Attributes
clientMutationId String

A unique identifier for the client performing the mutation.

name String

The name of the environment.

repositoryId ID

The node ID of the repository.

API:
Github GraphQL API

Parameters for CreateEnvironment

Returns
CreateEnvironmentPayload

CreateEnvironmentPayload [object]

Autogenerated return type of CreateEnvironment

Attributes
clientMutationId String

A unique identifier for the client performing the mutation.

environment Environment

The new or existing environment.

API:
Github GraphQL API
API:
Github GraphQL API