diff --git a/docs/p2p/ad/ad-list.mdx b/docs/p2p/ad/ad-list.mdx index fb12386c08..eceea275d6 100644 --- a/docs/p2p/ad/ad-list.mdx +++ b/docs/p2p/ad/ad-list.mdx @@ -15,7 +15,7 @@ POST `/v5/p2p/item/personal/list` |side|false|string|Ad side for token. `0`: buy; `1`: sell| |tokenId|false|string|Token id. e.g. USDT,ETH,BTC| |page|false|string|Page number. Default Value is 1| -|size|false|string|Page size. Default Value is 10| +|size|false|string|Page size. Default Value is 10, max is 30| |currencyId|false|string|Currency id e.g HKD,USD,EUR| ### Response Parameters diff --git a/docs/p2p/ad/online-ad-list.mdx b/docs/p2p/ad/online-ad-list.mdx index 138a05d67d..ddd46d60e4 100644 --- a/docs/p2p/ad/online-ad-list.mdx +++ b/docs/p2p/ad/online-ad-list.mdx @@ -14,7 +14,7 @@ POST `/v5/p2p/item/online` |currencyId|**true** |string |Currency ID. E.g. HKD, USD, EUR | |side|**true** |string |`0`: buy; `1`: sell | |page|false |string |Page number. Default value is 1 | -|size|false |string |Page size. Default value is 10 | +|size|false |string |Page size. Default value is 10, max is 30 | ### Response Parameters | Parameter | Type | Comments| diff --git a/docs/p2p/order/chat-msg.mdx b/docs/p2p/order/chat-msg.mdx index 91ca894c79..99709e7005 100644 --- a/docs/p2p/order/chat-msg.mdx +++ b/docs/p2p/order/chat-msg.mdx @@ -12,7 +12,7 @@ POST `/v5/p2p/order/message/listpage` |:----- |:-------|:-----|------ | |orderId|**true** |string |Order ID | |currentPage|false |string |Current page number| -|size|**true** |string |Page size | +|size|**true** |string |Page size, max is 30 | ### Response Parameters | Parameter | Type | Comments| diff --git a/docs/p2p/order/order-list.mdx b/docs/p2p/order/order-list.mdx index 20ff404082..a1692e78d4 100644 --- a/docs/p2p/order/order-list.mdx +++ b/docs/p2p/order/order-list.mdx @@ -7,11 +7,15 @@ sidebar_position: 1 ### HTTP Request POST `/v5/p2p/order/simplifyList` +:::info +Returns 90 days of orders by default. Orders are accessible up to 180 days in the past. +::: + ### Request Parameters | Parameter | Required | Type | Comments| |:----- |:-------|:-----|------ | |page|**true**|integer|Page number to query| -|size|**true**|integer|Rows to query per page| +|size|**true**|integer|Rows to query per page, max is 30| |status|false|integer|Order status | |beginTime|false|string|Begin time| |endTime|false|string|End time| diff --git a/docs/p2p/order/pending-order.mdx b/docs/p2p/order/pending-order.mdx index a2318f15e5..9226c102d9 100644 --- a/docs/p2p/order/pending-order.mdx +++ b/docs/p2p/order/pending-order.mdx @@ -7,6 +7,10 @@ sidebar_position: 3 ### HTTP Request POST `/v5/p2p/order/pending/simplifyList` +:::info +Returns 90 days of orders by default. Orders are accessible up to 180 days in the past. +::: + ### Request Parameters | Parameter | Required | Type | Comments| |:----- |:-------|:-----|------ | @@ -16,7 +20,7 @@ POST `/v5/p2p/order/pending/simplifyList` |tokenId|false|string|token id| |side|false|integer|`0`: Buy, `1`: Sell| |page|**true**|integer|Page number to query| -|size|**true**|integer|Rows to query per page| +|size|**true**|integer|Rows to query per page, max is 30| ### Response Parameters | Parameter | Type | Comments| diff --git a/docs/p2p/order/upload-chat-file.mdx b/docs/p2p/order/upload-chat-file.mdx index abba61df63..c64b2be21f 100644 --- a/docs/p2p/order/upload-chat-file.mdx +++ b/docs/p2p/order/upload-chat-file.mdx @@ -7,6 +7,12 @@ sidebar_position: 7 ### HTTP Request POST `/v5/p2p/oss/upload_file` +:::info +The correct way to operate file uploads is: +1) upload the file to get your `url` +2) use Send Chat Message with a correct `contentType`, like "pic", "pdf" or "video". Put URL into `message` +::: + ### Request Parameters | Parameter | Required | Type | Comments| |:----- |:-------|:-----|------ | diff --git a/sidebars.js b/sidebars.js index 89a4ee4a29..820675c5be 100644 --- a/sidebars.js +++ b/sidebars.js @@ -33,6 +33,7 @@ const sidebars = { p2pSideBar: [ 'p2p/guide', 'p2p/all-balance', + 'p2p/rate-limit', { type: 'category', label: 'Advertisement',