survey/submit_video
Receives a video
Important: An API Key is required to work with these API Calls
Important: This API Call requires information to be sent in via POST and via FILES.
http://api.verifiapp.com/survey/submit_video/{API-KEY}/{QUESTION-ID}
You have to send a file through HTTP FILES. The field nust be called 'video' and the filename must be unique:
The PHP API is expecting to receive an array looking like this. The name is customized and must be unique. It must be auto-generated by the Android application and it must be random an unique, otherwise it would cause problems.
One question can have many videos.
Sample Successful Response
{
result: "success"
results: "Video uploaded successfully"
}
Successful Response Reference
A successful response will return the following items in a JSON array
| Preference | Description |
|---|---|
| result | success |
| results | Video uploaded successfully |
Unsuccessful Response Reference
A unsuccessful response will return the following items in a JSON array
| Preference | Description | Sample response |
|---|---|---|
| result | error | |
| error | The specific error is described in the response |