Update
Method: POST
URL: https://www.wellcomemat.com/api/media/update.php
Notes:
-
If you specify
customid
but nohash
, the video will be queried based oncustomid
. -
If you specify both a
customid
andhash
, the video identified byhash
will have itscustomid
updated. -
To replace a video, use the Upload request instead.
Parameters
Key | Type | Description |
---|---|---|
key | text | {{key}} |
secret | text | {{secret}} |
hash | text | Media Hash |
customid | text | Custom/Listing ID. A Custom ID is a unique code you can use to more easily identify your video when connecting to WellcomeMat via our API. [Limit 256 characters] |
title | text | [Limit 100 characters] |
description | text | [Limit 1500 characters] |
keywords | text | Comma separated by keyword or phrase
|
imagehash | text | This needs to refer to an image already assigned to this media |
traffic_url | text |
|
distribute | text | Distribute to Service
|
default_photo | file | Default Photo
|
Response
type MediaUpdateResponse = {
success: 0 | 1 | "1";
error: string;
warnings: string | string[];
media?: Media;
};