@@ -4,163 +4,6 @@ Streamtape is a service used for storing media with size up to 15GB.
4
4
## Getting started
5
5
To use the API, you will need a Streamtape account and the API credentials.
6
6
You can get those at from https://streamtape.com/accpanel#accsettings
7
- Here is the list of functions you can use with this API:
8
7
9
- ## Account
10
- ** account_info** : returns information about your account
11
- ```
12
- {
13
- "status": 200,
14
- "msg": "OK",
15
- "result": {
16
- "apiid": "<your api key>",
17
-
18
- "signup_at": "2019-12-31 23:59:59",
19
- }
20
- }
21
- ```
22
-
23
- ## Stream
24
- ** get_download_ticket** : returns a ticket which is needed to get a download link for a certain file
25
- ```
26
- {
27
- "status": 200,
28
- "msg": "OK",
29
- "result": {
30
- "ticket": "wg8ad12d3QiJRXG~~1585532987430~n~~0~q75Z2aJg-TYfQgxz8",
31
- "wait_time": 10,
32
- "valid_until": "2019-12-31 23:59:59"
33
- }
34
- }
35
- ```
36
-
37
- ** get_download_link** : returns a download link for a file
38
- ```
39
- {
40
- "status": 200,
41
- "msg": "OK",
42
- "result": {
43
- "name": "Vlog1220-Sidney.mp4",
44
- "size": 12345,
45
- "url": "https://tapecontent.net/Vlog1220-Sidney.mp4",
46
- }
47
- }
48
- ```
49
-
50
- ** check_file** : returns information about a file
51
- ```
52
- {
53
- "status": 200,
54
- "msg": "OK",
55
- "result": {
56
- "wg8ad12d3QiJRXG3": {
57
- "id": "wg8ad12d3QiJRXG3",
58
- "name": "MyMinecraftLetsPlay.mp4",
59
- "size": 1234,
60
- "type": "video/mp4",
61
- "converted": true,
62
- "status": 200
63
- },
64
- "ag8ad12d3QiJRXG4": {
65
- "id": "ag8ad12d3QiJRXG5",
66
- "name": "OutfitOfTheDay21.mp4",
67
- "size": 12346,
68
- "type": "video/mp4",
69
- "converted": true,
70
- "status": 200
71
- },
72
- "bg8ad12d3QiJRXG9": {
73
- "id": "bg8ad12d3QiJRXG9",
74
- "name": "Travel with Me - Episode 128",
75
- "size": 1234567,
76
- "type": "video/mp4",
77
- "converted": true,
78
- "status": 200
79
- },
80
- "yg8ad12d3QiJRXG1": {
81
- "id": "yg8ad12d3QiJRXG1",
82
- "name": "Reaction Video",
83
- "size": 12345,
84
- "type": "video/mp4",
85
- "converted": true,
86
- "status": 200
87
- },
88
- }
89
- }
90
- ```
91
-
92
- ## Upload
93
- ** upload** : uploads a file from your computer
94
-
95
- ## Remote upload
96
- ** add_remote_upload** : adds a remote upload from a URL
97
- ```
98
- {
99
- "status": 200,
100
- "msg": "OK",
101
- "result": {
102
- "id": "rbAarvRPXdYbaxY",
103
- "folderid": "LnvnE51P5gc"
104
- }
105
- }
106
- ```
107
-
108
- ** remove_remote_upload** : removes a remote upload when given upload ID (use 'all' instead of the ID to remove all the uploads)
109
- ```
110
- {
111
- "status": 200,
112
- "msg": "OK",
113
- "result": true
114
- }
115
- ```
116
-
117
- ** check_remote_upload_status** : returns the status of a remote upload when given upload ID
118
- ```
119
- {
120
- "status": 200,
121
- "msg": "OK",
122
- "result": {
123
- "LnvnE51P5gc": {
124
- "id": "LnvnE51P5gc",
125
- "remoteurl": "https://vid.me/myvideo123",
126
- "status": "new",
127
- "bytes_loaded": null,
128
- "bytes_total": null,
129
- "folderid": "LnvnE51P5gc",
130
- "added": "2019-12-31 23:59:59",
131
- "last_update": "2019-12-31 23:59:59",
132
- "extid": false,
133
- "url": false
134
- },
135
- }
136
- }
137
- ```
138
-
139
- ## File / folder management
140
- ** folder_content** : returns the content of your root folder
141
- ** subfolder_content** : returns the content of a folder when given folder ID
142
- ```
143
- {
144
- "status": 200,
145
- "msg": "OK",
146
- "result": {
147
- "folders": [
148
- {
149
- "id": "B-qlJkdHFeo",
150
- "name": "Subfolder"
151
- }
152
- ],
153
- "files": [
154
- {
155
- "name": "MyMinecraftLetsPlay.mp4",
156
- "size": 7040842,
157
- "link": "https://streamtape.com/v/rbAarvRPXdYbaxY/MyMinecraftLetsPlay.mp4",
158
- "created_at": 1585532987430,
159
- "downloads": 0,
160
- "linkid": "rbAarvRPXdYbaxY",
161
- "convert": "converted"
162
- }
163
- ]
164
- }
165
- }
166
- ```
8
+ ## Documentation
9
+ You can find the whole documentation here: https://streamtape.com/api
0 commit comments