Add optional observed timestamp in the cps data api
[cps.git] / cps-rest / src / main / resources / static / components.yml
index 51a49a6..75a6f99 100644 (file)
@@ -158,6 +158,14 @@ components:
       schema:
         type: boolean
         default: false
+    observedTimestampInQuery:
+      name: observed-timestamp
+      in: query
+      description: observed-timestamp
+      required: false
+      schema:
+        type: string
+        example: '2021-03-21T00:10:34.030-0100'
 
   responses:
     NotFound: