Skip to main content

 Services

Web services from /about to /webhooks

merge externaluri

/members/{member}/externaluris/{uri}/merge [POST]

Description

Merge an external URI into this one.

Moves the specified URL's current incoming links (reverse xrefs) and unarchived discussions to this external URI and archives the URL. This can be useful to merge a http URL into its corresponding https URL.

Parameters

NameDescriptionRequiredTypeDefault value
urlthe URL to move links/discussions fromyesurl

Permission

This service requires contributor or higher in a group with edit all URLs permission.

Response

The output has the following format where @links and @discussions are the number of links and discussions that were moved:

 <uri-merge links="12" discussions="23">
   <uri id="[id]" path="[path]" ...>
     <displaytitle>[title]</displaytitle>
     ...
   </uri>
 </uri-merge>

Error handling

No specific errors expected for this generator.

Created on , last edited on