Skip to main content
POST
/
remote-upload
cURL
curl --request POST \
  --url https://api.usemoonshine.com/remote-upload \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "abc123",
  "index": "xyz789",
  "url": "https://example.com/video.mp4"
}
'
{
  "data": {
    "type": "metadata",
    "fps": "<string>",
    "duration": 123,
    "fileSize": "<string>",
    "key": "<string>",
    "percentage": 50
  }
}

Body

application/json
token
string
required

Authentication token

index
string
required

Index identifier for the media group

url
string<uri>
required

URL of the video file to upload

Pattern: ^http.*\.(mp4|mov|webm)$

Response

Stream of upload status updates

data
object