POST /v4/media/create-link
(Last updated: 20/12/2024)
Access to this feature is restricted and depends on your subscription type.
Request
Method
POST
URL
https://api.medipim.be/v4/media/create-link
Headers
Body
-
data
:published
: Whether or not the media item is published. (boolean, optional)linkType
: Link type. ("app"
,"brochure"
,"video"
,"website"
, required)url
: Url for the link (string, required)locales[]
: List of languages for which this media is suited. (string[], required)targetGroups[]
: List of target groups for which this media is suited. (string[], required)name.{...}
: Name of the link (string, required, localized)description.{...}
: Description of the link (string, optional, localized)availableFrom
: When the media is available. (unix timestamp, required)availableUntil
: The last time the media is available. (unix timestamp, optional)
products[]
: List of Medipim product IDs (string[], optional)
Response
Body
-
mediaItem
:id
, ... : media information (same as media query results)