Submit Media

POST SUBMIT MEDIA

The /upload submit resource allows callers to submit media for moderation to a specific Fanreel. This endpoint supports both content that has been uploaded through the /upload bytes route, as well as direct URLs to the media content.

https://edge.curalate.com/v1/upload/:dataSourceId/submit

Parameters

None

Body

NameTypeDescriptionExample
mediaContainerTypestringThe container typeFanreel, Like2Buy etc.
mediaContainerIdstringThe container IdentifierqTd2wLmh etc.
displayNamestringThe content author's name.Shippy Squirrel
emailAddressstringThe content author's email[email protected]
emailOptInbooleanUnused. Set this to false.false
medialist of JSON objects1 or more media objects. See field details below. note: Use either URL or curalateMediaId, not both.
media.captionstringCaption associated with the image."Shippy loves Social Commerce"
media.typestringSet this to Image.Image
media.urlstringPublicly accessible URL of the image.
media.curalateMediaIdstringThe id returned in the result of the POST Upload Media call.

Sample Request Body

{
    "mediaContainerType": "Fanreel",
    "mediaContainerId": "myreel",
    "displayName": "Aaron A. Aaronson",
    "emailAddress": "[email protected]",
    "emailOptIn": false,
    "media": [
        {
            "type": "Image",
            "curalateMediaId": "YwBM0ugTukDSR5ZN98Uq1WhuaVE70wFnVh1XNAO1SCA=",
            "caption": "Submit image that was previously uploaded via POST upload byte"
        },
        {
            "type": "Image",
            "url": "https://edge.curalate.com/v1/img/YwBM0ugTukDSR5ZN98Uq1WhuaVE70wFnVh1XNAO1SCA=",
            "caption": "Submit image via publicly accessible URL"
        }
    ]
}