Base-URL for our API is http://upvid.co/api
All requests to the API shall be HTTP/1.1 GET
Please make sure to use the API with https only.
Most requests require a API Login & API Key, you can find both in the User Panel at the "User Settings" Tab.
Response is json, structure is as follows:
200: Everything is OK. Request succeeded
400: Bad request (e.g. wrong parameters)
403: Permission denied (wrong api login/key, action on a file which does not belong to you, ...)
404: File not found
451: Unavailable For Legal Reasons
509: Bandwidth usage exceeded. Please try again later or use Browser Download. (you might see this during peak hours)
50x: Server errors. You should not see this, but be prepared.
This message gives more detailed information in case there is an error.
You can use this for displaying it to the user, but please don't use it for checking if the request succeeded. That's what the status code is for.
holds the response of the request if succeeded. Might hold an array of data or just a boolean true/false, depending on the request
account related (username, money)
Request ParametersName | Description | Example | Required |
---|---|---|---|
login | API-Login | 5147a8f8e924bc82 | yes |
Get an Upload URL
Request ParametersName | Description | Example | Required |
---|---|---|---|
key | API-Key | Fa89_X13 | yes |
url | url-file to upload to | http://clips.vorwae...bunny.mp4/ | yes |
folder | save file in folder, if folder not exist will be created | name_folder | no |
Get status Upload URL
Request ParametersName | Description | Example | Required |
---|---|---|---|
key | API-Key | Fa89_X13 | yes |
id | ID Queue URL Upload | queue_id | yes |
Name | Description | Example | Required |
---|---|---|---|
key | API-Key | Fa89_X13 | yes |
date | Set date you prefer | YYYY-MM-DD | no |
order | Set order to return, default is down | up or down | no |