Hugues Malphettes
47e160ef65
Fix GetArchive
...
Pass a writer to stream out the content of the archive.
Support for multiple `path` by splitting the path parameter by comma.
Add an optional parameter `apibasepath` that replaces the default base path `/api/1.0` as at least as seen in the wild, this base URL is different.
2023-08-30 13:35:16 +02:00
George Fleury
0575c174c0
Move all params from int64 to int
2023-08-30 13:22:37 +02:00
George Fleury
5d0b8f4baf
Fixing integration tests
2023-08-30 12:21:48 +02:00
George Fleury
9bc1711434
go fmt
2023-08-25 11:51:22 +02:00
delarea
37ffa8d403
add edit pull request
2023-06-26 20:53:54 +03:00
mlosicki
4880bdf0b7
fix: support pagination for GetBranches
...
The docs mention that this is a Paged API, yet there is no support for
limit and start query params.
2022-01-24 00:30:09 +01:00
George Fleury
dff2223ade
Merge pull request #65 from yahavi/commit-status
...
Fix set and get commit status
2021-08-26 18:30:55 +02:00
yahavi
29084e5e35
Fix set and get commit status
2021-08-23 18:52:54 +03:00
yahavi
be1a0d5b84
Get archive should use RawAPIResponse
2021-08-23 18:10:05 +03:00
Sean Dukehart
f350c54008
Option to include request body for enabling hooks
2021-06-30 10:50:33 -04:00
Rashit Azizbaev
c08e6350a4
Do not change signature of old CreateComment method
2021-01-19 08:51:30 +03:00
Rashit Azizbaev
03c898e3b6
Add CreatePullRequestComment and GetActivities
2021-01-17 10:07:47 +03:00
Rashit Azizbaev
219e8c92ad
Fix create comment method for commit
2021-01-14 12:20:07 +03:00
George Fleury
15f2a16ca8
Merge pull request #57 from danilopopeye/feature/implement-AddUserToGroups-parameters
...
add parameters to `AddUserToGroups` method
2020-08-10 14:58:52 +02:00
Danilo Gonçalves
90ff150627
add parameters to AddUserToGroups
method
2020-08-07 20:15:53 -03:00
danilopopeye
7758229a74
handle CreateUser
empty body response
2020-08-07 17:35:57 -03:00
rigolden
479bf9f8ea
fix: concrete Project input to CreateProject
2020-07-27 14:39:30 -03:00
rigolden
d6503a151c
fix: project api methods
2020-07-27 14:09:36 -03:00
gfleury
b3c7f99f7f
Adding search endpoint SearchCode
2020-03-27 15:51:23 -03:00
gfleury
cf6f9657ee
Adding WebHook and GetPullRequestDiffRaw
2020-03-23 20:24:05 -03:00
gfleury
284a2dc210
Fix CreateRepository
2020-03-20 09:56:41 -03:00
gfleury
aabce9f497
Adding build-status endpoints and test coverage
2020-03-18 14:24:41 -03:00
gfleury
da305a07b8
Fix Delete 204 response with no body
2020-03-17 16:35:03 -03:00
gfleury
92d089b1ab
Include version on PR Deletion
2020-03-17 16:00:50 -03:00
gfleury
85968e42c6
Fix broken Delete PullRequests
2020-03-17 15:00:19 -03:00
gfleury
bdb008af0e
Adding error parser
2020-03-17 11:07:47 -03:00
gfleury
4776448b1d
Adding missing err check
2020-03-16 21:32:40 -03:00
gfleury
d31cf4f36b
Adding new wrapper for CreatePullRequest and struct as parameter
2020-03-16 21:26:03 -03:00
gfleury
e0d3f04d90
Adding tests for GetPullRequest(s) and adding pagination arguments for all paged api methods
2020-03-14 10:55:16 -03:00
Matthias Preu
abd53ff322
Skip body parsing for RevokePermissionsForGroup
...
For the different variants the body parsing has to be skipped due to
return code '204'.
2020-03-07 00:32:08 +01:00
gfleury
604a3243b0
Adding missing parameters on a bunch of functions
2020-03-05 16:24:19 -03:00
George Fleury
6b375ee273
Merge pull request #39 from mpreu/bugfix/GetUsersWithAnyPermission
...
Fix missing options for GetUsersWithAnyPermission
2020-02-28 19:48:38 -03:00
Matthias Preu
71fd39a64b
Fix missing parameter RevokePermissionsForUser
...
Variants were missing project and repository slug. Tests changed.
Skipping body parsing as return code is '204' is successful.
2020-02-27 17:53:05 +01:00
Matthias Preu
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
George Fleury
ddbafbb025
Merge pull request #38 from yareda/set-permission-for-users
...
Fix issues on SetPermissionForGroups_32 and SetPermissionForGroups_33…
2020-01-04 11:57:11 +01:00
George Fleury
0c2de535d7
Merge pull request #37 from yareda/setpermissionforuser
...
Fix for missing project and repositorySlug on SetPermissionForUser function
2019-12-31 11:10:31 +01:00
George Fleury
36fee14a8f
Merge pull request #36 from ribaptista/master
...
Handling empty DeleteWebhook response
2019-12-31 10:56:02 +01:00
Yared Ayalew
d31142dd6a
Fix issues on SetPermissionForGroups_32 and SetPermissionForGroups_33 methods
2019-12-29 14:18:14 +01:00
Yared Ayalew
a596d3da70
Change return type of SetPermissionForUser
2019-12-29 12:39:50 +01:00
Yared Ayalew
4e308ad21e
Fix SetPermissionForUser issue with project and repositorySlug parameters
2019-12-28 23:27:25 +01:00
Ricardo Baptista
e124d31ae1
Handling empty DeleteWebhook response
2019-12-16 18:51:47 -03:00
George Fleury
f7901e41fa
Merge pull request #33 from smacker/fix_pagination_pr_activity
...
Fix pagination for pr activity
2019-10-23 11:49:53 +02:00
Maxim Sukharev
ef9fac9209
Add GetPullRequestActivityWithOptions to enable pagination
2019-10-22 18:40:08 +02:00
George Fleury
bc549694e0
Merge pull request #34 from smacker/fix_get_project
...
Fix GetProject method
2019-10-17 20:51:12 +02:00
Maxim Sukharev
2fb91eb1ff
Fix GetProject method
2019-10-17 12:30:26 +02:00
Maxim Sukharev
0fb4f8f3f0
Add GetPullRequestDiff method
2019-10-17 12:24:07 +02:00
Ricardo Baptista
ad67345b1f
Fixing raw file fetch method
2019-09-11 12:33:23 -03:00
Ricardo Baptista
c4258a07ac
Fixing SetPermissionForGroup parameters
2019-07-25 15:41:15 -03:00
gfleury
f92b3b30a9
Handling network fail
2019-06-12 19:20:17 +02:00
gfleury
b39a1467fe
Fixing Create()
2019-06-05 10:37:10 +02:00