API Stability Long-Term

The disableFieldAliasSchemaOnView() GraphQL query is used to disable the schema on a given view or repository.

Syntax

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

graphql
disableFieldAliasSchemaOnView( 
      input: DisableFieldAliasSchemaOnViewInput!
   ): boolean

Below is an example of how this mutation field might be used:

Show:
graphql
mutation {
  disableFieldAliasSchemaOnView(
     input: {schemaId: "1234", 
             viewName: "humio"}
  )
}
Example Responses
Show:
json
{
  "data": {
    "disableFieldAliasSchemaOnView": true
  }
}

Given Datatypes

For DisableFieldAliasSchemaOnViewInput, there are two parameters that may be given. Below is a list of them along with a description of each:

Table: DisableFieldAliasSchemaOnViewInput

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
schemaIdstringyes Long-TermThe unique identifier of the schema related to the field aliases to disable.
viewNamestringyes Long-TermThe name of the view related to the field aliases to disable.