{
"type": "object",
"properties": {
"queryParameters": {
"title": "queryParameters",
"type": "object",
"properties": {
"limit": {
"type": "integer",
"description": "Number of results to return. Used for pagination.",
"default": 25,
"minimum": 0,
"examples": [
1,
10,
50
]
},
"skip": {
"type": "integer",
"description": "Number of results to skip. Used for pagination.",
"default": 0,
"minimum": 0,
"examples": [
1,
10,
50
]
},
"order": {
"type": "integer",
"description": "Sort direction, 1 for ascending and -1 for descending.",
"default": 1,
"enum": [
-1,
1
]
},
"sort": {
"type": "string",
"description": "Field to sort by",
"default": "name",
"enum": [
"name"
]
},
"include": {
"type": "string",
"description": "Inclusive projection operator formatted as a comma-delineated list. '_id' will be included implicitly unless excluded with 'exclude=_id'. May only be used in conjunction with 'exclude' when 'exclude=_id'.",
"examples": [
"name",
"description",
"name,description"
]
},
"exclude": {
"type": "string",
"description": "Exclusive projection operator formatted as a comma-delineated list. May only be used in conjunction with 'include' when 'exclude=_id'.",
"examples": [
"_id",
"description",
"_id,description"
]
},
"in": {
"description": "Search for fields exactly matching one of the given list options",
"type": "string"
},
"not-in": {
"description": "Search for fields not exactly matching one of the given list options",
"type": "string"
},
"equals": {
"description": "Returns results where the specified fields exactly match the given match string(s).",
"type": "string"
},
"contains": {
"description": "Returns results where the specified fields contain the given match string(s).",
"type": "string"
},
"starts-with": {
"description": "Returns results where the specified fields start with the given match string(s).",
"type": "string"
},
"ends-with": {
"description": "Returns results where the specified fields end in the given match string(s).",
"type": "string"
}
}
}
},
"required": [
"queryParameters"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name
Type
Description
result
object
Results for the given search parameters.
Copied to Clipboard
{
"items": [
{
"name": "test",
"gbacRead": [
"ut et do aliqua",
"non et ad adipisicing dolor"
],
"members": [],
"_id": "B94a9D21CaCaF847f3B4506C",
"description": "eiusmod enim minim",
"gbacWrite": [
"nulla ea in esse",
"sunt veniam cupidatat"
],
"version": 1
},
{
"name": "test",
"gbacRead": [
"non veniam Duis ut nostrud",
"et nostrud mollit sunt eu",
"ullamco elit",
"reprehenderit",
"in magna Ut deserunt exercitation"
],
"members": [],
"_id": "018b033FdEecaeBfDbB1C379",
"description": "mollit et proident",
"gbacWrite": [
"cillum"
],
"version": 1
},
{
"name": "test",
"gbacRead": [
"nisi aliqua dolor laborum"
],
"members": [],
"_id": "a9Fc8E0e74a3a3F1CCa50a96",
"description": "Ut ipsum dolore adipisicing officia",
"gbacWrite": [
"qui tempor ea minim consectetur"
],
"version": 1
},
{
"name": "test",
"gbacRead": [
"irure qui ullamco laborum non"
],
"members": [],
"_id": "62DDDbca2Bf414C9Bb9da541",
"description": "aliqua",
"gbacWrite": [
"cupidatat",
"ipsum mollit id exercitation officia"
],
"version": 1
},
{
"name": "test",
"gbacRead": [
"minim irure ad",
"nisi",
"est proident",
"ea est"
],
"members": [],
"_id": "b6bDe2Dab4D02CaB14dEE64F",
"description": "sint anim",
"gbacWrite": [
"enim in ut commodo"
],
"version": 1
}
],
"total": 63674632,
"start": 53971544,
"end": -75203364,
"count": 50931034,
"next": null,
"previous": null
}
Copied to Clipboard
{
"title": "result",
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "componentGroup"
}
},
"total": {
"type": "integer",
"description": "Total number of documents matching the given query parameters."
},
"start": {
"type": "integer",
"description": "Search index of first document in the items array."
},
"end": {
"type": "integer",
"description": "Search index of the last document in the items array."
},
"count": {
"type": "integer",
"description": "Length of the items array."
},
"next": {
"type": [
"string",
"null"
],
"description": "URI pointing to the next set of paginated results. Preserves previous search and projection parameters. Null if returning the last page of results."
},
"previous": {
"type": [
"string",
"null"
],
"description": "URI pointing to the previous set of paginated results. Preserves previous search and projection parameters. Null if returning the first page of results."
}
}
}