151 lines
3.3 KiB
GraphQL
Raw Normal View History

query getDataset($urn: String!) {
dataset(urn: $urn) {
urn
name
type
origin
description
uri
platformNativeType
tags
properties {
key
value
}
created {
time
}
lastModified {
time
}
ownership {
owners {
owner {
urn
type
username
info {
active
displayName
title
firstName
lastName
}
editableInfo {
pictureLink
}
}
type
}
lastModified {
time
}
}
institutionalMemory {
elements {
url
author
description
created {
actor
time
}
}
}
schema {
datasetUrn
name
platformUrn
version
hash
platformSchema {
... on TableSchema {
schema
}
... on KeyValueSchema {
keySchema
valueSchema
}
}
fields {
fieldPath
jsonPath
nullable
description
type
nativeDataType
recursive
}
primaryKeys
}
}
}
mutation updateDataset($input: DatasetUpdateInput!) {
updateDataset(input: $input) {
urn
ownership {
owners {
owner {
urn
type
username
info {
active
displayName
title
email
firstName
lastName
fullName
}
editableInfo {
pictureLink
}
}
type
}
lastModified {
time
}
}
institutionalMemory {
elements {
url
author
description
created {
actor
time
}
}
}
schema {
datasetUrn
name
platformUrn
version
hash
platformSchema {
... on TableSchema {
schema
}
... on KeyValueSchema {
keySchema
valueSchema
}
}
fields {
fieldPath
jsonPath
nullable
description
type
nativeDataType
recursive
}
primaryKeys
}
}
}