Summary
Update a link.
Description
Create a link
Route
POST /external-links
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
link |
object |
yes |
The link to create. |
Copied to Clipboard
{
"link": {
"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"
}
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"link": {
"title": "link",
"$ref": "links-schema"
}
},
"required": [
"link"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
Result of link creation process. |
Copied to Clipboard
{
"status": "OK",
"message": "A sample success message",
"data": {
"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"
}
}
}