Mutation
mutation UpsertSourceProperties($input: UpsertSourcePropertiesInput!) {
upsertSourceProperties(input: $input) {
dataSourceProperty {
capabilities {
applicableTo
description
kind
requiresReindexingOnUpdate
}
cardDefinitionProperties {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
totalCount
}
cardPropertyIdSuggestions {
camelCase
kebabCase
pascalCase
}
createdAt
createdBy
dataSourceId
}
errors {
__typename
... on GraphQlError {
code
details {
__typename
}
message
}
}
}
}Variables
{
"input": {
"dataSourceId": "id",
"properties": [
{
"displayName": "string",
"propertyId": "string"
}
]
}
}Response
{
"data": {
"upsertSourceProperties": {
"dataSourceProperty": [
{
"capabilities": [
{
"applicableTo": [
"TEXT"
],
"description": "string",
"kind": "string",
"requiresReindexingOnUpdate": true
}
],
"cardDefinitionProperties": {
"edges": [
{
"__typename": "CardDefinitionPropertiesEdge"
}
],
"nodes": [
{
"__typename": "CardDefinitionProperty"
}
],
"pageInfo": {
"__typename": "PageInfo"
},
"totalCount": 1
},
"cardPropertyIdSuggestions": {
"camelCase": "string",
"kebabCase": "string",
"pascalCase": "string"
},
"createdAt": "value",
"createdBy": "string",
"dataSourceId": "string"
}
],
"errors": [
{
"__typename": "GraphQlError",
"code": "string",
"details": [
{
"__typename": "KeyValuePairOfStringAndString"
}
],
"message": "string"
}
]
}
}
}Mutations
upsertSourceProperties
Creates or changes source properties of a source. Changing type, delimiter or capabilities reindexes the values: the source property stays UPDATING until done. Fails with ConflictError on a source property that isn’t ACTIVE.
MUTATION
upsertSourceProperties(input: UpsertSourcePropertiesInput!): UpsertSourcePropertiesPayload!Arguments
input
required
Returns
dataSourceProperty
errors
Mutation
mutation UpsertSourceProperties($input: UpsertSourcePropertiesInput!) {
upsertSourceProperties(input: $input) {
dataSourceProperty {
capabilities {
applicableTo
description
kind
requiresReindexingOnUpdate
}
cardDefinitionProperties {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
totalCount
}
cardPropertyIdSuggestions {
camelCase
kebabCase
pascalCase
}
createdAt
createdBy
dataSourceId
}
errors {
__typename
... on GraphQlError {
code
details {
__typename
}
message
}
}
}
}Variables
{
"input": {
"dataSourceId": "id",
"properties": [
{
"displayName": "string",
"propertyId": "string"
}
]
}
}Response
{
"data": {
"upsertSourceProperties": {
"dataSourceProperty": [
{
"capabilities": [
{
"applicableTo": [
"TEXT"
],
"description": "string",
"kind": "string",
"requiresReindexingOnUpdate": true
}
],
"cardDefinitionProperties": {
"edges": [
{
"__typename": "CardDefinitionPropertiesEdge"
}
],
"nodes": [
{
"__typename": "CardDefinitionProperty"
}
],
"pageInfo": {
"__typename": "PageInfo"
},
"totalCount": 1
},
"cardPropertyIdSuggestions": {
"camelCase": "string",
"kebabCase": "string",
"pascalCase": "string"
},
"createdAt": "value",
"createdBy": "string",
"dataSourceId": "string"
}
],
"errors": [
{
"__typename": "GraphQlError",
"code": "string",
"details": [
{
"__typename": "KeyValuePairOfStringAndString"
}
],
"message": "string"
}
]
}
}
}Was this page helpful?