Schemas
Panther GraphQL API schema operations
Last updated
Was this helpful?
Was this helpful?
mutation addSchema {
createOrUpdateSchema(input:{
description: "description"
name:"Custom.NewSchema",
isFieldDiscoveryEnabled: true,
spec:"""
fields:
- name: foo
type: string
"""
}) {
schema {
createdAt
description
isArchived
isManaged
name
referenceURL
revision
isFieldDiscoveryEnabled
spec
discoveredSpec
updatedAt
version
}
}
}query ListSchemas {
schemas(input:{cursor:""}) {
edges {
node {
createdAt
description
isArchived
isManaged
name
referenceURL
revision
isFieldDiscoveryEnabled
spec
discoveredSpec
updatedAt
version
}
}
}
}