Summary
Get all links.
Description
Get all links
Route
GET /external-links
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
queryOptions |
object |
yes |
The query options for searching links. |
Copied to Clipboard
{
"queryOptions": {
"multiContains": {
"name": "Google",
"address": "https://www.google.com/",
"description": "A link to Google"
},
"multiEquals": {
"name": "Google",
"address": "https://www.google.com/",
"description": "A link to Google"
},
"multiStartsWith": {
"name": "Google",
"address": "https://www.google.com/",
"description": "A link to Google"
},
"skip": 10,
"limit": 25,
"sort": "name",
"order": 1
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"queryOptions": {
"title": "queryOptions",
"type": "object",
"properties": {
"multiContains": {
"$ref": "links-query"
},
"multiEquals": {
"$ref": "links-query"
},
"multiStartsWith": {
"$ref": "links-query"
},
"skip": {
"$ref": "common-schema#/definitions/skip"
},
"limit": {
"$ref": "common-schema#/definitions/limit"
},
"sort": {
"$ref": "common-schema#/definitions/sort"
},
"order": {
"$ref": "common-schema#/definitions/order"
}
}
}
},
"required": [
"queryOptions"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The links matching the specified query. |
Copied to Clipboard
{
"results": {
"name": "Google",
"address": "https://www.google.com/",
"description": "A link to Google",
"_meta": {
"created": "2018-08-02T15:56:12.912Z",
"updated": "2018-08-02T15:56:12.912Z"
}
},
"total": 5
}