ExternalLink Data Type

REST Model for an external Link

Properties
name data type constraints description
id number required int ID
contentId number required int ID of the content containing the external link
contenttagId number required int ID of the contenttag containing the external link
contenttagName string   Name of the contenttag
valueId number required int ID of the value containing the external link
partName string   Name of the part
url string   URL of the external link
text string   Link text
lastCheckTimestamp number required int Timestamp of the last validity check (0 if never checked)
lastStatus ExternalLinkStatus   Last check status
lastReason string   Last failure reason
history array of ExternalLinkCheckHistoryEntry   History of last 5 validity checks

Example

{
  "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"
  } ]
}