Using GraphQL to list all tags of a FFmpeg and search for releases

Using GraphQL to list all tags of a FFmpeg and search for releases


0

I’m trying to use GraphQL to get all tags of FFmpeg and later get the downloadUrl of each tag release.

In the GraphQL Explorer, I used the following query:

query {
    repository(owner: "FFmpeg", name: "FFmpeg") {
        refs(refPrefix: "refs/tags/", last: 100) {
            nodes {
                repository {
                    releases(last: 100, orderBy: { field: CREATED_AT, direction: DESC}) {
                        nodes {
                            name
                            createdAt
                            url
                            releaseAssets(last: 6) {
                                nodes {
                                    name
                                    downloadCount
                                    downloadUrl
                                }
                            }
                            
                            
                        }
                        
                         pageInfo {
                               endCursor
                               hasNextPage
                               hasPreviousPage
                               startCursor
                             }
                    }
                }
            }
        }
    }
}

But I found there is nothing output. And I found that is because all tags of FFmpeg are listed in https://github.com/FFmpeg/FFmpeg/tags not https://github.com/FFmpeg/FFmpeg/releases.

How to solve this question?

How to solve this question?

New contributor

user22555810 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


Load 7 more related questions


Show fewer related questions

0



Leave a Reply

Your email address will not be published. Required fields are marked *