Unverified Commit c03b91a5 authored by Daniel González-Sánchez's avatar Daniel González-Sánchez Committed by GitHub
Browse files

Merge pull request #8 from giros-dit/1.6.1-ops-registry-api-rev

NGSI-LD Context Source Registration and Context Source Discovery Operations - OAS 1.6.1
parents c13bd3d1 e3de4463
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
@@ -639,17 +639,19 @@ paths:
                - required:
                  - type
                  - information
                  - endpoint
          application/json+ld:
            schema:
              allOf:
                - $ref: '#/components/schemas/CsourceRegistration'
                - type: object
                  properties:
                    '@context':
                      $ref:  '#/components/schemas/LdContext'
                - $ref: '#/components/schemas/CsourceRegistration'
                - required:
                  - type
                  - information
                  - endpoint
                  - '@context'
      responses:
        '201':
@@ -740,11 +742,11 @@ paths:
                type: array
                items:
                  allOf:
                    - $ref: '#/components/schemas/CsourceRegistration'
                    - type: object
                      properties:
                        '@context':
                          $ref:  '#/components/schemas/LdContext'
                    - $ref: '#/components/schemas/CsourceRegistration'
                    - required:
                      - id
                      - type
@@ -765,6 +767,8 @@ paths:
        This operation allows retrieving a specific context source registration from an NGSI-LD system.
      operationId: retrieveCSR
      parameters:
        # Query params
        - $ref: '#/components/parameters/Query.options.sysAttrs'
        # Path params
        - $ref: '#/components/parameters/Path.registrationId'
        # Local Query param
@@ -792,11 +796,11 @@ paths:
            application/json+ld:
              schema:
                allOf:
                  - $ref: '#/components/schemas/CsourceRegistration'
                  - type: object
                    properties:
                      '@context':
                        $ref:  '#/components/schemas/LdContext'
                  - $ref: '#/components/schemas/CsourceRegistration'
                  - required:
                    - id
                    - type
@@ -842,11 +846,11 @@ paths:
          application/json+ld:
            schema:
              allOf:
                - $ref: '#/components/schemas/CsourceRegistration'
                - type: object
                  properties:
                    '@context':
                      $ref:  '#/components/schemas/LdContext'
                - $ref: '#/components/schemas/CsourceRegistration'
                - required:
                  - '@context'
      responses:
@@ -3594,7 +3598,7 @@ components:
        - triggerReason
    CsourceRegistration:
      description: |
        5.2.9 represents the data needed to register a new Context Source.
        5.2.9 This type represents the data needed to register a new Context Source.
      type: object
      properties:
        id:
@@ -4375,7 +4379,7 @@ components:
        - georel
    KeyValuePair:
      description: |
        5.2.22 represents the optional information that is required when contacting an endpoint for notifications.
        5.2.22 This datatype represents the optional information that is required when contacting an endpoint for notifications.
      type: object
      properties:
        key: