query DataProviderById($id: ID!) {
dataProviderById(id: $id) {
accessToken {
expiresIn
token
}
createdAt
createdByUser
dataSources {
edges {
cursor
node {
__typename
}
}
nodes {
cardDefinitions {
__typename
}
createdAt
dataProviders {
__typename
}
deletedAt
description
entries {
__typename
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
id
isDeleted
}
}{
"id": "id"
}{
"data": {
"dataProviderById": {
"accessToken": {
"expiresIn": 1,
"token": "string"
},
"createdAt": "value",
"createdByUser": "value",
"dataSources": {
"edges": [
{
"cursor": "string",
"node": {
"__typename": "DataSource"
}
}
],
"nodes": [
{
"cardDefinitions": {
"__typename": "CardDefinitionsConnection"
},
"createdAt": "value",
"dataProviders": {
"__typename": "DataProvidersConnection"
},
"deletedAt": "value",
"description": "string",
"entries": {
"__typename": "SourceEntriesConnection"
}
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
},
"id": "id",
"isDeleted": true
}
}
}dataProviderById
Gets a data provider of the current tenant by its global id. NotFoundError: no data provider has that id.
dataProviderById(id: ID!): DataProvider!Arguments
Global id of the data provider (DataProvider.id).
Returns
Access token the data provider uses to write entries to its sources. Null when one can't be issued.
When the data provider was created.
Raw id (UUID) of the user who created the data provider. All zeros if not recorded.
Sources the data provider may write entries to.
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Global id of the data provider. dataProviderById and the data provider mutations take it. DataProviderWithSecretDto.id holds the raw UUID.
True if the data provider is deleted.
When the data provider last changed.
Raw id (UUID) of the user who last changed the data provider. All zeros if not recorded.
Name of the data provider, unique within the tenant.
Labels for grouping and filtering data providers.
Id of the tenant that owns the data provider.
query DataProviderById($id: ID!) {
dataProviderById(id: $id) {
accessToken {
expiresIn
token
}
createdAt
createdByUser
dataSources {
edges {
cursor
node {
__typename
}
}
nodes {
cardDefinitions {
__typename
}
createdAt
dataProviders {
__typename
}
deletedAt
description
entries {
__typename
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
id
isDeleted
}
}{
"id": "id"
}{
"data": {
"dataProviderById": {
"accessToken": {
"expiresIn": 1,
"token": "string"
},
"createdAt": "value",
"createdByUser": "value",
"dataSources": {
"edges": [
{
"cursor": "string",
"node": {
"__typename": "DataSource"
}
}
],
"nodes": [
{
"cardDefinitions": {
"__typename": "CardDefinitionsConnection"
},
"createdAt": "value",
"dataProviders": {
"__typename": "DataProvidersConnection"
},
"deletedAt": "value",
"description": "string",
"entries": {
"__typename": "SourceEntriesConnection"
}
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
},
"id": "id",
"isDeleted": true
}
}
}Was this page helpful?