Skip to content

Store repository configuration files in NeptunAI database. #21

@jonasfroeller

Description

@jonasfroeller
{
  repository(owner: "jonasfroeller", name: "jonasfroeller") {
    ... on Repository {
      object(expression: "master") {
        ... on Tree {
          entries {
            oid
            name
            type
            path
            extension
            metaData: object {
              ... on Blob {
                byteSize
                isBinary
              }
            }
            commitData: object {
              ... on Commit {
                oid
                pushedDate
                message
              }
            }
          }
        }
      }
    }
  }
}

branches:

{
  repository(owner: "jonasfroeller", name: "jonasfroeller") {
    refs(first: 50, refPrefix:"refs/heads/") {
      nodes {
        name
      }
    }
  }
}

https://stackoverflow.com/questions/9272535/how-to-get-a-file-via-github-apis
https://docs.github.com/en/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax
https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions