POST
/
remote-upload
curl --request POST \
  --url https://moonshine-edge-compute.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
required

URL of the video file to upload

Response

200
text/event-stream
Stream of upload status updates
data
object