John Joyce c479191eab
feat(React): Impl browse UI for Dashboards and Charts (#2167)
Co-authored-by: John Joyce <john@acryl.io>
2021-03-04 23:24:49 -08:00

141 lines
3.8 KiB
GraphQL

query getBrowsePaths($input: BrowsePathsInput!) {
browsePaths(input: $input) {
path
}
}
query getBrowseResults($input: BrowseInput!) {
browse(input: $input) {
entities {
urn
type
... on Dataset {
name
origin
description
platform {
name
info {
logoUrl
}
}
tags
ownership {
owners {
owner {
urn
type
username
info {
active
displayName
title
firstName
lastName
fullName
}
editableInfo {
pictureLink
}
}
type
}
lastModified {
time
}
}
}
... on Dashboard {
urn
type
tool
dashboardId
info {
name
description
url
access
lastModified {
time
}
}
ownership {
owners {
owner {
urn
type
username
info {
active
displayName
title
firstName
lastName
fullName
}
editableInfo {
pictureLink
}
}
type
}
lastModified {
time
}
}
}
... on Chart {
urn
type
tool
chartId
info {
name
description
url
type
access
lastModified {
time
}
}
ownership {
owners {
owner {
urn
type
username
info {
active
displayName
title
firstName
lastName
fullName
}
editableInfo {
pictureLink
}
}
type
}
lastModified {
time
}
}
}
}
start
count
total
metadata {
path
groups {
name
count
}
totalNumEntities
}
}
}