This introduces GET methods for rating modules in the v2 API. Work items: * Implement the "/v1/rating/modules" endpoints in the v2 API, including unit tests and documentation Story: 2006572 Task: 36677 Co-Authored-By: Rafael Weingärtner <rafael@apache.org> Change-Id: I0a2f24051d268a396955c8df7e3e5615546f6293
50 lines
787 B
YAML
50 lines
787 B
YAML
description:
|
|
in: body
|
|
description: |
|
|
A quick description of the module
|
|
type: string
|
|
required: true
|
|
|
|
enabled: &enabled
|
|
in: body
|
|
description: |
|
|
Boolean representing if the module is enabled
|
|
type: bool
|
|
required: true
|
|
|
|
enabled_opt:
|
|
<<: *enabled
|
|
required: false
|
|
|
|
hot_config:
|
|
in: body
|
|
description: |
|
|
Boolean representing if the module supports hot-config
|
|
type: bool
|
|
required: true
|
|
|
|
module_id:
|
|
in: body
|
|
description: |
|
|
The id of the module
|
|
type: string
|
|
required: true
|
|
|
|
modules_list:
|
|
in: body
|
|
description: |
|
|
List of modules.
|
|
type: list
|
|
required: true
|
|
|
|
priority: &priority
|
|
in: body
|
|
description: |
|
|
Priority of the module, relative to other modules
|
|
type: int
|
|
required: true
|
|
|
|
priority_opt:
|
|
<<: *priority
|
|
required: false
|