2020-09-15 17:09:35 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# Conan Project-Level Package Manager Client API
|
|
|
|
module API
|
2020-10-14 20:08:42 -04:00
|
|
|
class ConanProjectPackages < ::API::Base
|
2020-09-15 17:09:35 -04:00
|
|
|
params do
|
|
|
|
requires :id, type: Integer, desc: 'The ID of a project', regexp: %r{\A[1-9]\d*\z}
|
|
|
|
end
|
|
|
|
|
|
|
|
resource :projects, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do
|
|
|
|
namespace ':id/packages/conan/v1' do
|
2020-11-18 07:09:16 -05:00
|
|
|
include ::API::Concerns::Packages::ConanEndpoints
|
2020-09-15 17:09:35 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|