get:
  summary: Get details about watchlist
  security:
    - basic_authentication: []
  parameters:
    - $ref: '../components/parameters/login.yaml'
  responses:
    '200':
      description: OK. The request has succeeded.
      content:
        application/xml; charset=utf-8:
          schema:
            $ref: '../components/schemas/watchlist.yaml'
          example:
            - project:
                name: "home:Admin"
              package:
                name: "ad"
                project: "home:Admin"
              request:
                number: "7"
    '404':
      $ref: '../components/responses/person/password_not_found.yaml'
  tags:
    - Person

put:
  summary: Update watchlist
  security:
    - basic_authentication: []
  parameters:
    - $ref: '../components/parameters/login.yaml'
  requestBody:
    description: The new data for the person referred in the login parameter.
    required: true
    content:
      application/xml:
        schema:
          $ref: '../components/schemas/watchlist.yaml'
        example:
          - project:
              name: "home:Admin"
            package:
              name: "ad"
              project: "home:Admin"
            request:
              number: "7"
  responses:
    '200':
      $ref: '../components/responses/succeeded.yaml'
    '404':
      $ref: '../components/responses/person/password_not_found.yaml'
  tags:
    - Person
