🇫🇷France @Naim BELKAIED

Account created on 25 April 2013, over 11 years ago
#

Recent comments

🇫🇷France Naim BELKAIED

Updated patch to retrieve the redirect URL corresponding to the language specified in the query parameter path.
eg : http://URL/fr/router/translate-path?path=/en/products/electronics/laptop...
response :

{
  "resolved": "http://example.com/en/products/electronics/laptops/dell-xps",
  "isHomePath": false,
  "entity": {
    "canonical": "http://example.com/en/products/electronics/laptops/dell-xps",
    "type": "node",
    "bundle": "product",
    "id": "789",
    "uuid": "def45678-abc1-2345-6789-0abcde123456",
    "langcode": "en",
    "path": "/en/products/electronics/laptops/dell-xps"
  },
  "label": "Dell XPS",
  "jsonapi": {
    "individual": "http://example.com/en/jsonapi/node/product/def45678-abc1-2345-6789-0abcde123456",
    "resourceName": "node--product",
    "pathPrefix": "en/jsonapi",
    "basePath": "/en/jsonapi",
    "entryPoint": "http://example.com/en/jsonapi"
  },
  "meta": {
  },
  "redirect": [
    {
      "from": "/en/products/electronics/laptops/dell-xps-15",
      "to": "/en/products/electronics/laptops/dell-xps",
      "status": "301"
    }
  ]
}
Production build 0.71.5 2024