mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-28 01:12:41 +00:00
39 lines
499 B
GraphQL
39 lines
499 B
GraphQL
# Sample GraphQL queries for smoke testing
|
|
|
|
# Simple introspection query
|
|
query IntrospectionQuery {
|
|
__schema {
|
|
queryType {
|
|
name
|
|
}
|
|
}
|
|
}
|
|
|
|
# Basic entity search
|
|
query SearchEntities {
|
|
search(input: {
|
|
type: DATASET
|
|
query: "*"
|
|
start: 0
|
|
count: 5
|
|
}) {
|
|
start
|
|
count
|
|
total
|
|
searchResults {
|
|
entity {
|
|
urn
|
|
type
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
# List available platforms
|
|
query ListPlatforms {
|
|
listPlatforms {
|
|
name
|
|
displayName
|
|
type
|
|
}
|
|
} |