IXON AgentDataSourceList API

The AgentDataSourceList API from IXON — 1 operation(s) for agentdatasourcelist.

OpenAPI Specification

ixon-agentdatasourcelist-api-openapi.yml Raw ↑
openapi: 3.0.2
info:
  contact:
    name: IXON B.V.
    url: https://www.ixon.cloud/
    email: support@ixon.cloud
  description: API for the IXON Cloud Platform
  license:
    name: All Rights Reserved
    url: https://www.ixon.cloud/
  title: IXON AccessRecoverList AgentDataSourceList API
  version: 0.1.294
servers:
- description: IXON Cloud platform server
  url: https://portal.ixon.cloud:443/api/
tags:
- name: AgentDataSourceList
paths:
  /agents/{agentId}/data-sources:
    get:
      tags:
      - AgentDataSourceList
      summary: AgentDataSourceList
      responses:
        '200':
          description: Success response. Data could be an object instead of a list when one value is returned
          content:
            application/json:
              schema:
                type: object
                required:
                - status
                - type
                - data
                properties:
                  status:
                    type: string
                    default: success
                    nullable: false
                  type:
                    type: string
                    nullable: false
                  moreAfter:
                    type: string
                    nullable: true
                  data:
                    nullable: false
                    type: array
                    items:
                      type: object
                      properties:
                        agent:
                          nullable: false
                          type: object
                          properties:
                            publicId:
                              nullable: false
                              type: string
                        continueLoggingOnError:
                          nullable: true
                          type: boolean
                        device:
                          nullable: false
                          type: object
                          properties:
                            publicId:
                              nullable: false
                              type: string
                        gracePeriod:
                          maximum: 65535
                          nullable: true
                          type: integer
                          format: int32
                        publicId:
                          maxLength: 12
                          minLength: 12
                          nullable: false
                          type: string
                        name:
                          maxLength: 255
                          minLength: 1
                          nullable: false
                          type: string
                        slug:
                          maxLength: 64
                          minLength: 1
                          nullable: false
                          pattern: ^[a-zA-Z0-9_\[\]-]+$
                          type: string
                        disabled:
                          nullable: false
                          type: boolean
                        protocol:
                          oneOf:
                          - type: object
                            properties:
                              publicId:
                                enum:
                                - custom
                                nullable: false
                                type: string
                              password:
                                maxLength: 255
                                minLength: 1
                                nullable: false
                                type: string
                            required:
                            - publicId
                            - password
                          - type: object
                            properties:
                              publicId:
                                enum:
                                - modbus
                                nullable: false
                                type: string
                              slave:
                                maximum: 65535
                                nullable: true
                                type: integer
                                format: int32
                              format:
                                enum:
                                - ABCD
                                - BADC
                                - CDAB
                                - DCBA
                                nullable: true
                                type: string
                              readMode:
                                enum:
                                - single_value
                                - consecutive_values
                                - gapped_values
                                nullable: true
                                type: string
                            required:
                            - publicId
                          - type: object
                            properties:
                              publicId:
                                enum:
                                - siemens-step7
                                nullable: false
                                type: string
                              pdu:
                                maximum: 2147483647
                                minimum: -2147483648
                                nullable: true
                                type: integer
                                format: int32
                              rack:
                                maximum: 7
                                nullable: true
                                type: integer
                                format: int32
                              slot:
                                maximum: 31
                                nullable: true
                                type: integer
                                format: int32
                            required:
                            - publicId
                          - type: object
                            properties:
                              publicId:
                                enum:
                                - opc-ua
                                nullable: false
                                type: string
                              authenticationType:
                                enum:
                                - anonymous
                                - username
                                - certificate
                                nullable: false
                                type: string
                              username:
                                maxLength: 255
                                minLength: 0
                                nullable: true
                                type: string
                              password:
                                maxLength: 255
                                minLength: 0
                                nullable: true
                                type: string
                              securityMode:
                                enum:
                                - sign
                                - signandencrypt
                                nullable: true
                                type: string
                              securityPolicy:
                                enum:
                                - basic256sha256
                                - aes128_sha256_rsaoaep
                                - aes256_sha256_rsapss
                                nullable: true
                                type: string
                            required:
                            - publicId
                            - authenticationType
                          - type: object
                            properties:
                              publicId:
                                enum:
                                - ethernet-ip
                                nullable: false
                                type: string
                              cpu:
                                enum:
                                - compactlogix
                                - micro800
                                - micrologix
                                - micrologix800
                                - omron
                                nullable: false
                                type: string
                              rack:
                                maximum: 65535
                                nullable: true
                                type: integer
                                format: int32
                              slot:
                                maximum: 65535
                                nullable: true
                                type: integer
                                format: int32
                            required:
                            - publicId
                            - cpu
                          - type: object
                            properties:
                              publicId:
                                enum:
                                - host
                                nullable: false
                                type: string
                            required:
                            - publicId
                          - type: object
                            properties:
                              publicId:
                                enum:
                                - bacnet-ip
                                nullable: false
                                type: string
                            required:
                            - publicId
                          - type: object
                            properties:
                              publicId:
                                enum:
                                - mc-protocol
                                nullable: false
                                type: string
                              cpu:
                                enum:
                                - FX5U
                                - IQR
                                - L
                                - Q
                                - QNUCPU
                                nullable: true
                                type: string
                              protocol:
                                enum:
                                - TCP
                                - UDP
                                nullable: true
                                type: string
                              networkNo:
                                maximum: 255
                                nullable: true
                                type: integer
                                format: int32
                              pcNo:
                                maxLength: 2
                                minLength: 1
                                nullable: true
                                pattern: '[A-Za-z0-9]+'
                                type: string
                              requestDestIoNr:
                                maxLength: 4
                                minLength: 1
                                nullable: true
                                pattern: '[A-Za-z0-9]+'
                                type: string
                              requestDestModuleStatNr:
                                maximum: 255
                                nullable: true
                                type: integer
                                format: int32
                              authenticationType:
                                enum:
                                - none
                                - password
                                nullable: true
                                type: string
                              password:
                                maxLength: 255
                                minLength: 0
                                nullable: true
                                type: string
                              reconnectDelay:
                                maximum: 65535
                                nullable: true
                                type: integer
                                format: int32
                              maxBlocks:
                                maximum: 65535
                                nullable: true
                                type: integer
                                format: int32
                              maxPoints:
                                maximum: 65535
                                nullable: true
                                type: integer
                                format: int32
                            required:
                            - publicId
                        port:
                          maximum: 65535
                          nullable: true
                          type: integer
                          format: int32
                        pullDelay:
                          maximum: 4294967295
                          nullable: true
                          type: integer
                          format: int32
                        valuesPerHour:
                          maximum: 4294967295
                          nullable: false
                          type: integer
                          format: int32
                        mqttTopic:
                          maxLength: 255
                          minLength: 1
                          nullable: true
                          type: string
                        mqttBrokerClient:
                          nullable: true
                          type: object
                          properties:
                            publicId:
                              nullable: false
                              type: string
        4XX:
          $ref: '#/components/responses/4XXErrorResponse'
      parameters:
      - $ref: '#/components/parameters/apiVersion'
      - $ref: '#/components/parameters/apiApplication'
      - $ref: '#/components/parameters/apiCompany'
      - $ref: '#/components/parameters/apiBrandingOptional'
      - $ref: '#/components/parameters/fieldsParameter'
      - $ref: '#/components/parameters/filtersParameter'
      - required: true
        name: agentId
        in: path
        schema:
          type: string
      security:
      - bearerToken: []
    post:
      tags:
      - AgentDataSourceList
      summary: AgentDataSourceList
      responses:
        '201':
          description: Success response. Data could be an object instead of a list when one value is returned
          content:
            application/json:
              schema:
                type: object
                required:
                - status
                - type
                - data
                properties:
                  status:
                    type: string
                    default: success
                    nullable: false
                  type:
                    type: string
                    nullable: false
                  moreAfter:
                    type: string
                    nullable: true
                  data:
                    nullable: false
                    type: array
                    items:
                      type: object
                      properties:
                        publicId:
                          maxLength: 12
                          minLength: 12
                          nullable: false
                          type: string
                      required:
                      - publicId
        4XX:
          $ref: '#/components/responses/4XXErrorResponse'
      parameters:
      - $ref: '#/components/parameters/apiVersion'
      - $ref: '#/components/parameters/apiApplication'
      - $ref: '#/components/parameters/apiCompany'
      - $ref: '#/components/parameters/apiBrandingOptional'
      - required: true
        name: agentId
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: array
              items:
                type: object
                properties:
                  device:
                    nullable: false
                    type: object
                    properties:
                      publicId:
                        nullable: false
                        type: string
                  continueLoggingOnError:
                    nullable: true
                    type: boolean
                  gracePeriod:
                    maximum: 65535
                    nullable: true
                    type: integer
                    format: int32
                  name:
                    maxLength: 255
                    minLength: 1
                    nullable: false
                    type: string
                  slug:
                    maxLength: 64
                    minLength: 1
                    nullable: false
                    pattern: ^[a-zA-Z0-9_\[\]-]+$
                    type: string
                  disabled:
                    nullable: false
                    type: boolean
                  protocol:
                    oneOf:
                    - type: object
                      properties:
                        publicId:
                          enum:
                          - custom
                          nullable: false
                          type: string
                        password:
                          maxLength: 255
                          minLength: 1
                          nullable: false
                          type: string
                      required:
                      - publicId
                      - password
                    - type: object
                      properties:
                        publicId:
                          enum:
                          - modbus
                          nullable: false
                          type: string
                        slave:
                          maximum: 65535
                          nullable: true
                          type: integer
                          format: int32
                        format:
                          enum:
                          - ABCD
                          - BADC
                          - CDAB
                          - DCBA
                          nullable: true
                          type: string
                        readMode:
                          enum:
                          - single_value
                          - consecutive_values
                          - gapped_values
                          nullable: true
                          type: string
                      required:
                      - publicId
                    - type: object
                      properties:
                        publicId:
                          enum:
                          - siemens-step7
                          nullable: false
                          type: string
                        pdu:
                          maximum: 2147483647
                          minimum: -2147483648
                          nullable: true
                          type: integer
                          format: int32
                        rack:
                          maximum: 7
                          nullable: true
                          type: integer
                          format: int32
                        slot:
                          maximum: 31
                          nullable: true
                          type: integer
                          format: int32
                      required:
                      - publicId
                    - type: object
                      properties:
                        publicId:
                          enum:
                          - opc-ua
                          nullable: false
                          type: string
                        authenticationType:
                          enum:
                          - anonymous
                          - username
                          - certificate
                          nullable: false
                          type: string
                        username:
                          maxLength: 255
                          minLength: 0
                          nullable: true
                          type: string
                        password:
                          maxLength: 255
                          minLength: 0
                          nullable: true
                          type: string
                        securityMode:
                          enum:
                          - sign
                          - signandencrypt
                          nullable: true
                          type: string
                        securityPolicy:
                          enum:
                          - basic256sha256
                          - aes128_sha256_rsaoaep
                          - aes256_sha256_rsapss
                          nullable: true
                          type: string
                      required:
                      - publicId
                      - authenticationType
                    - type: object
                      properties:
                        publicId:
                          enum:
                          - ethernet-ip
                          nullable: false
                          type: string
                        cpu:
                          enum:
                          - compactlogix
                          - micro800
                          - micrologix
                          - micrologix800
                          - omron
                          nullable: false
                          type: string
                        rack:
                          maximum: 65535
                          nullable: true
                          type: integer
                          format: int32
                        slot:
                          maximum: 65535
                          nullable: true
                          type: integer
                          format: int32
                      required:
                      - publicId
                      - cpu
                    - type: object
                      properties:
                        publicId:
                          enum:
                          - host
                          nullable: false
                          type: string
                      required:
                      - publicId
                    - type: object
                      properties:
                        publicId:
                          enum:
                          - bacnet-ip
                          nullable: false
                          type: string
                      required:
                      - publicId
                    - type: object
                      properties:
                        publicId:
                          enum:
                          - mc-protocol
                          nullable: false
                          type: string
                        cpu:
                          enum:
                          - FX5U
                          - IQR
                          - L
                          - Q
                          - QNUCPU
                          nullable: true
                          type: string
                        protocol:
                          enum:
                          - TCP
                          - UDP
                          nullable: true
                          type: string
                        networkNo:
                          maximum: 255
                          nullable: true
                          type: integer
                          format: int32
                        pcNo:
                          maxLength: 2
                          minLength: 1
                          nullable: true
                          pattern: '[A-Za-z0-9]+'
                          type: string
                        requestDestIoNr:
                          maxLength: 4
                          minLength: 1
                          nullable: true
                          pattern: '[A-Za-z0-9]+'
                          type: string
                        requestDestModuleStatNr:
                          maximum: 255
                          nullable: true
                          type: integer
                          format: int32
                        authenticationType:
                          enum:
                          - none
                          - password
                          nullable: true
                          type: string
                        password:
                          maxLength: 255
                          minLength: 0
                          nullable: true
                          type: string
                        reconnectDelay:
                          maximum: 65535
                          nullable: true
                          type: integer
                          format: int32
                        maxBlocks:
                          maximum: 65535
                          nullable: true
                          type: integer
                          format: int32
                        maxPoints:
                          maximum: 65535
                          nullable: true
                          type: integer
                          format: int32
                      required:
                      - publicId
                  port:
                    maximum: 65535
                    nullable: true
                    type: integer
                    format: int32
                  pullDelay:
                    maximum: 4294967295
                    nullable: true
                    type: integer
                    format: int32
                  mqttTopic:
                    maxLength: 255
                    minLength: 1
                    nullable: true
                    type: string
                  mqttBrokerClient:
                    nullable: true
                    type: object
                    properties:
                      publicId:
                        nullable: false
                        type: string
                required:
                - device
                - name
                - slug
                - protocol
        description: You can give one item or a list of items
      security:
      - bearerToken: []
    patch:
      tags:
      - AgentDataSourceList
      summary: AgentDataSourceList
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                type: object
                required:
                - status
                - type
                - data
                properties:
                  status:
                    type: string
                    default: success
                    nullable: false
                  type:
                    type: string
                    nullable: false
                  data:
                    type: object
                    nullable: true
        4XX:
          $ref: '#/components/responses/4XXErrorResponse'
      parameters:
      - $ref: '#/components/parameters/apiVersion'
      - $ref: '#/components/parameters/apiApplication'
      - $ref: '#/components/parameters/apiCompany'
      - $ref: '#/components/parameters/apiBrandingOptional'
      - required: true
        name: agentId
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: array
              items:
                type: object
                properties:
                  publicId:
                    maxLength: 12
                    minLength: 12
                    nullable: false
                    type: string
                  continueLoggingOnError:
                    nullable: true
                    type: boolean
                  device:
                    nullable: false
                    type: object
                    properties:
                      publicId:
                        nullable: false
                        type: string
                  gracePeriod:
                    maximum: 65535
                    nullable: true
                    type: integer
                    format: int32
                  name:
                    maxLength: 255
                    minLength: 1
                    nullable: false
                    type: string
                  slug:
                    maxLength: 64
                    minLength: 1
                    nullable: false
                    pattern: ^[a-zA-Z0-9_\[\]-]+$
                    type: string
                  disabled:
                    nullable: false
                    type: boolean
                  protocol:
                    oneOf:
                    - type: object
                      properties:
                        publicId:
                          enum:
                          - custom
                          nullable: false
                          type: string
                        password:
                          maxLength: 255
                          minLength: 1
                          nullable: false
                          type: string
                      required:
                      - publicId
                      - password
                    - type: object
                      properties:
                        publicId:
                          enum:
                          - modbus
                          nullable: false
                          type: string
                        slave:
                          maximum: 65535
                          nullable: true
                          type: integer
                          format: int32
                        format:
                          enum:
                          - ABCD
                          - BADC
                          - CDAB
                          - DCBA
                          nullable: true
                          type: string
                        readMode:
                          enum:
                          - single_value
                          - consecutive_values
                          - gapped_values
                          nullable: true
                          type: string
                      required:
                      - publicId
                    - type: object
                      properties:
                        publicId:
                          enum:
                          - siemens-step7
                          nullable: false
                          type: string
                        pdu:
                          maximum: 2147483647
                          minimum: -2147483648
                          nullable: true
                          type: integer
                          format: int32
                        rack:
                          maximum: 7
                          nullable: true
                          type: integer
                          format: int32
                        slot:
                          maximum: 31
                          nullable: true
                          type: integer
                          format: int32
                      required:
                      - publicId
                    - type: object
                      properties:
                        publicId:
                          enum:
                          - opc-ua
                          nullable: false
                          type: string
                        authenticationType:
                          enum:
                          - anonymous
                          - username
                          - certificate
                          nullable: false
                          type: string
                        username:
                          maxLength: 255
                          minLength: 0
       

# --- truncated at 32 KB (42 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/ixon/refs/heads/main/openapi/ixon-agentdatasourcelist-api-openapi.yml