Introspection query for ItemsResponse not showing complete fields

Hi team,

We are trying to run ItemsResponse object with attached introspection (schema) query which returns fields but the response property “items” is not giving complete list of fields instead fields contains just null.

Expected response- “items” response property should list all values in it like assets, board, column_values, etc

We have tried two schema/introspection query, please refer to below.

Query1:

query IntrospectionQuery
{
mutation: __schema {
mutationType {
name
kind
fields {
name
type {
name
kind
ofType {
name
kind
}
}
args {
name
type {
kind
name
ofType {
kind
name
enumValues {
name
description
}
ofType {
kind
name
}
}
enumValues {
name
description
}
}
}
}
}
}

output__retrieve: __type(name: "ItemsResponse") {
  name
  kind
  fields {
    name
    description
    ...recursiveFrag
  }
}

}

fragment recursiveFrag on __Field {
type {
name
kind
ofType {
kind
name
enumValues {
name
description
}
fields {
name
description
type {
name
kind
ofType {
kind
name
}
}
}
}
fields {
name
description
type {
name
kind
ofType {
kind
name
}
}
}
inputFields {
name
description
}
enumValues {
name
description
}
}
}

Query2:

query IntrospectionQuery
{
mutation: __schema {
mutationType {
name
kind
fields {
name
type {
name
kind
ofType {
name
kind
}
}
args {
name
type {
kind
name
ofType {
kind
name
enumValues {
name
description
}
}
}
}
}
}
}
output__retrieve: __type(name: “ItemsResponse”) {
# Depth 1
name
kind
fields {
# Depth 2
name
description
…recursiveFrag
}
}
}

fragment recursiveFrag on __Field {
type {
# Depth 3
name
kind
ofType {
# Depth 4
kind
name
enumValues {
# Depth 5
name
description
}
fields {
# Depth 5
name
description
type {
# Depth 6
name
kind
ofType {
# Depth 7
name
kind
fields {
# Depth 8
name
description
type {
# Depth 9
name
kind
ofType {
# Depth 10
name
description
kind
fields {
# Depth 11
name
description
}
}
}
}
inputFields {
# Depth 8
name
description
}
ofType {
# Depth 8
name
kind
enumValues {
# Depth 9
name
description
}
}
enumValues {
# Depth 8
name
description
}
}
}
}
}
fields {
# Depth 4
name
description
type {
# Depth 5
name
kind
ofType {
# Depth 6
kind
name
enumValues {
# Depth 7
name
description
}
ofType {
# Depth 7
name
kind
enumValues {
# Depth 8
name
description
}
}
fields {
# Depth 7
name
description
type {
# Depth 8
name
kind
fields {
# Depth 9
name
description
type {
# Depth 10
kind
name
description
ofType {
# Depth 11
name
description
kind
}
}
}
ofType {
# Depth 9
name
description
kind
enumValues {
# Depth 10
name
description
}
fields {
# Depth 10
name
description
type {
# Depth 11
kind
name
description
}
}
}
enumValues {
# Depth 9
name
description
}
}
}
}
}
}
inputFields {
# Depth 4
name
description
}
enumValues {
# Depth 4
name
description
}
}
}

Thanks

That links to the documentation with a link to the full schema file in JSON. I am not sure full introspection has been implemented. You need to set your API version header to get the schema for the correct version.