query FolderById($id: ID!) {
folderById(id: $id) {
activeTask {
artifacts {
available
completedAt
createdAt
filename
kind
sizeBytes
}
awaitingConfirmation
configuration {
__typename
... on CardsImportConfiguration {
__typename
}
}
createdAt
createdBy
details {
__typename
... on CardsImportDetails {
__typename
}
}
}
children {
edges {
cursor
node {
__typename
}
}
nodes {
__typename
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
createdAt
createdByUser
dataSource {
cardDefinitions {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
totalCount
}
createdAt
dataProviders {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
totalCount
}
deletedAt
description
entries {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
totalCount
}
}
dataSourceId
}
}{
"id": "id"
}{
"data": {
"folderById": {
"activeTask": {
"artifacts": [
{
"available": true,
"completedAt": "value",
"createdAt": "value",
"filename": "string",
"kind": "INPUT",
"sizeBytes": "value"
}
],
"awaitingConfirmation": true,
"configuration": {
"__typename": "CardsImportConfiguration"
},
"createdAt": "value",
"createdBy": "value",
"details": {
"__typename": "CardsImportDetails"
}
},
"children": {
"edges": [
{
"cursor": "string",
"node": {
"__typename": "Folder"
}
}
],
"nodes": [
{
"__typename": "Folder"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
},
"createdAt": "value",
"createdByUser": "value",
"dataSource": {
"cardDefinitions": {
"edges": [
{
"__typename": "CardDefinitionsEdge"
}
],
"nodes": [
{
"__typename": "CardDefinition"
}
],
"pageInfo": {
"__typename": "PageInfo"
},
"totalCount": 1
},
"createdAt": "value",
"dataProviders": {
"edges": [
{
"__typename": "DataProvidersEdge"
}
],
"nodes": [
{
"__typename": "DataProvider"
}
],
"pageInfo": {
"__typename": "PageInfo"
},
"totalCount": 1
},
"deletedAt": "value",
"description": "string",
"entries": {
"edges": [
{
"__typename": "SourceEntriesEdge"
}
],
"nodes": [
{
"__typename": "SourceEntry"
}
],
"pageInfo": {
"__typename": "PageInfo"
},
"totalCount": "value"
}
},
"dataSourceId": "id"
}
}
}folderById
Gets a folder by its global id. Fails with NotFoundError when no folder has it.
folderById(id: ID!): Folder!Arguments
Global id of the folder (Folder.id).
Returns
Task working on this folder or its entries, or null. Changes to the folder fail until the task finishes.
Folders directly under this folder.
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.
When the folder was created (UTC).
Id of the user who created the folder.
Source the folder belongs to.
Global id of the source the folder belongs to (DataSource.id).
Number of entries in this folder and every folder below it.
Counts only entries with one of these upload statuses. Omit it to count every entry.
Name of the folder, shown in Studio. The root folder carries the source's name.
Number of entries directly in this folder.
Counts only entries with one of these upload statuses. Omit it to count every entry.
Global id of the folder. folderById and the folder id arguments of this API take it.
True for the source's root folder, which every other folder descends from. It can't be renamed, moved or deleted, and entries go into it unless put elsewhere.
When the folder last changed (UTC).
Id of the user who last changed the folder.
Parent folder. Null for the root folder.
Global id of the parent folder. Null only for the root folder.
Path of the folder: the safeNames from the root folder down, joined by /. The root folder's path is the source's raw id. Unique within the source.
Groups that arrange source properties in Studio for this folder. Null = the source's propertyGroups apply.
Source property overrides of this folder: display settings and allowed values.
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.
Name of the folder in its path: letters and digits only.
Id of the tenant that owns the folder.
query FolderById($id: ID!) {
folderById(id: $id) {
activeTask {
artifacts {
available
completedAt
createdAt
filename
kind
sizeBytes
}
awaitingConfirmation
configuration {
__typename
... on CardsImportConfiguration {
__typename
}
}
createdAt
createdBy
details {
__typename
... on CardsImportDetails {
__typename
}
}
}
children {
edges {
cursor
node {
__typename
}
}
nodes {
__typename
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
createdAt
createdByUser
dataSource {
cardDefinitions {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
totalCount
}
createdAt
dataProviders {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
totalCount
}
deletedAt
description
entries {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
totalCount
}
}
dataSourceId
}
}{
"id": "id"
}{
"data": {
"folderById": {
"activeTask": {
"artifacts": [
{
"available": true,
"completedAt": "value",
"createdAt": "value",
"filename": "string",
"kind": "INPUT",
"sizeBytes": "value"
}
],
"awaitingConfirmation": true,
"configuration": {
"__typename": "CardsImportConfiguration"
},
"createdAt": "value",
"createdBy": "value",
"details": {
"__typename": "CardsImportDetails"
}
},
"children": {
"edges": [
{
"cursor": "string",
"node": {
"__typename": "Folder"
}
}
],
"nodes": [
{
"__typename": "Folder"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
},
"createdAt": "value",
"createdByUser": "value",
"dataSource": {
"cardDefinitions": {
"edges": [
{
"__typename": "CardDefinitionsEdge"
}
],
"nodes": [
{
"__typename": "CardDefinition"
}
],
"pageInfo": {
"__typename": "PageInfo"
},
"totalCount": 1
},
"createdAt": "value",
"dataProviders": {
"edges": [
{
"__typename": "DataProvidersEdge"
}
],
"nodes": [
{
"__typename": "DataProvider"
}
],
"pageInfo": {
"__typename": "PageInfo"
},
"totalCount": 1
},
"deletedAt": "value",
"description": "string",
"entries": {
"edges": [
{
"__typename": "SourceEntriesEdge"
}
],
"nodes": [
{
"__typename": "SourceEntry"
}
],
"pageInfo": {
"__typename": "PageInfo"
},
"totalCount": "value"
}
},
"dataSourceId": "id"
}
}
}Was this page helpful?