put:
  tags:
    - Saved Search
  description: |
    Updates an existing saved search.
  summary: |
    Updates an existing saved search
  operationId: savedSearchUpdate
  parameters:
  - $ref: '../parameters/path/search/id.yaml'
  requestBody:
    description: The saved search to persist.
    content:
      application/json:
        schema:
          $ref: '../schemas/search/saved/SavedSearch.yaml'
    required: true
  responses:
    '200':
      description: The persisted saved search.
      content:
        application/json:
          schema:
            $ref: '../schemas/search/saved/SavedSearch.yaml'
    '400':
      $ref: '../responses/400.yaml'
    '403':
      $ref: '../responses/403.yaml'
get:
  tags:
    - Saved Search
  description: |
    Returns the specified saved search.
  summary: Return a saved search by ID
  operationId: savedSearchGet
  parameters:
  - $ref: '../parameters/path/search/id.yaml'
  responses:
    '200':
      description: The requested saved search.
      content:
        application/json:
          schema:
            $ref: '../schemas/search/saved/SavedSearch.yaml'
    '404':
      $ref: '../responses/404.yaml'
delete:
  tags:
    - Saved Search
  description: |
    Deletes the specified saved search.
  summary: Delete a document by ID
  operationId: savedSearchDelete
  parameters:
  - $ref: '../parameters/path/search/id.yaml'
  responses:
    '204':
      description: No Content - Indicates the request was successful but there is no content to be returned in the response.
    '400':
      $ref: '../responses/400.yaml'
    '403':
      $ref: '../responses/403.yaml'
    '404':
      $ref: '../responses/404.yaml'
