1. Bitbucket Website
  2. Public Issue Tracker
  3. master


Issue #7659 resolved

use api to get repositories by team name

Josh Nankin
created an issue

there's a /user/repositories endpoint, but no way to do this for a group or team. Would be nice to see all repos that are owned by a team.

Comments (5)

  1. Josh Nankin reporter
    • changed status to open

    This doesn't seem to be working for me.

    Here is what I'm getting for team 'hackhouse':

    HTTP/1.1 200 OK Content-Language: en ETag: "b9b4f7ca5fdde1aeb57ecb616b1cf23c" X-Render-Time: 0.0036780834198 Content-Length: 385 X-Served-By: bitbucket15 Expires: Tue, 02 Jul 2013 00:08:17 GMT Last-Modified: Mon, 01 Jul 2013 23:53:17 GMT X-Version: 628cd9f4a886 X-Request-Count: 47 Server: nginx/1.2.4 X-Content-Type-Options: nosniff Cache-Control: max-age=900 Strict-Transport-Security: max-age=2592000 Date: Mon, 01 Jul 2013 23:53:17 GMT Vary: Authorization, Accept-Language, Cookie X-Static-Version: 5b360f78c6bc Content-Type: application/json; charset=utf-8

    { "repositories": [], "user": { "username": "hackhouse", "first_name": "Hackhouse", "last_name": "", "display_name": "Hackhouse", "is_team": true, "avatar": "https://secure.gravatar.com/avatar/59eb71071c386033638be18d766dd76b?d=https%3A%2F%2Fd3oaxc4q5k2d6q.cloudfront.net%2Fm%2F5b360f78c6bc%2Fimg%2Fdefault_team_avatar%2F32%2Fteam_blue.png&s=32", "resource_uri": "/1.0/users/hackhouse" } }

    However, if I browse to https://bitbucket.org/hackhouse when logged in, I can see all of my team's repos.

  2. Log in to comment