Skip to content

Commit f794409

Browse files
authored
Merge pull request d-run#193 from windsonsea/inst
[en] Update personal center pages
2 parents e216c8d + 336917b commit f794409

File tree

22 files changed

+166
-26
lines changed

22 files changed

+166
-26
lines changed

docs/zh/docs/en/dak/my-feedback/my-feedback.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ d.run records the feedback information submitted by the current user for easy tr
99

1010
## View Feedback Details
1111

12-
1. Click on **My Feedback** to search for the feedback you want to view. You can click anywhere within the search results to enter the details.
12+
1. Click **My Feedback** to search for the feedback you want to view. You can click anywhere within the search results to enter the details.
1313

1414
<!-- ![my feedback](images/my-feedback.jpg) -->
1515

docs/zh/docs/en/leopard/orders.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ hide:
1111

1212
1. In the **Orders**, you can view detailed records of the user's purchases or resource operations.
1313

14-
Filtering: Click on the search box to select filtering criteria, supporting search or filtering by order ID, resource ID, type, product name, and status.
14+
Filtering: Click the search box to select filtering criteria, supporting search or filtering by order ID, resource ID, type, product name, and status.
1515

1616
![orderlist](../leopard/images/orderlist.png){width=900px}
1717

docs/zh/docs/en/models/apikey.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ API Key is the core credential for calling model services, used to verify user i
3535
## Deleting an API Key
3636

3737
1. Find the API Key you wish to delete in the list.
38-
2. Click on the row to perform the delete operation.
38+
2. Click the row to perform the delete operation.
3939
3. Confirm the delete operation in the pop-up window.
4040
4. After deletion, the API Key will immediately become invalid, and all service calls relying on this Key will be rejected.
4141

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Access Key
2+
3+
Access Keys can be used to access open APIs and continuous releases.
4+
You can obtain keys and access the API by following the steps outlined below in the personal center.
5+
6+
## Obtaining the Key
7+
8+
Log in to d.run, find __Personal Center__ in the dropdown menu at the top right, and you can manage your account's access keys on the __Access Keys__ page.
9+
10+
![ak list](./images/ak01.png)
11+
12+
![created a key](./images/ak03.png)
13+
14+
!!! info
15+
16+
Access key is displayed only once. If you forget the access key,
17+
you will need to create a new access key.
18+
19+
## Using the Key to Access the API
20+
21+
When accessing the d.run openAPI, include the request header `Authorization:Bearer ${token}` to identify the visitor's identity, where `${token}` is the key obtained in the previous step. For detailed interface information, refer to the [OpenAPI Documentation](https://docs.daocloud.io/openapi/index.html).
22+
23+
**Request Example**
24+
25+
```bash
26+
curl -X GET -H 'Authorization:Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IkRJVjlBTHRBLXZ4MmtQUC1TQnVGS0dCSWc1cnBfdkxiQVVqM2U3RVByWnMiLCJ0eXAiOiJKV1QifQ.eyJleHAiOjE2NjE0MTU5NjksImlhdCI6MTY2MDgxMTE2OSwiaXNzIjoiZ2hpcHBvLmlvIiwic3ViIjoiZjdjOGIxZjUtMTc2MS00NjYwLTg2MWQtOWI3MmI0MzJmNGViIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4iLCJncm91cHMiOltdfQ.RsUcrAYkQQ7C6BxMOrdD3qbBRUt0VVxynIGeq4wyIgye6R8Ma4cjxG5CbU1WyiHKpvIKJDJbeFQHro2euQyVde3ygA672ozkwLTnx3Tu-_mB1BubvWCBsDdUjIhCQfT39rk6EQozMjb-1X1sbLwzkfzKMls-oxkjagI_RFrYlTVPwT3Oaw-qOyulRSw7Dxd7jb0vINPq84vmlQIsI3UuTZSNO5BCgHpubcWwBss-Aon_DmYA-Et_-QtmPBA3k8E2hzDSzc7eqK0I68P25r9rwQ3DeKwD1dbRyndqWORRnz8TLEXSiCFXdZT2oiMrcJtO188Ph4eLGut1-4PzKhwgrQ' https://demo-dev.daocloud.io/apis/ghippo.io/v1alpha1/users?page=1&pageSize=10 -k
27+
```
28+
29+
**Response Example**
30+
31+
```json
32+
{
33+
"items": [
34+
{
35+
"id": "a7cfd010-ebbe-4601-987f-d098d9ef766e",
36+
"name": "a",
37+
"email": "",
38+
"description": "",
39+
"firstname": "",
40+
"lastname": "",
41+
"source": "locale",
42+
"enabled": true,
43+
"createdAt": "1660632794800",
44+
"updatedAt": "0",
45+
"lastLoginAt": ""
46+
}
47+
],
48+
"pagination": {
49+
"page": 1,
50+
"pageSize": 10,
51+
"total": 1
52+
}
53+
}
54+
```
139 KB
Loading
86.4 KB
Loading
124 KB
Loading
233 KB
Loading
127 KB
Loading
107 KB
Loading

0 commit comments

Comments
 (0)