Class: API::MlModelPackages

Inherits:
Base
  • Object
show all
Includes:
APIGuard, Helpers::Authentication
Defined in:
lib/api/ml_model_packages.rb

Constant Summary collapse

ML_MODEL_PACKAGES_REQUIREMENTS =
{
  model_name: API::NO_SLASH_URL_PART_REGEX,
  file_name: API::NO_SLASH_URL_PART_REGEX
}.freeze
ALLOWED_STATUSES =
%w[default hidden].freeze

Constants included from Gitlab::EndpointAttributes

Gitlab::EndpointAttributes::DEFAULT_URGENCY

Method Summary

Methods inherited from Base

endpoint_id_for_route, feature_category_for_app, path_for_app, route, urgency_for_app