API Stability Preview

The getExternalFunction() GraphQL query to look up an external function specification. This query field is a preview and subject to change.

Syntax

Below is the syntax for the getExternalFunction() query field:

graphql
getExternalFunction(
      input: GetExternalFunctionInput!
   ): ExternalFunctionSpecificationOutput

The input, replace GetExternalFunctionInput with curly-brackets and name of the external function to fetch, as well as the view on which it should be accessible. Below is an example:

Show:
graphql
query {
  getExternalFunction(
    input: {name: "company-http", 
            view: "xxxx"}
  ) {
    kind, name, 
    description,
    procedureURL,
    parameters {
      name, parameterType, defaultValue
    }    
  }
}

Given Datatypes

The given datatype GetExternalFunctionInput has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: GetExternalFunctionInput

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 18, 2024
namestringyes PreviewThe name of the external function to fetch.
viewstringyes PreviewThe view on which the external function should be accessible.

Returned Datatypes

For ExternalFunctionSpecificationOutput, there are a couple possible values returned, which are listed below.

Table: ExternalFunctionSpecificationOutput

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 24, 2024
descriptionstringyes PreviewThe description for the external function.
kindKindOutputyes PreviewThe kind of external function, how it's executed. See KindOutput.
namestringyes PreviewThe name of the external function.
parameters[ParameterSpecificationOutput]yes PreviewThe parameter specifications for the external function. See ParameterSpecificationOutput.
procedureURLstringyes PreviewThe URL for the external function.