Gitea: Missing features in the API

Created on 7 Jan 2020  ·  3Comments  ·  Source: go-gitea/gitea

Description

I am currently working on a library providing a unified interface to gitlab / github / gitea / bitbucket repo management api's .. but for gitea I found a couple of missing features preventing me from completing the gitea backend for this library:

  • [ ] retrieve a team by name ( https://developer.github.com/v3/teams/#get-team-by-name )

  • [ ] retrieve a list of teams having access to a repo ( https://developer.github.com/v3/repos/#list-teams )

  • [ ] adding a new branch based on an existing branch / tag / commit ( https://developer.github.com/v3/git/refs/#create-a-reference )

  • [ ] deleting a branch ( https://developer.github.com/v3/git/refs/#delete-a-reference

  • [ ] adding a tag based on commit ( https://developer.github.com/v3/git/tags/#create-a-tag-object )

  • [ ] deleting a tag ( https://developer.github.com/v3/git/refs/#example-deleting-a-tag )

  • [ ] retrieve a user by id (for this I have a workaround in the form of /users/search?uid=, so this is no big deal, but it would be cleaner if the API allowed for this .. but it seems the github api does not allow for this as well).

PS: if you rather want individual issues for the above points, I will happily do this.
PPS: If needed I can try to implement this, but my golang experience is very limited

kinapi kinproposal

Most helpful comment

@6543 I would like to work on this.

All 3 comments

@ederuiter if you need an api endpoint, the easyes way is to create a pull request yourself

if you can wait - perhaps I'll pick it up but this could take a while :)

e.g: #9494

@6543 I would like to work on this.

@sd1998 go on for it :) the Contribution Docs can help you :+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gwnpeter picture gwnpeter  ·  69Comments

xor-gate picture xor-gate  ·  53Comments

kauron picture kauron  ·  84Comments

techknowlogick picture techknowlogick  ·  55Comments

stevenroose picture stevenroose  ·  70Comments