Commit 5bb0413e authored by daniel-gonzalez-sanchez's avatar daniel-gonzalez-sanchez
Browse files

Adding the count query parameter and NGSILD-Results-Count HTTP header for 200...

Adding the count query parameter and NGSILD-Results-Count HTTP header for 200 response within GET /temporal/entities operation as stated by clause 6.3.13 Counting Number of Results in ETSI GS CIM 009 V1.7.1.
parent 0dc23695
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -1844,6 +1844,7 @@ paths:
        - $ref: '#/components/parameters/Query.aggrPeriodDuration'
        - $ref: '#/components/parameters/Query.aggrPeriodDuration'
        - $ref: '#/components/parameters/Query.scopeQ'
        - $ref: '#/components/parameters/Query.scopeQ'
        - $ref: '#/components/parameters/Query.limit'
        - $ref: '#/components/parameters/Query.limit'
        - $ref: '#/components/parameters/Query.count'
        - $ref: '#/components/parameters/Query.options.temporal'
        - $ref: '#/components/parameters/Query.options.temporal'
        - $ref: '#/components/parameters/Query.options.sysAttrs'
        - $ref: '#/components/parameters/Query.options.sysAttrs'
        # Local Query param
        # Local Query param
@@ -1858,6 +1859,8 @@ paths:
          headers:
          headers:
            NGSILD-Tenant:
            NGSILD-Tenant:
              $ref: '#/components/headers/NGSILD-Tenant'
              $ref: '#/components/headers/NGSILD-Tenant'
            NGSILD-Results-Count:
              $ref: '#/components/headers/NGSILD-Results-Count'
          content:
          content:
            application/json:
            application/json:
              schema:
              schema: