use api to get repositories by team name

Issue #7659 resolved
Joshua 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. Joshua 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": "", "resource_uri": "/1.0/users/hackhouse" } }

    However, if I browse to when logged in, I can see all of my team's repos.

  2. Log in to comment