Magidoc

CreateCloudEndpointInput
Input Object

Input type for creating a new Cloud Endpoint.

Fields

#

cloudServiceId

ID !
Non-null

The ID of the cloud service this endpoint is associated with.

description

A description of what this endpoint does.

enabled

Whether the cloud endpoint is enabled and serving requests.

handle

Non-null

A handle to identify this cloud endpoint in a URL-safe manner

logRequests

Whether or not to log requests to this endpoint

methods

Non-null

The method of the cloud endpoint.

mode

Non-null

The operation mode of this endpoint - either GraphQL for a pre-defined query, or Script for full custom power

module

Non-null

The module to execute when the endpoint is called.

name

Non-null

The name of the cloud endpoint.

path

Non-null

The path of the endpoint. This is nested under the base route and supports variables such as :id, or :state.

postHandler

A script to run to map the response back to the cloud service

preHandler

A script to run to prepare variables etc for the endpoint

Usages

#

References

#

  • Argument input of field createCloudEndpoint from type Mutation