debian-mirror-gitlab/lib/api/entities/metrics/user_starred_dashboard.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
486 B
Ruby
Raw Normal View History

2020-05-24 23:13:21 +05:30
# frozen_string_literal: true
module API
module Entities
module Metrics
class UserStarredDashboard < Grape::Entity
2023-01-13 00:05:48 +05:30
expose :id, documentation: { type: 'integer', example: 5 }
expose :dashboard_path, documentation: { type: 'string', example: 'config/prometheus/common_metrics.yml' }
expose :user_id, documentation: { type: 'integer', example: 1 }
expose :project_id, documentation: { type: 'integer', example: 20 }
2020-05-24 23:13:21 +05:30
end
end
end
end