Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,461,062
Community Members
 
Community Events
176
Community Groups

How to fetch repositories created date in a project using REST API

Hi Team,

I am trying to execute rest API in my instance to fetch repositories created date in a single project. Pls find below URL which I have run. but its giving only 25 pages of data in a page, how can I view all the page information using API. can anyone suggest me, Is there any API for this to get all the repos info in a single page with repositories created date.

URL: https://bitbucketURL/rest/audit/1.0/projects/aau/events?isLastPage:true

once executed the above url, the end result, its showing as''start":0,"nextPageStart":25'. How can we show last page info using API.

Thanks!

1 answer

1 accepted

1 vote
Answer accepted
Mikael Sandberg Community Leader Jan 20, 2022

On Bitbucket server you should be able to define the number of items returned in the pagination, 25 is the default value. Let me see if I can find where you set that, it has been a couple of years since I did that.

Also take a look at this blog post, it shows how to use pagination to get all the repositories, BitBucket List All Repositories – using REST API 

Mikael Sandberg Community Leader Jan 20, 2022

Here is the property you can change to set the number of objects returned on a page, Paging 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events