The blockIngest() GraphQL mutation is used to block ingest to a specified repository for a number of seconds. The maximum is one year.

For more information on blocking and unblocking ingesting data, see the Blocking and Unblocking Ingestion documentation page.

Syntax

Below is the syntax for the blockIngest() mutation:

graphql
blockIngest(
   repositoryName: string!
   seconds: integer!
): BlockIngestMutation!

Returned Datatypes

As indicated by the syntax above, this mutation will return data using the datatype, BlockIngestMutation. Below is a list of the parameters of that data type:

Table: BlockIngestMutation

ParameterTypeRequired[a]DefaultDescription
repositoryRepositoryyes The repository for which to block the query. See Repository.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.


The returned datatype has its own special datatypes. You can click on the links below for more information on its parameters: