aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRenu Kumari <renu.kumari@bell.ca>2021-07-28 00:07:41 -0400
committerRenu Kumari <renu.kumari@bell.ca>2021-08-04 08:37:43 -0400
commitc2b5e8523d874302d0f3c7f042d23bacf6d856a3 (patch)
treefda208cb97c2e5dec3efad1ed1fcd40766214749 /docs
parent704b80f4948499e0d6ff1c537825ed08fff6227f (diff)
Fetch data filtered by Search criteria
Implemented Service and repository layer Issue-ID: CPS-375 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: Iedac0e48b2391a60f3eb9ab710ccdff0c9185407
Diffstat (limited to 'docs')
-rw-r--r--docs/api/swagger/openapi.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/api/swagger/openapi.yml b/docs/api/swagger/openapi.yml
index 9a133a3..cde25a8 100644
--- a/docs/api/swagger/openapi.yml
+++ b/docs/api/swagger/openapi.yml
@@ -51,7 +51,7 @@ paths:
required: true
schema:
type: string
- - $ref: '#/components/parameters/after'
+ - $ref: '#/components/parameters/observedTimestampAfter'
- $ref: '#/components/parameters/simplePayloadFilter'
- $ref: '#/components/parameters/pointInTime'
- $ref: '#/components/parameters/pageNumber'
@@ -97,7 +97,7 @@ paths:
required: true
schema:
type: string
- - $ref: '#/components/parameters/after'
+ - $ref: '#/components/parameters/observedTimestampAfter'
- $ref: '#/components/parameters/simplePayloadFilter'
- $ref: '#/components/parameters/pointInTime'
- $ref: '#/components/parameters/pageNumber'
@@ -136,10 +136,10 @@ components:
required: true
schema:
type: string
- after:
- name: after
+ observedTimestampAfter:
+ name: observedTimestampAfter
in: query
- description: Fetch data after <br/> Format - 'yyyy-MM-ddTHH:mm:ss.SSSZ'
+ description: Fetch data with observed timestamp after <br/> Format - 'yyyy-MM-ddTHH:mm:ss.SSSZ'
required: false
schema:
type: string
@@ -184,7 +184,7 @@ components:
required: false
schema:
type: string
- default: timestamp:desc
+ default: observed_timestamp:desc
description: "Sort by timestamp in 'asc' or 'desc' order. Supported values: <br/> timestamp:desc<br/>timestamp:asc"
responses:
BadRequest: