Call options are query parameters that are not translated. These are generally metadata on the request. Some examples include page or page_size.
- The call option object is converted to a querystring by the Adapter libraries and appended to the call.
Example: Request Options
const reqObj =
payload: { garbage: 'need since post' },
uriPathVars: [groupId, deviceId],
uriQuery: { name: 'anyname' },
uriOptions: { page: 2 },
addlHeaders: { audit: 'turnOn' },
authData: { domain: 'abc' },
callProperties: {
stub: true,
request: {
attempt_timeout = 60000
}
},
filter: '[*name=doggie]',
priority: 1,
event: 'giveMeMyData'
};
"/api/v1/devices/{pathv1}/interface/{pathv2}?{query}"
is replaced with
"/api/v1/devices/grp123/interface/dev123?name=anyname&page=2"