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.
| A unique ID for the article where the media is used. |
| The caption or description presented together with the media. |
| A unique ID for the article where the media is used, provided by your CMS, if applicable. |
| Serves as an identifier or reference within your CMS environment. |
| The URL to access the specific article within your CMS. |
| For referring to a page number in print or e-paper. |
| The display name of the publication where the article is found. |
| Serves as an identifier or reference to distinguish multiple publications. |
| The URL of the published article where the media is used. |
| 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
POST
request.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.