Sort by updated time of 'refs/heads/' in 'repository' when querying GraphQL API #43946
Unanswered
KimDaeIl
asked this question in
API and Webhooks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Product Feedback
Body
Is there any way to sort by updated time when requesting 'refs/heads/' of 'repository'?
Is it possible to sort by time updated by attribute like committed Date like TAG_COMMIT_DATE applied to 'refs/tags'?
user(login: $owner) {
repository(name: $repository) {
id
name
pushedAt
refs(
refPrefix: "refs/heads/"
first: 1
orderBy: {field: ALPHABETICAL, direction: ASC}
) {
// data
}
}
}
Beta Was this translation helpful? Give feedback.
All reactions