Logotype Sitevision Developer
Log in
Log in

TagTimelineEntries REST API endpoint

Disclaimer: This endpoint documentation is generated from the latest Sitevision version. It might differ from the actual Sitevision environment where your website resides.

Use the RestApi utility of the Public API for server-side access of this endpoint.

TagTimelineEntries

Get timeline entries for a tag (#).

Applicable to: sv:tag.

GET

Returns an array of objects containing timeline entries for a sv:tag.

Requirements

  • Requires the feature "social collaboration" and that social collaboration is enabled on the sv:site.

Permissions

  • Requires that the caller is authorized to READ on the sv:site.
  • Only entries that the caller is allowed to view will be retrieved.

Parameters

Name Type Default Values Description
skip number 0 Any positive value Skips leading number of entries.
limit number 10 1 - 50 Limits the number of entries to return.
offsetEntryId string From which point to retrieve following entries.
messageFormat String HTML HTML, PLAIN, JSON, JSON_TREE, MARKDOWN The data format for the message in the returned result (JSON_TREE since 2024.02.1, MARKDOWN since 2024.11.1).

Legacy note! MARKDOWN is not applicable for entries stored in the legacy format used prior to 2024.02.1! Using MARKDOWN for such entries will result in the message being returned in HTML format instead.

escapeMessage boolean false HTML escape the message in the returned result (not applicable when messageFormat is PLAIN or MARKDOWN).

Example URL

402.95b3be916257bc215c2fd/tagtimelineentries

Example input

{
   "messageFormat": "JSON"
}

Example response

[
   {
      "id": "420.95b3be916257bc215c3f6",
      "creationDate": 1521891132679,
      "type": "entry",
      "author": {
         "id": "400.95b3be916257bc215c3ea",
         "fullName": "Jane Doe",
         "disabled": false,
         "BuddyIconSize_SMALL": "/images/200.95b3be916257bc215c3f4/1521891117530/dog.jpeg",
         "BuddyIconSize_LARGE": "/images/200.95b3be916257bc215c3f5/1521891117549/dog.jpeg",
         "BuddyIconSize_X_LARGE": "/images/200.95b3be916257bc215c3f6/1521891117564/dog.jpeg"
      },
      "isEditable": true,
      "isRemovable": true,
      "isBookmarkableInGroup": false,
      "isBookmarkable": true,
      "isLikable": true,
      "isSharable": true,
      "isCommentable": true,
      "message": [
         {
            "type": "tag",
            "tag": "402.410e5d5f17917bf8f856be",
            "tagPageUrl": "/profilsida/aktivitetsflodeforetikett.4.410e5d5f17917bf8f8566d.html",
            "name": "sitevision"
         }
      ],
      "isModified": false,
      "likesCount": 0,
      "commentsCount": 0,
      "userLikes": false,
      "entryOwner": {
         "id": "401.95b3be916257bc215c3c0",
         "displayName": "Sitevision-gruppen",
         "URL": "/704.95b3be916257bc215c3b7.html"
      }
   }
]
Did you find the content on this page useful?