Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Payload Filter Format 
Anchor
payloadFilterFormat
payloadFilterFormat

The filter data can be provided on any filtered, using JSON format, on one  field at any level, but it is important to provide the entire path from the root. The below mention JSON is used as an example to explain the filtering format

...

The filtering scenarios and the format to be used for each is are defined below:

NoType of fieldFilter ConditionTo be searchFormat
1Top-level field FieldidNearRTRIC

{ "idNearRTRIC": "1"}

2Nested FieldnestedObject → id{ "nestedObject" : {"attributes" :  {"gNBDUId": 4.0 }} }
3valueValue(s) in a collectionlabels

{ "labels": ["cps"] }

4field Field of an object inside a collectionGNBDUFunction → idGNBDUFunction

{ "GNBDUFunction" : [ {"idGNBDUFunction" : 5 }]  }

Proposed APIs

Currently, we are not supporting all The GET Endpoints URIs depends on the CPS datatype and rest of the filtering criteria defined in the overview.  The supported ones are defined below and are passed as query parameter. The supported query parameters are

  1. after - timestamp ( ISO Format) to consider data created after the specified Timestamp
  2. payload - to define payload filtering criteria
  3. index - to define the page number (required for pagination)
  4. maxSize - to limit the response size
  5. pointInTime - to consider data changed or added before this time.
  6. sortBy - to define the order of data in the result set

The response format for all GET APIs endpoints is the same and defined here

...