Midiacode icon

Midiacode

Consume Midiacode API

Actions8

Content → Update Link

AI-generated

Summary

Update content link data

Inputs

  • workspaceIdBody (required) — The ID of the workspace
  • contentId (required) — The ID of the content
  • url — New link URL
  • description — Updated link description
  • collectible — Whether the link is collectible
  • embeddedOnMobileApp — Whether the link is embedded on the mobile app
  • private — Whether the link is private
  • recommended — Whether the link is recommended
  • shareable — Whether the link is shareable
  • skipContentCover — Whether to skip content cover
  • version — Version identifier for the link
  • requestOptions — Collection of request configuration options (batching, SSL, proxy, timeout)

Output shape

updated content link record

PATCH request to /public/content/{{contentId}}/link/ updates link fields and returns the updated link object; no error envelope is returned on success.

Examples

Example 1: Update link URL and description

workspaceIdBody=123&contentId=456&url=https://newlink.com&description=Updated%20link

Example 2: Mark link as recommended and private

workspaceIdBody=123&contentId=456&recommended=true&private=true

Discussion