Commit Graph

10 Commits

Author SHA1 Message Date
notauserx 1300427bdd [FEAT] Updates permissions for App Installations and Collaborators endpoints 2023-03-08 10:27:29 -06:00
Chris Simpson 2f7bd00dd6 feat: Removing accept header previews (#2515) 2022-08-01 09:37:23 -05:00
Brendan Forster 327020750f add convention test for preview APIs (#2154) 2020-03-18 08:52:50 -03:00
Henrik Andersson a05d49e81d Expose affiliation parameter when listing collaborators (#2043) 2019-11-18 07:10:35 -04:00
Henrik Andersson cda714bef6 Organization membership preview API changes - Review user permission (#1633)
* Add organization membership preview header

* Add API endpoints to preview a collaborators permission

* Add methods to preview a collaborators permission

* Add methods to the observable repo collaborator client

* Fix convention test failure

* Use correct API endpoint when using repository ID

* Move the helper function pair so they aren't in between another pair

* Use the correct URL for the review permission API endpoint

* Add unit tests

* Add integration tests for review permission methods

* Fix spelling mistake

* Renaming enum as per review
2017-07-29 15:08:44 +10:00
Andreia Gaita 9e958bf998 Make Repository Id a long, it's going to grow... 2016-09-15 02:15:11 +02:00
Martin Scholz 89500f4b8a Repository invitations changes (#1410)
* add invitations accept header

* create class RepositoryInvitation

* add repository invitations client

* add api urls for invitations

* [WIP]

* add methods to repository invitations client

* add invite method to repo collaborators client

need to add some new overload to post method in apiconnection

* some changes

* add observable client

* add dependings

* add missing observable client

* add missing xml params

* check client

* change repository invitation model

* [WIP] tests

* [WIP] tests; fix overloads for client

* change GetAllForCurrent; suppress message

* some more tests

* [WIP]

* [WIP]

* add collaborator request model

* change return types

change return types for invitation methods. add permission attribute for
repository collaborators invite method.

* add some more tests

* fix xml doc

* check for null arguments

* fix tests

* some fixes from @ryangribble

* add parameterless constructor for RepositoryInvitation

* change setter

* change constructor

* fix merge conflicts

* [WIP] RepositoryInvitationsClientTests

* fix api url xml

* change collaborator request constructor

* change unit tests for collaborator request

* change repocollaboratorsclient

change overloads for add in invite methods to set permissions

* [WIP] integration tests

* add methods for interface

* NotFoundExceptions

* add overload for invite method

* rename repo property

* gramar

* overloads for observable repo collaborators client

* change integration tests

* new integration tests

* add decline test

* add test for accept invitation
2016-07-23 18:50:22 +10:00
aedampir@gmail.com cbec9b6421 Added unit tests for ObservableRepoCollaboratorsClient
Class RepoCollaboratorsClientTests.TheGetMethod renamed to TheIsCollaboratorMethod
2016-06-15 19:16:10 +07:00
Alexander Efremov 26cc074d74 Add ApiOption overloads to methods on I(Observable)RepositoryCommentsClient (#1310) 2016-05-24 05:54:31 +09:00
Alexander Efremov 63a8c1d70a Add ApiOption overloads to methods on IRepoCollaboratorsClient (#1282) 2016-04-29 14:16:07 +10:00