Skip to content

Commit 6e3aab2

Browse files
authored
Docs: update 115 Open Docs (#425)
* update 115 Open Docs * update 115
1 parent f076981 commit 6e3aab2

File tree

12 files changed

+83
-23
lines changed

12 files changed

+83
-23
lines changed
941 KB
Loading
933 KB
Loading
-2.53 KB
Loading
59.5 KB
Loading
-1.49 KB
Loading
65.7 KB
Loading
15.2 KB
Loading
16.5 KB
Loading

docs/guide/drivers/115_open.md

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ headerDepth: 5
2222

2323
::: tip
2424

25-
Developed using [**115 Open Platform**](https://open.115.com/)
25+
Developed using [**115 Open Platform**](https://open.115.com/)、Please use your account in a standardized manner. If you use your account illegally, you will be responsible for the consequences if it is blocked.
2626

2727
:::
2828

@@ -45,24 +45,37 @@ Developed using [**115 Open Platform**](https://open.115.com/)
4545

4646
::: warning Token leakage post-processing method
4747

48-
If the Token is accidentally leaked, you can immediately obtain a new refresh token. The previous one will become invalid. After the invalidation, the following content will be displayed:
48+
If you accidentally leak the Token, you can go to 115 Device Login Management to deauthorize the app.
4949

50-
```html
51-
failed get objs: failed to list objs: error: refresh token error, errno: 0
50+
- 115 APP:【**iOS****Android**】 version requires ≥ 35.11.0
51+
- 115 Web:**https://115.com/?mode=device_manage**
52+
53+
After invalidation, the following content will be displayed:
54+
55+
```json
56+
failed get objs: failed to list objs: code: 40140116, message: no auth
5257
```
5358

59+
An account can obtain `Refresh token` twice from the same application. After the third acquisition, the `Refresh token` obtained first will become invalid. Using the first `Refresh token` will prompt the above error.
60+
61+
![](/img/drivers/115/115_auth_b.png#light)
62+
![](/img/drivers/115/115_auth_h.png#dark)
63+
5464
:::
5565

56-
The newly obtained refresh token cannot be directly replaced in the original driver. The API interface has limited flow and cannot be refreshed continuously in a short period of time. You can only delete the original driver and add it again (if it is still prompted, wait 1 minute and try again, use a new `refresh token`)
5766

58-
```html
59-
Failed init storage but storage is already created: failed init storage: error: refresh frequently, errno: 0
60-
```
6167

62-
<br/>
68+
### **Get a refresh token using another APP ID**
69+
70+
For example, use your own developer application ID to obtain a refresh token. Before obtaining a refresh token, fill in the application`APP ID` and then click the Get Refresh Token button.
71+
72+
![](/img/drivers/115/115_b_t.png#light)
73+
![](/img/drivers/115/115_h_t.png#dark)
6374

6475

6576

77+
<br/>
78+
6679
## **Root folder ID**
6780

6881
Open the official website of 115 Cloud and click the string behind the url when you click into the folder you want to set,

docs/guide/drivers/common.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,23 @@ star: true
2020

2121
## **Mount Path**
2222

23-
Unique identifier, that is the location you want to mount to, if you want to mount to the root directory, it is `/`
23+
Unique identifier, the name displayed to the outside world, that is, the location to be mounted. If you want to mount to the root directory, it is `/`
24+
25+
![](/img/drivers/common/path_b.png#light)
26+
27+
![](/img/drivers/common/path_h.png#dark)
28+
29+
Repeated use of mount path name
30+
31+
```json
32+
Failed create storage in database: UNIQUE constraint failed: x_storages.mount_path
33+
```
34+
35+
The mount path name is not filled in
36+
37+
```json
38+
Key: 'Storage.MountPath' Error:Field validation for 'MountPath' failed on the 'required' tag
39+
```
2440

2541
<br/>
2642

0 commit comments

Comments
 (0)