You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c48042d
Browse filesBrowse the repository at this point in the historyBrowse files
**name** | **str** | Permission function name (no value will be cleared) - `wallet`: wallet - `spot`: spot/margin - `futures`: perpetual contract - `delivery`: delivery contract - `earn`: earn - `custody`: custody - `options`: options - `account`: account information - `loan`: lending - `margin`: margin - `unified`: unified account - `copy`: copy trading- `pilot`: pilot - `otc`: otc - `alpha`: alpha - `crossx`: cross-exchange | [optional]
6
+
**name** | **str** | Permission function name (cleared if no value is provided) - `wallet`: wallet - `spot`: spot/margin - `futures`: perpetual contract - `delivery`: delivery contract - `earn`: earn - `custody`: custody - `options`: options - `account`: account information - `loan`: lending - `margin`: margin - `unified`: unified account - `copy`: copy trading- `pilot`: pilot - `otc`: otc - `alpha`: alpha - `crossx`: cross-exchange - `tradfi_spot`: stocks - `cfd`: CFD - `cfd_copy`: CFD lead trading - `stock_copy`: stock lead trading - `sub_accounts`: sub-accounts | [optional]
7
7
**read_only** | **bool** | Read Only | [optional]
8
8
9
9
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Query announcement articles with pagination and filters for title, category, language, time, and other criteria. Send query parameters in the JSON request body. Both page and size are optional and must be strings when provided. No API key is required.
16
+
17
+
### Example
18
+
19
+
```python
20
+
from__future__import print_function
21
+
import gate_api
22
+
from gate_api.exceptions import ApiException, GateApiException
23
+
# Defining the host is optional and defaults to https://api.gateio.ws/api/v4
24
+
# See configuration.py for a list of all supported configuration parameters.
**200** | Announcement article list response | - |
67
+
68
+
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
**created** | **str** | Article creation time, returned as a string. |
11
+
**updated** | **str** | Article update time, returned as a string. |
12
+
**release_time** | **str** | Article publication time, returned as a string. |
13
+
**views** | **int** | View count |
14
+
**author** | **str** | Author |
15
+
**author_id** | **int** | Article author ID. |
16
+
**tags** | **str** | Article tags |
17
+
**cate** | **str** | Category to which the article belongs. |
18
+
**is_top** | **int** | Pinned status indicator for the article. |
19
+
**cate_id** | **int** | ID of the category to which the article belongs. |
20
+
**source** | **str** | Article source |
21
+
**content_lang_list** | [**list[AnnouncementArticleLanguage]**](AnnouncementArticleLanguage.md) | Languages supported by the article, with the code and name of each language. |
22
+
23
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**code** | **str** | Language code, for example \"cn\". |
8
+
**name** | **str** | Language name |
9
+
10
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**list** | [**list[AnnouncementArticle]**](AnnouncementArticle.md) | Announcement article list |
8
+
**total** | **int** | Total number of announcement articles. |
9
+
10
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**title_query** | **str** | Article title to use when querying announcements. | [optional]
8
+
**page** | **str** | Page number. Optional. Pass as a string, for example \"1\". | [optional]
9
+
**size** | **str** | Number of articles to return per page. Optional. Pass as a string, for example \"5\". | [optional]
10
+
**tags** | **str** | Article tags | [optional]
11
+
**timer** | **str** | Query announcements from the last N days, with N passed as a string. For example, on the 10th, pass \"10\" to query announcements from the 1st through the 10th. | [optional]
**cate_level** | **str** | Category level, passed as a string: \"1\" or \"2\". | [optional]
14
+
**sub_website_id** | **str** | Subsite ID, passed as a string: \"0\" for the main site or \"177\" for the Turkey site. Defaults to \"0\". | [optional][default to '0']
15
+
**pinned** | **int** | Whether to include pinned articles: 1 to include them or 0 to exclude them. Defaults to 1. | [optional][default to 1]
16
+
**update_after** | **int** | Query announcement articles updated after this timestamp. | [optional]
17
+
**lang** | **str** | Language code, for example \"cn\". | [optional]
18
+
**filter_empty_content** | **int** | Whether to exclude articles with empty content in the current language: 0 to keep them or 1 to exclude them. Defaults to 1. | [optional][default to 1]
19
+
20
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**id** | **str** | Queue Task ID (not order ID) | [optional]
8
8
9
9
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments