Response containing information about an external link
| name | data type | constraints | description |
|---|---|---|---|
| link | ExternalLink | External link | |
| page | number | required int | Number of occurrences of the URL in the page |
| node | number | required int | Number of occurrences of the URL in the node |
| global | number | required int | Number of global occurrences of the URL |
Properties inherited from GenericResponse |
|||
| messages | array of Message | Messages contained in the response (which should be shown to the user) | |
| responseInfo | ResponseInfo | ||
Example
{
"link" : {
"id" : 8,
"contentId" : 115,
"contenttagId" : 685,
"contenttagName" : "gtxalohapagelink2",
"valueId" : 2859,
"partName" : "URL",
"url" : "https://totally.invalid.url/",
"text" : "Webshop",
"lastCheckTimestamp" : 1591693475,
"lastStatus" : "invalid",
"lastReason" : "unknown host",
"history" : [ {
"timestamp" : 1591693475,
"status" : "invalid",
"reason" : "unknown host"
}, {
"timestamp" : 1591693475,
"status" : "invalid",
"reason" : "unknown host"
} ]
},
"page" : 1,
"node" : 3,
"global" : 17,
"messages" : [ { }, { } ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
}
}