POST https://cms.thepublive.com/publisher/{publisher_id}/media-library/
Creates a new media entry in the library.
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| username | string | Yes | API Key |
| password | string | Yes | API Secret |
| Content-Type | string | Yes | application/json |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
filename* | string | Yes | Filename |
path* | string | Yes | Media URL |
alt_text | string | No | Alt text for accessibility |
caption | string | No | Caption/description |
source | string | No | Source/credit |
type | string | No | Image, Video, or File |
meta_data | object | No | Metadata (width, height, etc.) |
Example Request
- 200: OK