parameters:
  - $ref: ../parameters/cmdId.yaml
  - $ref: ../parameters/statusId.yaml

get:
  summary: Get a status report by ID
  description: 
  tags:
    - Commands
  #parameters:
  #  - $ref: '#/components/parameters/select'
  responses:
    '200':
      $ref: ../responses/commandStatus.yaml
    '400':
      $ref: ../../../part1/openapi/responses/StandardResponses.yaml#/400
    '401':
      $ref: ../../../part1/openapi/responses/StandardResponses.yaml#/401
    '403':
      $ref: ../../../part1/openapi/responses/StandardResponses.yaml#/403
    '404':
      $ref: ../../../part1/openapi/responses/StandardResponses.yaml#/404
    '5XX':
      $ref: ../../../part1/openapi/responses/StandardResponses.yaml#/5XX

put:
  summary: Update a command status report
  description: 
  tags:
    - Commands
  requestBody:
    $ref: ../requests/commandStatus.yaml
  responses:
    '204':
      $ref: ../../../part1/openapi/responses/StandardResponses.yaml#/204_PUT
    '400':
      $ref: ../../../part1/openapi/responses/StandardResponses.yaml#/400
    '401':
      $ref: ../../../part1/openapi/responses/StandardResponses.yaml#/401
    '403':
      $ref: ../../../part1/openapi/responses/StandardResponses.yaml#/403
    '404':
      $ref: ../../../part1/openapi/responses/StandardResponses.yaml#/404
    '5XX':
      $ref: ../../../part1/openapi/responses/StandardResponses.yaml#/5XX

delete:
  summary: Delete a command status report
  tags:
    - Commands
  responses:
    '204':
      $ref: ../../../part1/openapi/responses/StandardResponses.yaml#/204_DELETE
    '400':
      $ref: ../../../part1/openapi/responses/StandardResponses.yaml#/400
    '401':
      $ref: ../../../part1/openapi/responses/StandardResponses.yaml#/401
    '403':
      $ref: ../../../part1/openapi/responses/StandardResponses.yaml#/403
    '404':
      $ref: ../../../part1/openapi/responses/StandardResponses.yaml#/404
    '409':
      $ref: ../../../part1/openapi/responses/StandardResponses.yaml#/409_DELETE
    '5XX':
      $ref: ../../../part1/openapi/responses/StandardResponses.yaml#/5XX