mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-24 01:50:06 +00:00
34 lines
684 B
GraphQL
34 lines
684 B
GraphQL
query getAccessToken($input: GetAccessTokenInput!) {
|
|
getAccessToken(input: $input) {
|
|
accessToken
|
|
}
|
|
}
|
|
|
|
query listAccessTokens($input: ListAccessTokenInput!) {
|
|
listAccessTokens(input: $input) {
|
|
start
|
|
count
|
|
total
|
|
tokens {
|
|
urn
|
|
type
|
|
id
|
|
name
|
|
description
|
|
actorUrn
|
|
ownerUrn
|
|
createdAt
|
|
expiresAt
|
|
}
|
|
}
|
|
}
|
|
|
|
mutation createAccessToken($input: CreateAccessTokenInput!) {
|
|
createAccessToken(input: $input){
|
|
accessToken
|
|
}
|
|
}
|
|
|
|
mutation revokeAccessToken($tokenId: String!) {
|
|
revokeAccessToken(tokenId: $tokenId)
|
|
} |