Is there any api to get only draft releases?

Hi,

I am looking for an api which can return me the list of draft releases or a draft release with specified tag.

I looked into the following api https://developer.github.com/v3/repos/releases/#list-releases-for-a-repository

but it returns all the published releases as well as daft releases. 

Filtering the returned list on basis of “published_at” attribute can give me list of all draft releases and further filtering on tag_name can give the desired result.

What is the suggested way to achieve this query?

Thanks

Hi @mdmdakbar,

Sounds like you able to get results by refining the query, at this time there isn’t another preferred way to achieve this.

Best,

Andrea