Commit Graph

16 Commits

Author SHA1 Message Date
4d3afe3c12 feat: add GetBranchResponse
Parse a single Branch from an APIResponse
Useful in combination with the GetDefaultBranch API call
2022-01-24 00:41:10 +01:00
03c898e3b6 Add CreatePullRequestComment and GetActivities 2021-01-17 10:07:47 +03:00
b3c7f99f7f Adding search endpoint SearchCode 2020-03-27 15:51:23 -03:00
f1225dcec2 Changing Repository struct to allow omit on serialization 2020-03-20 10:14:43 -03:00
f399837676 Adding tests for HasNextPage 2020-03-19 19:35:17 -03:00
254a11e522 Adding LastReviewedCommit 2020-03-18 11:05:55 -03:00
1864c1339e Adding GetUsersReponse and modifying Users structure from Email to EmailAddress 2020-03-17 13:57:44 -03:00
bdb008af0e Adding error parser 2020-03-17 11:07:47 -03:00
b97eee6769 Revert GetPullRequestResponse last modifiction 2020-03-16 23:05:30 -03:00
e0d3f04d90 Adding tests for GetPullRequest(s) and adding pagination arguments for all paged api methods 2020-03-14 10:55:16 -03:00
892dc7a142 Rebase master + TestGetGroupsPermissionResponse 2020-03-12 14:52:56 -03:00
74fb5cf290 Upgrading deps 2020-03-12 14:49:27 -03:00
e132e33e07 Add reponse helper function for group permissions
Reponse to extract groups and their permissions was added.

Additional definitons for the avilable Bitbucket Server permission
levels were added to allow for easier usage.

Tests were added and udpated.
2020-03-06 14:38:02 +01:00
3f0f92285f Fix missing options for GetUsersWithAnyPermission
In the different variants the project key and repository slug were
missing.

Added as well was a struct to retrieve users and their permissions along
with a getter function for the response. A basic test was included, too.
2020-02-27 14:22:52 +01:00
d073bb7962 Webhook decoding 2019-10-31 13:36:57 -03:00
2c5c17a5d5 Adding tests 2018-11-02 20:14:46 +01:00