Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git: Branches #98

Closed
6 tasks
eugenk opened this issue Apr 12, 2017 · 1 comment
Closed
6 tasks

Git: Branches #98

eugenk opened this issue Apr 12, 2017 · 1 comment

Comments

@eugenk
Copy link
Member

eugenk commented Apr 12, 2017

Implement the following branching functionality

  • List branches
    /:user/:repository/branches   GET index
    
  • Show branch
    /:user/:repository/branches/:branch   GET show (identical with /:user/:repository/ref/:branch/commits)
    
  • Create a branch
    /:user/:repository/branches   POST create
    
  • Delete a branch
    /:user/:repository/branches/:branch   DELETE destroy
    
  • Get the default branch
    /:user/:repository/branches///default   GET show
    
  • Set the default branch
    /:user/:repository/branches///default PATCH update
    

These functions are already implemented in GraphQL by #165.

The struck out bullets are not needed because we only want to have read actions in the REST API.

@eugenk
Copy link
Member Author

eugenk commented Oct 30, 2017

This is already done by #190.

@eugenk eugenk closed this as completed Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants