Class: API::Templates

Inherits:
Base
  • Object
show all
Includes:
PaginationParams
Defined in:
lib/api/templates.rb

Constant Summary collapse

GLOBAL_TEMPLATE_TYPES =
{
  gitignores: {
    gitlab_version: 8.8,
    feature_category: :source_code_management,
    file_type: '.gitignore'
  },
  gitlab_ci_ymls: {
    gitlab_version: 8.9,
    feature_category: :pipeline_composition,
    file_type: 'GitLab CI/CD YAML'
  },
  dockerfiles: {
    gitlab_version: 8.15,
    feature_category: :source_code_management,
    file_type: 'Dockerfile'
  }
}.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