Open Food Broker
Open Food Broker

Reputation: 573

Understanding GitHub API response for a single release to find download statistics

The GitHub API documentation on release information says:

Information about published releases are available to everyone.

Thus, I considered it should be enough to be logged in GitHub, but not being member of a project to explore its download statistics for example (this is my use case).

Though, this API call for the latest release gives me an empty assets segment while there are release assets available.

  "assets": [

  ],

I've tested it with another repo like Dropwizard and get same result - empty assets.

One test more - I have created a fake release in a repo of my own and tested the API on it, still same result.

How to access the data?

UPD how did I sent the API call?

Upvotes: 0

Views: 141

Answers (1)

Gyumeijie
Gyumeijie

Reputation: 172

I visited https://github.com/telefonicaid/fiware-orion/releases, There is no assets at all. Assets are attached when you release your software. @Tensibai is right.

Upvotes: 1

Related Questions