Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This API endpoint allows you to edit and update information associated with an existing media asset within an article. It provides the ability to modify attributes such as captions, CMS-related details, publication information, and timestamp.

articleId

A unique ID for the article where the media is used.

caption

The caption or description presented together with the media.

cmsId

A unique ID for the article where the media is used, provided by your CMS, if applicable.

cmsKey

Serves as an identifier or reference within your CMS environment.

cmsUrl

The URL to access the specific article within your CMS.

pageNumber

For referring to a page number in print or e-paper.

publication

The display name of the publication where the article is found.

publicationKey

Serves as an identifier or reference to distinguish multiple publications.

publishedUrl

The URL of the published article where the media is used.

timestamp

When the article was published together with the asset in a valid timestamp format, if not provided, the time of import will automatically be applied.

TO DO:

Best practise / eksempel (kombinerer cmsId, key, url)

Limitations

Notes:

  • Ensure that you have proper authentication and authorization mechanisms in place for this POSTrequest.

  • Validate the request body to ensure it meets the required format and data integrity.

  • Consider handling potential errors, such as an invalid media ID or missing required fields, with appropriate error responses and status codes.

  • No labels