debian-mirror-gitlab/app/graphql/queries/snippet/snippet.query.graphql

73 lines
1.2 KiB
GraphQL
Raw Normal View History

2021-01-29 00:20:46 +05:30
query GetSnippetQuery($ids: [SnippetID!]) {
snippets(ids: $ids) {
__typename
nodes {
__typename
id
title
description
descriptionHtml
createdAt
updatedAt
visibilityLevel
webUrl
httpUrlToRepo
sshUrlToRepo
blobs {
__typename
2022-02-27 12:50:16 +05:30
hasUnretrievableBlobs
2021-01-29 00:20:46 +05:30
nodes {
__typename
binary
name
path
rawPath
size
externalStorage
renderedAsText
simpleViewer {
__typename
collapsed
renderError
tooLarge
type
fileType
}
richViewer {
__typename
collapsed
renderError
tooLarge
type
fileType
}
}
}
userPermissions {
__typename
adminSnippet
updateSnippet
}
project {
__typename
2022-01-26 12:08:38 +05:30
id
2021-01-29 00:20:46 +05:30
fullPath
webUrl
}
author {
__typename
id
avatarUrl
name
username
webUrl
2021-03-08 18:12:59 +05:30
status {
__typename
emoji
message
}
2021-01-29 00:20:46 +05:30
}
}
}
}