Answers for "+github graphql api get commits from repo"

0

+github graphql api get commits from repo

// Get commits from a repository's branch using GitHub GraphQL API:
{
  repository(name: "sickvim", owner: "jonathansick") {
    ref(qualifiedName: "master") {
      target {
        ... on Commit {
          id
          history(first: 5) {
            pageInfo {
              hasNextPage
            }
            edges {
              node {
                messageHeadline
                oid
                message
                author {
                  name
                  email
                  date
                }
              }
            }
          }
        }
      }
    }
  }
}
Posted by: Guest on February-08-2022

Code answers related to "TypeScript"

Browse Popular Code Answers by Language