Commit d014138e authored by Ignacio Dominguez Martinez-Casanueva's avatar Ignacio Dominguez Martinez-Casanueva
Browse files

Address Jason's comments

parent 45745e53
Loading
Loading
Loading
Loading
+32 −5
Original line number Diff line number Diff line
@@ -1533,7 +1533,11 @@ paths:
        - Temporal API
        - Temporal Context Information Consumption
      summary: Query temporal evolution of Entities.
      description: 5.7.4 Query Temporal Evolution of Entities.
      description: |
        5.7.4 Query Temporal Evolution of Entities.

        This operation allows querying the temporal evolution of Entities present in an NGSI-LD system.
        It is similar to the operation defined by clause 5.7.2 (Query Entities) with the addition of a temporal query.
      operationId: queryTemporal
      parameters:
        # Query params
@@ -1577,7 +1581,7 @@ paths:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Entity'
                  $ref: '#/components/schemas/EntityTemporal'
            application/json+ld:
              schema:
                allOf:
@@ -1589,7 +1593,7 @@ paths:
                        $ref:  '#/components/schemas/LdContext'
                  - type: array
                    items:
                      $ref: '#/components/schemas/Entity'
                      $ref: '#/components/schemas/EntityTemporal'
        '400':
          headers:
            NGSILD-Warning:
@@ -3204,6 +3208,14 @@ components:
            - type: array
              items:
                $ref: '#/components/schemas/Relationship'
            - $ref: '#/components/schemas/GeoProperty'
            - type: array
              items:
                $ref: '#/components/schemas/GeoProperty'
            - $ref: '#/components/schemas/LanguageProperty'
            - type: array
              items:
                $ref: '#/components/schemas/LanguageProperty'
    Entity:
      allOf:
        - $ref: '#/components/schemas/EntityFragment'
@@ -4020,6 +4032,12 @@ components:
          - type: array
            items:
              $ref: '#/components/schemas/Relationship'
          - type: array
            items:
              $ref: '#/components/schemas/GeoProperty'
          - type: array
            items:
              $ref: '#/components/schemas/LanguageProperty'
    EntityTemporal:
      allOf:
        - $ref: '#/components/schemas/EntityTemporalFragment'
@@ -4329,7 +4347,7 @@ components:
        geometry:
          description: |
            Null if no matching GeoProperty.
          $ref: '#/components/schemas/GeoProperty'
          $ref: '#/components/schemas/Geometry'
        properties:
          description: |
            List of attributes as mandated by clause 5.2.31.
@@ -4394,6 +4412,14 @@ components:
          - type: array
            items:
              $ref: '#/components/schemas/Relationship'
          - $ref: '#/components/schemas/GeoProperty'
          - type: array
            items:
              $ref: '#/components/schemas/GeoProperty'
          - $ref: '#/components/schemas/LanguageProperty'
          - type: array
            items:
              $ref: '#/components/schemas/LanguageProperty'
      required:
        - type
    LanguageProperty:
@@ -4422,7 +4448,8 @@ components:
          type: string
          format: date-time
        datasetId:
          description: It allows identifying a set or group of property values.
          description: |
            It allows identifying a set or group of property values.
          type: string
          format: uri
      additionalProperties: