diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-03 15:10:11 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-03 15:10:11 +0000 |
commit | 4eef6c2c97b50f2305c561f0e1c6f0e14e661642 (patch) | |
tree | 03901d23471c6ad7984f8164297b13725adcd8fb /lib/api/pages_domains.rb | |
parent | b9ae930d02bebaadcd6f019b59240f1304822ef8 (diff) | |
download | gitlab-ce-4eef6c2c97b50f2305c561f0e1c6f0e14e661642.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/pages_domains.rb')
-rw-r--r-- | lib/api/pages_domains.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/api/pages_domains.rb b/lib/api/pages_domains.rb index 967847a8e62..15c1a78839f 100644 --- a/lib/api/pages_domains.rb +++ b/lib/api/pages_domains.rb @@ -54,7 +54,7 @@ module API end params do - requires :id, types: [String, Integer], desc: 'The ID or URL-encoded path of the project' + requires :id, types: [String, Integer], desc: 'The ID or URL-encoded path of the project owned by the authenticated user' end resource :projects, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do before do @@ -63,6 +63,8 @@ module API desc 'Get all pages domains' do success Entities::PagesDomain + tags %w[pages_domains] + is_array true end params do use :pagination |