Closed camlafit closed 7 years ago
@camlafit #1811 fixes the second query. The third query should return a 404 if $USERNAME
is not an actual username, or if that user is not a member of the team (see https://developer.github.com/v3/orgs/teams/#get-team-member)
Hi
No more 500 on second query, but now 404
Thirth query looks ok now, user is set to team.
User related to token is
Username is
@camlafit If the user authenticated by $TOKEN
is not a member of whatever organization team 3 belongs to, then GET /api/v1/teams/3
should return a 404.
Hi
Ok understood, looks normal and this issue should be set as solved, but I've two others questions directly related :
And about admin usage (get all teams, ...) , should be set in /api/v1/admin/ part
@camlafit maybe you can fire another issue or maybe there is already an issue to describe it.
[x]
):Description
Following url provided by api/v1/api.go, I've try to get teams informations and set members to team. I've tried with 1.1.1 and master version on 386 arch
Query tested :
1/ With first query log shown :
Looks logical any endpoint looks defined, but get all teams should be a plus
2/ With second query log shown :
3/ With third query