get:
  operationId: listIdentitySnapshots
  tags:
    - Identity History
  summary: Lists all the snapshots for the identity
  description: >-
    This method retrieves all the snapshots for the identity
    Requires authorization scope of 'idn:identity-history:read' 
  parameters:
    - in: path
      name: id
      schema:
        type: string
      required: true
      description: The identity id
      example: 8c190e6787aa4ed9a90bd9d5344523fb
    - in: query
      name: start
      schema:
        type: string
      description: The specified start date 
      example: '2007-03-01T13:00:00Z'
    - in: query
      name: interval
      schema:
        type: string
        enum:
          - day
          - month
      description: The interval indicating the range in day or month for the specified interval-name
    - $ref: '../../v3/parameters/limit.yaml'
    - $ref: '../../v3/parameters/offset.yaml'
    - $ref: '../../v3/parameters/count.yaml'
  responses:
    '200':
      description: A list of identity summary for each snapshot.
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '../schemas/IdentitySnapshotSummaryResponse.yaml'
    '400':
      $ref: '../../v3/responses/400.yaml'
    '401':
      $ref: '../../v3/responses/401.yaml'
    '403':
      $ref: '../../v3/responses/403.yaml'
    '404':
      $ref: '../../v3/responses/404.yaml'  
    '500':
      $ref: '../../v3/responses/500.yaml'