Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Create a handler to return a list of repository branches #123

Closed
scorphus opened this issue Jul 23, 2014 · 0 comments
Closed

Create a handler to return a list of repository branches #123

scorphus opened this issue Jul 23, 2014 · 0 comments
Assignees
Labels

Comments

@scorphus
Copy link
Contributor

Something like:

GET /repository/:name/branches

That returns:

[
  {
    "name": "much_wow",
    "ref": "a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9",
    "title": "Do something",
    "committer": {
        "name": "Dog Doge",
        "email": "dog.doge@gmail.com"
    },
    "author": {
        "name": "Doge Dog",
        "email": "doge.dog@gmail.com"
    },
    "created_at": "2014-07-23T15:25:35-03:00"
  },
  {
    "name": "bark_bite",
    "ref": "a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9",
    "title": "Do some other thing",
    "committer": {
        "name": "Doge Dog",
        "email": "doge.dog@gmail.com"
    },
    "author": {
        "name": "Dog Doge",
        "email": "dog.doge@gmail.com"
    },
    "created_at": "2014-07-23T15:41:35-03:00"
  },
  ...
]
scorphus added a commit to scorphus/gandalf that referenced this issue Jul 23, 2014
…suru#123)

Add a new mock method to create branches on an existing repo
@scorphus scorphus self-assigned this Jul 23, 2014
scorphus added a commit to scorphus/gandalf that referenced this issue Jul 23, 2014
…suru#123)

Add a new mock method to create branches on an existing repo
scorphus added a commit to scorphus/gandalf that referenced this issue Jul 23, 2014
…suru#123)

Add a new mock method to create branches on an existing repo
andrewsmedina added a commit that referenced this issue Jul 23, 2014
Implement methods to get branches in a repository (re #120 and #123)
scorphus added a commit to scorphus/gandalf that referenced this issue Jul 23, 2014
scorphus added a commit to scorphus/gandalf that referenced this issue Jul 24, 2014
scorphus added a commit to scorphus/gandalf that referenced this issue Jul 24, 2014
scorphus added a commit to scorphus/gandalf that referenced this issue Jul 24, 2014
scorphus added a commit to scorphus/gandalf that referenced this issue Jul 24, 2014
andrewsmedina added a commit that referenced this issue Jul 24, 2014
Warily treat empty or invalid pattern (re #120 and #123)
scorphus added a commit to scorphus/gandalf that referenced this issue Jul 24, 2014
scorphus added a commit to scorphus/gandalf that referenced this issue Jul 24, 2014
scorphus added a commit to scorphus/gandalf that referenced this issue Jul 24, 2014
scorphus added a commit to scorphus/gandalf that referenced this issue Jul 25, 2014
andrewsmedina added a commit that referenced this issue Jul 25, 2014
Add handler for `GET /repository/repo/branch` (fix #123)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant