Update Media

This endpoint requires authentication with a JWT token or API key.

POST https://api.instantuploader.com/media

Example: /media/?contentUid=00273d24f34295j67bd17dc189

Query Parameters

Name
Type
Description

contentUid*

String

UID of the parent content

Request Body

Name
Type
Description

fileName*

String

File's name

alt

String

Alt of Media

caption

String

Caption of media

description

String

Description of media

favorite

Boolean

Is favorite true / false

isMediaSourceMobileApp

Boolean

Is created via mobile true / false

mediaTitle

String

Title of media

{
    "alt": "test",
    "caption": "test",
    "description": "test",
    "favorite": true,
    "isMediaSourceMobileApp": true,
    "mediaTitle": "test",
    "thumb": "https://firebasestorage.googleapis.com/v0/b/profolio-instantuploader-1ab31.appspot.com/o/image%2Fthumb%2Fba415d4e-7ecf-4986-a87c-d076891ae746_1576840611-aptitude-test-1_200x200.png?alt=media&token=ba415d4e-7ecf-4986-a87c-d076891ae746",
    "size": 146164,
    "url": "https://firebasestorage.googleapis.com/v0/b/profolio-instantuploader-1ab31.appspot.com/o/image%2Fba415d4e-7ecf-4986-a87c-d076891ae746_1576840611-aptitude-test-1.png?alt=media&token=ba415d4e-7ecf-4986-a87c-d076891ae746",
    "name": "1576840611-aptitude-test-1.png",
    "type": "image/png"
}

Last updated