Add 3 information
parent
d93d2f7f5f
commit
e2b3a548b3
|
@ -0,0 +1,50 @@
|
|||
# [Box](https://developer.box.com/)
|
||||
|
||||
## __Description__
|
||||
File Sharing and Storage
|
||||
|
||||
## __Example Request__
|
||||
* Curl
|
||||
```
|
||||
curl -X GET "https://api.box.com/2.0/collections" -H "Authorization: Bearer {{token}}"
|
||||
```
|
||||
|
||||
* Raw
|
||||
```
|
||||
GET /2.0/collections HTTP/1.1
|
||||
Host: api.box.com
|
||||
Authorization: Bearer {{token}}
|
||||
```
|
||||
|
||||
## __Response__
|
||||
* Success
|
||||
```
|
||||
{
|
||||
"total_count":1,
|
||||
"limit":100,
|
||||
"offset":0,
|
||||
"entries":[{
|
||||
"type":"collection",
|
||||
"name":"Favorites",
|
||||
"collection_type":
|
||||
"favorites",
|
||||
"id":"8830329105"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
* Error
|
||||
```
|
||||
|
||||
```
|
||||
> No output if error
|
||||
|
||||
## __Regex__
|
||||
```
|
||||
[a-zA-Z0-9]{32}
|
||||
```
|
||||
|
||||
## __Example API key__
|
||||
```
|
||||
OF3ab02f3cD12lDOfxc3foSg129sD241
|
||||
```
|
|
@ -0,0 +1,60 @@
|
|||
# [Dropbox](https://www.dropbox.com/developers)
|
||||
|
||||
## __Description__
|
||||
File Sharing and Storage
|
||||
|
||||
## __Example Request__
|
||||
* Curl
|
||||
```
|
||||
curl -X POST https://api.dropboxapi.com/2/check/user \
|
||||
--header 'Authorization: Bearer {{token}}' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data '{}'
|
||||
```
|
||||
|
||||
* Raw
|
||||
```
|
||||
POST /2/check/user HTTP/1.1
|
||||
Host: api.dropboxapi.com
|
||||
Authorization: Bearer {{token}}
|
||||
Content-Type: application/json
|
||||
Content-Length: 2
|
||||
|
||||
{}
|
||||
```
|
||||
|
||||
## __Response__
|
||||
* Success
|
||||
```
|
||||
{
|
||||
"result": ""
|
||||
}
|
||||
```
|
||||
* Error
|
||||
```
|
||||
{
|
||||
"error": {
|
||||
".tag": "invalid_access_token"
|
||||
},
|
||||
"error_summary": "invalid_access_token/"
|
||||
}
|
||||
```
|
||||
|
||||
## __Regex__
|
||||
```
|
||||
sl.[a-zA-Z0-9_-]{136}
|
||||
```
|
||||
|
||||
## __Example API key__
|
||||
```
|
||||
sl.ONOIUgObmbrgsga1kBI-q4NrS_R2cplbTe6zF9ImkQbiR7reMEke4Pcc_hhDtj7uGeEwGB5RmDKQrYclvhvQOkcPBWHRtkBqVabX5_gEhM-y_ZkXDtTQmUrK8gVq8j8YIIl9w8_B
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
If berhasil:
|
||||
|
||||
|
||||
If gagal:
|
|
@ -0,0 +1,54 @@
|
|||
# [ddownload](https://ddownload.com/api)
|
||||
|
||||
## __Description__
|
||||
File Sharing and Storage
|
||||
|
||||
## __Example Request__
|
||||
* Curl
|
||||
```
|
||||
curl "https://api-v2.ddownload.com/api/account/info?key={{token}}"
|
||||
```
|
||||
|
||||
* Raw
|
||||
```
|
||||
GET /api/account/info?key={{token}} HTTP/1.1
|
||||
Host: api-v2.ddownload.com
|
||||
```
|
||||
|
||||
## __Response__
|
||||
* Success
|
||||
```
|
||||
{
|
||||
"msg":"OK",
|
||||
"server_time":"2021-11-20 14:22:50",
|
||||
"status":200,
|
||||
"result":{
|
||||
"storage_left":"inf",
|
||||
"premium_traffic_left":0,
|
||||
"email":"example@gmail.com",
|
||||
"premium_expire":"2021-11-20 14:22:10",
|
||||
"balance":"0.00000",
|
||||
"traffic_used":"0",
|
||||
"traffic_left":"0",
|
||||
"storage_used":null
|
||||
}
|
||||
}
|
||||
```
|
||||
* Error
|
||||
```
|
||||
{
|
||||
"msg":"Wrong auth",
|
||||
"server_time":"2021-11-20 14:25:18",
|
||||
"status":403
|
||||
}
|
||||
```
|
||||
|
||||
## __Regex__
|
||||
```
|
||||
[a-z0-9]{22}
|
||||
```
|
||||
|
||||
## __Example API key__
|
||||
```
|
||||
of3ab02f3xd12ldofxc3fo
|
||||
```
|
Loading…
Reference in New Issue