Skip to content

Commit 19975bc

Browse files
committed
fix some typos
1 parent 1272dd2 commit 19975bc

File tree

17 files changed

+130
-114
lines changed

17 files changed

+130
-114
lines changed

developers-docs/docs/_partials/_resp.assets-network.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"fee": "0.0001",
2222
"snapshots_count": 100,
2323
"capitalization": 144241811.6455701, // Market cap.
24-
"liquidity": "9618.05721189" // The amount of this asset in Minxin.
24+
"liquidity": "9618.05721189" // The amount of this asset in Mixin.
2525
},
2626
...
2727
]

developers-docs/docs/_partials/_resp.user-net.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"data":{
44
"user_id": "06aed1e3-bd77-4a59-991a-5bb5ae6fbb09", // User Id
5-
"session_id": "a34c07a9-755d-4b54-94c5-e45e9a2dd43e", // Session Id
5+
"session_id": "a34c07a9-755d-4b54-94c5-e45e9a2dd43e", // Session ID
66
"pin_token": "", // PIN
77
"full_name": "Bot User", // Nickname
88
"biography": "", // Brief Intro

developers-docs/docs/api/guide.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ title: API Guide
33
sidebar_position: 1
44
---
55

6-
Most API access is available for signed requests with private key, which can be downloaded from [dashboard](https://developers.mixin.one/dashboard).
6+
Most APIs are accessed through requests signed with a private key, which can be downloaded from the [dashboard](https://developers.mixin.one/dashboard).
77

8-
There are three kinds of signature in Mixin:
9-
1. JWT signature of bot to access private API, [details](#calling-apis)
10-
2. JWT signature of OAuth user to access private API, [details](#oauth-user-signature)
11-
3. PIN signature to transfer, withdraw and create withdraw addresses, [details](#pin-signature)
8+
There are three kinds of signatures in Mixin:
9+
1. JWT signatures for bots to access private APIs, [details](#calling-apis)
10+
2. JWT signatures for OAuth users to access private APIs, [details](#oauth-user-signature)
11+
3. PIN signatures for transfers, withdrawals, and creating withdrawal addresses, [details](#pin-signature)
1212

13-
## Choosing An API Server
13+
## Choosing an API Server
1414

1515
For HTTP requests:
1616

@@ -26,12 +26,12 @@ For WebSocket requests:
2626

2727
## Calling APIs
2828

29-
Most APIs need to signed with a JSON Web Tokens (JWT) to access. They utilize the secure data transmissions between clients and servers.
29+
Most APIs must be signed with a JSON Web Token (JWT) before they can be accessed. JWTs provide secure data transmission between clients and servers.
3030

3131
### Signing
3232

3333
:::tip
34-
Most Mixin SDK has already provide a JWT generator, and thet can handle the JWT generation and verification automatically. For more information, please refer to [SDK section](/docs/resources/sdk).
34+
Most Mixin SDKs already provide a JWT generator, and they can handle JWT generation and verification automatically. For more information, please refer to the [SDK section](/docs/resources/sdk).
3535
:::
3636

3737
#### JWT Header
@@ -46,7 +46,7 @@ Most Mixin SDK has already provide a JWT generator, and thet can handle the JWT
4646
| Parameter | Instruction |
4747
|:----------|:----------------------|
4848
| uid | User Id |
49-
| sid | Session Id |
49+
| sid | Session ID |
5050
| iat | issued at |
5151
| exp | Expiration Time |
5252
| jti | JWT ID |
@@ -57,7 +57,7 @@ Most Mixin SDK has already provide a JWT generator, and thet can handle the JWT
5757
```go
5858
/*
5959
* uid: User Id
60-
* sid: Session Id
60+
* sid: Session ID
6161
* secret: PrivateKey
6262
* method: HTTP Request method, e.g.: GET, POST
6363
* url: URL path without hostname, e.g.: /transfers

developers-docs/docs/app/getting-started/read-info.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ GET -H "Authorization: Bearer $ACCESS_TOKEN" https://api.mixin.one/me
3232
```
3333

3434
:::info
35-
The `user_id` field is an unique id for each "Account" or "User" in the entire Mixin Network.
35+
The `user_id` field is a unique ID for each "Account" or "User" in the entire Mixin Network.
3636

3737
Additionally, if the user is a Mixin Messenger user, you can send messages to them by using [`POST /messages`](/docs/api/messages/send) with the `user_id` field.
3838
:::
@@ -43,7 +43,7 @@ Additionally, if the user is a Mixin Messenger user, you can send messages to th
4343
To obtain the asset balance of a user, the `ASSETS:READ` permission is required.
4444
:::
4545

46-
Calling `GET /assets` returns assets with a balance greater than 0. When you calls this API with a token which owned by a new user with zero balance, an empty list will be returned.
46+
Calling `GET /assets` returns assets with a balance greater than 0. When you call this API with a token owned by a new user with a zero balance, an empty list is returned.
4747

4848
```bash
4949
GET -H "Authorization: Bearer $ACCESS_TOKEN" https://api.mixin.one/assets
@@ -54,7 +54,7 @@ import RespAssets from '@site/docs/_partials/_resp.assets.md'
5454
<RespAssets />
5555

5656
:::info
57-
The `asset_id` field is an unique id for each asset in the entire Mixin Network.
57+
The `asset_id` field is a unique ID for each asset in the entire Mixin Network.
5858

5959
It can be obtained from [https://mixin.one/snapshots](https://mixin.one/snapshots) by searching for asset code such as `btc`. You can also deposit the asset into the Mixin Messenger wallet and talk to the bot `7000103061`, then search for and copy asset information.
6060
:::

developers-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/_partials/_resp.assets-network.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"fee": "0.0001",
2222
"snapshots_count": 100,
2323
"capitalization": 144241811.6455701, // Market cap.
24-
"liquidity": "9618.05721189" // The amount of this asset in Minxin.
24+
"liquidity": "9618.05721189" // The amount of this asset in Mixin.
2525
},
2626
...
2727
]

developers-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/_partials/_resp.user-net.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"data":{
44
"user_id": "06aed1e3-bd77-4a59-991a-5bb5ae6fbb09", // User Id
5-
"session_id": "a34c07a9-755d-4b54-94c5-e45e9a2dd43e", // Session Id
5+
"session_id": "a34c07a9-755d-4b54-94c5-e45e9a2dd43e", // Session ID
66
"pin_token": "", // PIN
77
"full_name": "Bot User", // Nickname
88
"biography": "", // Brief Intro

developers-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/api/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Mixin 中常见的签名类型有三种:
5757
```go
5858
/*
5959
* uid: User Id
60-
* sid: Session Id
60+
* sid: Session ID
6161
* secret: PrivateKey
6262
* method: HTTP Request method, e.g.: GET, POST
6363
* url: URL path without hostname, e.g.: /transfers

developers-docs/src/components/api/APIResponse/responses.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ export default {
377377
"reserve": "0",
378378
"confirmations": 3,
379379
"capitalization": 144241811.6455701, // Market cap.
380-
"liquidity": "9618.05721189" // The amount of this asset in Minxin.
380+
"liquidity": "9618.05721189" // The amount of this asset in Mixin.
381381
},
382382
...
383383
]
@@ -594,7 +594,7 @@ export default {
594594
user_net: `{
595595
"data_base64":{
596596
"user_id": "06aed1e3-bd77-4a59-991a-5bb5ae6fbb09", // User Id
597-
"session_id": "a34c07a9-755d-4b54-94c5-e45e9a2dd43e", // Session Id
597+
"session_id": "a34c07a9-755d-4b54-94c5-e45e9a2dd43e", // Session ID
598598
"pin_token": "", // PIN
599599
"full_name": "Bot User", // Nickname
600600
"biography": "", // Brief Intro

developers/src/components/AppForm/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="meta flex">
55
<MInput
66
v-if="app.app_number"
7-
label="Mixin ID"
7+
:label="t('information.mixin_id')"
88
disabled
99
allow-copy="true"
1010
v-model:value="app.app_number"

developers/src/components/AppForm/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export default {
152152
return;
153153
}
154154
if (state.submitting) {
155-
$message.error({ message: 'message.errors.saving' });
155+
$message.error({ message: t('message.errors.saving'), showClose: true });
156156
return;
157157
}
158158

0 commit comments

Comments
 (0)