Skip to content

Commit 019c061

Browse files
anwen-anyixhofe
andauthored
add ali-token img (#160)
* update Docs * add ali-token img * add ali-open * fix s3 and ali-open * Update request.md --------- Co-authored-by: Andy Hsu <[email protected]>
1 parent f402543 commit 019c061

File tree

5 files changed

+125
-0
lines changed

5 files changed

+125
-0
lines changed
30.4 KB
Loading
48 KB
Loading
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
# This is the icon of the page
3+
icon: state
4+
# This control sidebar order
5+
order: 3
6+
# A page can have multiple categories
7+
category:
8+
- Guide
9+
# A page can have multiple tags
10+
tag:
11+
- Storage
12+
- Guide
13+
# this page is sticky in article list
14+
sticky: true
15+
# this page will appear in starred articles
16+
star: true
17+
---
18+
19+
# Aliyundrive Open
20+
21+
:::tip
22+
23+
Ali cloud disk open, using the official authorization API document development.
24+
25+
:::
26+
27+
## refresh token
28+
29+
Go to:**https://alist.nn.ci/tool/aliyundrive/request**
30+
31+
#### Get example graph
32+
33+
**refresh_token** can be obtained in the following two ways
34+
35+
:::tabs#alitoken
36+
37+
@tab Go to login
38+
39+
![token](/img/drivers/aliyun/token1.png)
40+
41+
@tab Scan QrCoden
42+
43+
![token](/img/drivers/aliyun/token2.png)
44+
45+
:::
46+
47+
48+
49+
### Root folder file_id
50+
51+
Open the official website of Aliyundrive and click the string behind the url when you click into the folder you want to set, such as https://www.aliyundrive.com/drive/folder/5fe01e1830601baf774e4827a9fb8fb2b5bf7940
52+
53+
which is `5fe01e1830601baf774e4827a9fb8fb2b5bf7940`
54+
55+
![file_id](/img/drivers/aliyundrive.png)
56+
57+
58+
59+
### Client id,Client secret
60+
61+
Normal users don’t need to fill in the blank. If they apply for official authorization, they can also use their own to fill in. If it is blank, the default is to use the one provided by Alist.

docs/guide/drivers/s3.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ Alist needs to skip `referer` to mount **Alibaba Cloud Disk**. If you do not all
7878

7979
In fact, the `Region|Region` option can be written as `Endpoint`, but for the sake of specification, let’s write it according to the comparison table.:::
8080

81+
:::
8182

8283
Fill in example:
8384

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
# This is the icon of the page
3+
icon: state
4+
# This control sidebar order
5+
order: 3
6+
# A page can have multiple categories
7+
category:
8+
- Guide
9+
# A page can have multiple tags
10+
tag:
11+
- Storage
12+
- Guide
13+
# this page is sticky in article list
14+
sticky: true
15+
# this page will appear in starred articles
16+
star: true
17+
---
18+
19+
# 阿里云盘Open
20+
21+
:::tip
22+
23+
阿里云盘open,使用的是官方授权API文档开发。
24+
25+
:::
26+
27+
## 刷新令牌
28+
29+
前往:**https://alist.nn.ci/tool/aliyundrive/request**
30+
31+
#### 获取示意图
32+
33+
以下两种方式都可以获得 **refresh_token**
34+
35+
:::tabs#alitoken
36+
37+
@tab Go to login
38+
39+
![token](/img/drivers/aliyun/token1.png)
40+
41+
@tab Scan QrCoden
42+
43+
![token](/img/drivers/aliyun/token2.png)
44+
45+
:::
46+
47+
48+
49+
## Root folder file_id
50+
51+
打开阿里云盘官网,点击进入要设置的文件夹时点击 URL 后面的字符串
52+
53+
https://www.aliyundrive.com/drive/folder/5fe01e1830601baf774e4827a9fb8fb2b5bf7940
54+
55+
这个文件夹的 file_id 即为 `5fe01e1830601baf774e4827a9fb8fb2b5bf7940`
56+
57+
![file_id](/img/drivers/aliyundrive.png)
58+
59+
60+
61+
### Client id,Client secret
62+
63+
正常用户不需要填写为空即可,如果自己申请了官方授权也可以使用自己的进行填写,为空时默认使用Alist提供的。

0 commit comments

Comments
 (0)