collector: &collector
  in: query
  description: |
    Filter on collector.
  type: string
  required: false

fetcher: &fetcher
  in: query
  description: |
    Filter on fetcher.
  type: string
  required: false

limit:
  in: query
  description: |
    For pagination. The maximum number of results to return.
  type: int
  required: false

offset: &offset
  in: query
  description: |
    For pagination. The index of the first element that should be returned.
  type: int
  required: false

scope_id: &scope_id
  in: query
  description: |
    Filter on scope.
  type: string
  required: false

scope_key: &scope_key
  in: query
  description: |
    Filter on scope_key.
  type: string
  required: false

all_scopes: &all_scopes
  in: body
  description: |
    Confirmation whether all scopes must be reset
  type: bool

collector_body:
  <<: *collector
  in: body

collector_resp:
  <<: *collector
  required: true
  description: Collector for the given scope
  in: body

fetcher_body:
  <<: *fetcher
  in: body

fetcher_resp:
  <<: *fetcher
  required: true
  description: Fetcher for the given scope
  in: body

scope_id_body:
  <<: *scope_id
  in: body

scope_id_resp:
  <<: *scope_id
  required: true
  description: Scope
  in: body

scope_key_body:
  <<: *scope_key
  in: body

scope_key_resp:
  <<: *scope_key
  required: true
  description: Scope key for the given scope
  in: body

state:
  in: body
  description: |
    State of the scope.
  type: iso8601 timestamp
  required: true
