Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Roman Lacko
gitlab_api
Commits
f19ff947
Verified
Commit
f19ff947
authored
Apr 21, 2021
by
Roman Lacko
Browse files
BREAKING: GitLab::Repositories: Add prefix for endpoints
parent
3dcf31cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
GitLab/Repositories.pm
View file @
f19ff947
...
...
@@ -11,7 +11,7 @@ use Log::Any qw($log);
our
$VERSION
=
v11
.3.4
;
my
$requests
=
{
ls_tree
=>
{
repository_
ls_tree
=>
{
method
=>
"
GET
",
path
=>
"
/projects/<pid>/repository/tree
",
optional
=>
[
qw(
...
...
@@ -22,17 +22,17 @@ my $requests = {
paginated
=>
1
,
},
get_blob
=>
{
repository_
get_blob
=>
{
method
=>
"
GET
",
path
=>
"
/projects/<pid>/repository/blobs/<sha>
",
},
get_blob_raw
=>
{
repository_
get_blob_raw
=>
{
method
=>
"
GET
",
path
=>
"
/projects/<pid>/repository/blobs/<sha>/raw
",
},
get_archive
=>
{
repository_
get_archive
=>
{
method
=>
"
GET
",
path
=>
"
/projects/<pid>/repository/archive
",
optional
=>
[
qw(
...
...
@@ -41,7 +41,7 @@ my $requests = {
)
],
},
compare_refs
=>
{
repository_
compare_refs
=>
{
method
=>
"
GET
",
path
=>
"
/projects/<pid>/repository/compare
",
required
=>
[
qw(
...
...
@@ -53,7 +53,7 @@ my $requests = {
)
],
},
contributors
=>
{
repository_
contributors
=>
{
method
=>
"
GET
",
path
=>
"
/projects/<pid>/repository/contributos
",
optional
=>
[
qw(
...
...
@@ -62,7 +62,7 @@ my $requests = {
)
],
},
merge_base
=>
{
repository_
merge_base
=>
{
method
=>
"
GET
",
path
=>
"
/projects/<pid>/repository/merge_base
",
required
=>
[
qw(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment