Configuration - Outputs
Type: Array of Object.Each item in this array must match one of the following definitions.
An output defines the output format of the data, how to search for it, and any relationship between it.
Example:
JSON Object
Type: Object
This output produces a JSON document whose root is an object containing all the properties fetched from the input. The object is found in the input by filtering the specified parameters. Objects from any input can also be embedded as a relationship.
Examples:
Properties:
name
Type: String
The name of this output, which any other component will use to refer to it.
type
Must have the value:
"jsonObject"
input
Type: String
The name of the input from which the data will be fetched.
parameters
Type: Object
relationships (optional)
Type: Object
JSON Array
Type: Object
This output produces a JSON array whose items are objects fetched from the input. The objects are found in the input by filtering the specified parameters. Objects from any input can also be embedded as a relationship. There is an always-enabled and configurable paging to this array.
Examples:
Properties:
name
Type: String
The name of this output, which any other component will use to refer to it.
type
Must have the value:
"jsonObject"
input
Type: String
The name of the input from which the data will be fetched.
limit (optional)
Type: Object
Configuration of the paging limit.
Properties:
default (optional)
Type: Integer
Default value: 100
The default number of items per page
max (optional)
Type: Integer
Default value: 1000
The maximum allowed number of items per page
parameter (optional)
Type: String
Default value: "limit"
The name of the parameter used to define the page size.
offset (optional)
Type: Object
Configuration of the paging offset.
Properties:
parameter (optional)
Type: String
Default value: "offset"
The name of the parameter used to define the paging offset.
parameters
Type: Object
relationships (optional)
Type: Object