Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-4727

Return internal link in _links.site property

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 14.2.0
    • None
    • None
    • 0.1
    • Puma Sprint 227, Puma Sprint 228-SaaS BrX v0.2

    Description

      In order to fix inconsistency and provide better integration on the SPA SDK side, we need to update `_links.site` Page Model API property.

      Requirements:

      • Return relative link in `href` property.
      • Return query string parameters.
      • Resolve wildcard URLs.
      • Return `"type": "internal"`.

      Example:
      Before:

      "_links": {
        "site": {
          "href": "http://127.0.0.1:9080/site/_cmsinternal/spa-react-csr/news/_default_/_index_"
        }
      }
      

      After:

      "_links": {
        "site": {
          "href": "/news/2015?bloomreach-preview=true",
          "type": "internal"
        }
      }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mdokolin Mikhail Dokolin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: