Verified Commit f19ff947 authored by Roman Lacko's avatar Roman Lacko
Browse files

BREAKING: GitLab::Repositories: Add prefix for endpoints

parent 3dcf31cf
......@@ -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(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment