Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 3

Commit stats (last year activity)

Hello,

 

I'm trying to fetch commit activity of the bitcoin repositoriy for the last year.

 

GET /repos/bitcoin/bitcoin/stats/commit_activity

 

But I receive nothing (more precisely, empty array: []). The API documentation states that as this operation is time consuming, a 202 response code can be sent when statistics are not ready. However, in my case (and you'll probably encounter the same issue), I receive a 200 response code.

 

Is this behaviour normal? Is there a solution?

 

Thank you in advance for your help!

2 Replies
Community Manager
Message 2 of 3

Re: Commit stats (last year activity)

Hey hello-world-from-geneva, I'm researching your question, but wanted to give you a quick update. It looks like we might be encountering some abnormal behavior on our end. Thanks for your patience, as soon as I have an update I'll post it here. 

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Highlighted
Copilot Lvl 2
Message 3 of 3

Re: Commit stats (last year activity)

Hi Andrea,

 

Thank you for your response.

 

Today, it seems that if I ask for commit activity of bitcoin/bitcoin, the API gives me results. I know that for some other projects, I had the same issue, but for now, I didn't verify yet if it was resolved for all, or just for this particular repository.

 

Maybe, some changes have been performed since your intervention? Or can we expect others issues in the following days, because of instability?

 

Again, thank you for your help!