openapi: 3.0.3
info:
  title: Cisco ISE API - Endpoint Replication
  version: 1.0.0
servers:
  - url: https://10.126.68.198:443
    description: Inferred Url
tags:
  - name: stop-replication-api-controller
    description: the stop-replication API
paths:
  /api/v1/stop-replication:
    get:
      tags:
        - Endpoint Stop Replication Service
      summary: Retrieve the status of Endpoint stop replication Service
      description: This API retrieves the status of Endpoint stop replication Service
      operationId: getStopReplicationStatus
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StopReplicationStatus'
                exampleSetFlag: false
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                exampleSetFlag: false
      security:
        - BasicAuth: []
    put:
      tags:
        - Endpoint Stop Replication Service
      summary: Update the status of Endpoint stop replication Service
      description: 'This API updates the status of Endpoint stop replication Service. '
      operationId: setStopReplicationService
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StopReplicationUpdateStatus'
              exampleSetFlag: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
                exampleSetFlag: false
        '201':
          description: Created
        '400':
          description: Bad input.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                exampleSetFlag: false
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
                exampleSetFlag: false
      security:
        - BasicAuth: []
components:
  schemas:
    ErrorResponse:
      title: ErrorResponse
      type: object
      properties:
        error:
          $ref: '#/components/schemas/Message'
          exampleSetFlag: true
        version:
          type: string
          example: 1.0.0
          exampleSetFlag: true
      exampleSetFlag: false
    Message:
      title: Message
      type: object
      properties:
        message:
          type: string
          example: Success
          exampleSetFlag: true
      exampleSetFlag: false
    Status:
      title: Status
      type: object
      properties:
        isEnabled:
          type: boolean
          example: true
          exampleSetFlag: true
      exampleSetFlag: false
    StopReplicationStatus:
      title: StopReplicationStatus
      type: object
      properties:
        response:
          $ref: '#/components/schemas/Status'
          exampleSetFlag: true
        version:
          type: string
          example: 1.0.0
          exampleSetFlag: true
      exampleSetFlag: false
    StopReplicationUpdateStatus:
      title: StopReplicationUpdateStatus
      required:
        - isEnabled
      type: object
      properties:
        isEnabled:
          type: boolean
          example: false
          exampleSetFlag: true
      exampleSetFlag: false
    SuccessResponse:
      title: SuccessResponse
      type: object
      properties:
        success:
          $ref: '#/components/schemas/Message'
          exampleSetFlag: true
        version:
          type: string
          example: 1.0.0
          exampleSetFlag: true
      exampleSetFlag: false
