adobe / spacecat-api-service

Edge Delivery services experience success as a service automation: SpaceCat + Star Catalogue
Apache License 2.0
3 stars 1 forks source link

feat: overwrites broken-backlinks #368

Closed AndreiAlexandruParaschiv closed 1 week ago

AndreiAlexandruParaschiv commented 1 week ago

https://jira.corp.adobe.com/browse/SITES-22728 Overwrite broken-backlinks

PATCH https://spacecat.experiencecloud.live/api/v1/sites/{siteId}/broken-backlinks

Request body

{
  "manualOverwrites": [
        {
        "brokenTargetURL": "https://www.a1.com",
        "targetURL": "https://www.b1.com" },
        {
        "brokenTargetURL": "https://www.c1.com",
        "targetURL": "https://www.d1.com" }
   ]
}

To remove all overwrites, send an empty array.

It will ovewrite/override the existing value (tagerURL) when the same brokenTargetURL is provided.

github-actions[bot] commented 1 week ago

This PR will trigger a minor release when merged.

AndreiAlexandruParaschiv commented 1 week ago

example:

Screenshot 2024-06-20 at 20 56 31

solaris007 commented 1 week ago

:tada: This PR is included in version 1.49.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: