4420 lines
159 KiB
Markdown
4420 lines
159 KiB
Markdown
---
|
||
title: 个人项目
|
||
language_tabs:
|
||
- shell: Shell
|
||
- http: HTTP
|
||
- javascript: JavaScript
|
||
- ruby: Ruby
|
||
- python: Python
|
||
- php: PHP
|
||
- java: Java
|
||
- go: Go
|
||
toc_footers: []
|
||
includes: []
|
||
search: true
|
||
code_clipboard: true
|
||
highlight_theme: darkula
|
||
headingLevel: 2
|
||
generator: "@tarslib/widdershins v4.0.23"
|
||
|
||
---
|
||
|
||
# 个人项目
|
||
|
||
Base URLs:
|
||
|
||
# Authentication
|
||
|
||
# coeus-labs/intent-system/管理端
|
||
|
||
## POST 平台登录
|
||
|
||
POST /api/v1/platform/login
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"user_name": "admin",
|
||
"password": "c333e2df646d876661e4a13e86feba99"
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|body|body|object| 否 |none|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {
|
||
"version": "v1.1.2",
|
||
"user_name": "admin",
|
||
"auth_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGFpbV9leHBpcmUiOjE3MDg0MDk0MjIsImNsYWltX2lhdCI6MTcwODMyMzAyMiwidXNlcl9zZXNzaW9uIjoie1widXNlcl9pZFwiOjYsXCJ1c2VyX25hbWVcIjpcImFkbWluXCIsXCJhZGRyZXNzXCI6XCJcIixcImFsaWFzXCI6XCJhZG1pblwiLFwicGhvbmVfbnVtYmVyXCI6XCJcIixcImlzX2FkbWluXCI6dHJ1ZSxcImxvZ2luX2lwXCI6XCIxMjcuMC4wLjFcIixcImF1dGhfdG9rZW5cIjpcIlwiLFwibG9naW5fbW9kZVwiOjB9In0.WFbgdsdj6CeusGOc1OTNuykTU16I5oK8EtTBReH4d2M",
|
||
"login_ip": "127.0.0.1",
|
||
"login_time": 1708323022,
|
||
"role": "admin",
|
||
"privilege": [
|
||
"UserAccess",
|
||
"UserAdd",
|
||
"UserEdit",
|
||
"UserDelete",
|
||
"UserEnableOrDisable",
|
||
"RoleAccess",
|
||
"RoleAdd",
|
||
"RoleDelete",
|
||
"RoleEdit",
|
||
"RoleAuthority",
|
||
"RoleEnableOrDisable",
|
||
"OperLogAccess",
|
||
"HomeAccess",
|
||
"GamePlayerAccess",
|
||
"GameBackpackAccess",
|
||
"ModelsAccess",
|
||
"ModelsUpload",
|
||
"ModelsDelete",
|
||
"ModelsEdit",
|
||
"ModelsDIYAccess",
|
||
"ModelsDIYUpload",
|
||
"ModelsDIYDelete",
|
||
"ModelsDIYEdit"
|
||
]
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» version|string|true|none||none|
|
||
|»» user_name|string|true|none||none|
|
||
|»» auth_token|string|true|none||none|
|
||
|»» login_ip|string|true|none||none|
|
||
|»» login_time|integer|true|none||none|
|
||
|»» role|string|true|none||none|
|
||
|»» privilege|[string]|true|none||none|
|
||
|
||
## POST 平台退出
|
||
|
||
POST /api/v1/platform/logout
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|
||
> 返回示例
|
||
|
||
> 200 Response
|
||
|
||
```json
|
||
{}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
## POST 用户列表
|
||
|
||
POST /api/v1/platform/list/user
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"user_name": "",
|
||
"page_no": 0,
|
||
"page_size": 50
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {
|
||
"users": [
|
||
{
|
||
"user_id": 1,
|
||
"user_name": "admin",
|
||
"user_alias": "admin",
|
||
"phone_number": "",
|
||
"email": "",
|
||
"remark": "inherent administrator",
|
||
"login_time": 1710913637,
|
||
"role_name": "超级管理员",
|
||
"state": 1,
|
||
"created_time": "2024-03-19 11:32:56",
|
||
"create_user": "admin"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST 客户列表
|
||
|
||
POST /api/v1/customer/list
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"id": 0,
|
||
"email": "",
|
||
"page_no": 0,
|
||
"page_size": 50
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 0,
|
||
"count": 2
|
||
},
|
||
"data": {
|
||
"list": [
|
||
{
|
||
"id": 1,
|
||
"user_name": "civet148@126.com",
|
||
"user_alias": "",
|
||
"password": "e10adc3949ba59abbe56e057f20f883e",
|
||
"salt": "",
|
||
"phone_number": "",
|
||
"is_admin": false,
|
||
"email": "civet148@126.com",
|
||
"address": "",
|
||
"remark": "",
|
||
"deleted": false,
|
||
"state": 1,
|
||
"login_ip": "172.27.192.1",
|
||
"login_time": 1710920358,
|
||
"create_user": "admin",
|
||
"edit_user": "admin",
|
||
"created_time": "2024-03-15 15:30:24",
|
||
"updated_time": "2024-03-20 15:39:18",
|
||
"extra_data": {}
|
||
},
|
||
{
|
||
"id": 2,
|
||
"user_name": "93864947@qq.com",
|
||
"user_alias": "",
|
||
"password": "e10adc3949ba59abbe56e057f20f883e",
|
||
"salt": "",
|
||
"phone_number": "",
|
||
"is_admin": false,
|
||
"email": "93864947@qq.com",
|
||
"address": "",
|
||
"remark": "",
|
||
"deleted": false,
|
||
"state": 1,
|
||
"login_ip": "172.27.192.1",
|
||
"login_time": 1710488031,
|
||
"create_user": "admin",
|
||
"edit_user": "admin",
|
||
"created_time": "2024-03-15 15:30:24",
|
||
"updated_time": "2024-03-15 18:09:10",
|
||
"extra_data": {}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST News列表
|
||
|
||
POST /api/v1/news/list
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"id": 0,
|
||
"all": true,
|
||
"is_deleted": false,
|
||
"tag": "",
|
||
"search": "",
|
||
"order_asc": false,
|
||
"language": "",
|
||
"page_no": 0,
|
||
"page_size": 10
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» id|body|number| 是 |数据ID(0表示不指定具体数据)|
|
||
|» all|body|boolean| 是 |是否查询所有数据(false表示只查询客户可见数据)|
|
||
|» is_deleted|body|boolean| 是 |true表示只查询已删除数据|
|
||
|» tag|body|string| 是 |过滤的标签|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 17,
|
||
"count": 10
|
||
},
|
||
"data": {
|
||
"list": [
|
||
{
|
||
"id": 5,
|
||
"org_id": 129,
|
||
"spider_id": 1,
|
||
"tag": "#Blockchain",
|
||
"category": "Coindesk",
|
||
"main_title": "Bitcoin Could Drop to $58K as Cool-Off Period Is Imminent, Swissblock Says",
|
||
"sub_title": "Bitcoin nearly doubled in price since late January, but a \"counter move seems to be near,\" Swissblock analysts said.",
|
||
"summary": "",
|
||
"keywords": [
|
||
"Markets",
|
||
"Bitcoin",
|
||
"Swissblock technologies",
|
||
"Matrixport"
|
||
],
|
||
"seo_keywords": [
|
||
"bitcoin",
|
||
"bitcoin price",
|
||
"btc price"
|
||
],
|
||
"tags": [
|
||
"#Blockchain"
|
||
],
|
||
"url": "https://www.coindesk.com/markets/2024/03/13/bitcoin-could-drop-to-58k-as-cool-off-period-is-imminent-swissblock-says/",
|
||
"image_url": "",
|
||
"content": "Bitcoin's rally shows waning momentum, underscored by a negative divergence between its price and the RSI momentum indicator, Swissblock analysts noted.BTC could drop as much as 20% from current prices in the near term, but the uptrend will resume Swissblock forecasted.Bitcoin (BTC) has been climbing ever-higher over the past month, notching new all-time highs on the way with every dip bought up quickly, but the largest crypto may be poised for a cool-off phase, analysts warned.Digital asset analytics firm Swissblock said in a note on Wednesday that bitcoin nearly doubled in price from $38,000 in late January without any meaningful pullbacks, and a cooling period could be imminent.\"Nothing rallies in a straight line. Not even BTC,\" Swissblock analysts said in a Telegram update. \"A counter move seems to be near.\"Swissblock analysts based their forecast on the negative bearish divergence between bitcoin's price inching higher but dwindling relative strength index (RSI) on the 4-hour chart, foreshadowing lower prices. The RSI is a widely used momentum indicator that measures the speed and size of an asset's price changes.The pullback could materialize as soon as in the next few days, according to a chart by Swissblock analyst Henrik Zeberg. But, in the bigger picture, lower prices will be a temporary setback before the uptrend eventually resumes to new highs.\"We see BTC dropping to $58,000-$59,000 in the next move,\" they said, representing a 20% decline from current prices. \"But the top is not in.\"Bitcoin could drop to $58,000 in the near-future (Swissblock)Crypto investment services firm Matrixport also noted Tuesday that bitcoin's rally is running out of fuel and forecasted a period of consolidation. \"This bull market still has legs, but the divergence between a declining RSI and still high bitcoin prices could signal that BTC needs to consolidate before rallying again,\" Matrixport analysts said.Read more: Ether Could See Price Correction After Dencun Upgrade, QCP Capital SaysSkyrocketing meme coin prices could also signal an impending pullback, as rotating profits from large-cap cryptos to riskier tokens was often the last stage in a crypto uptrend. For example, pepe coin's (PEPE) breakneck rally last May presaged a 15% decline in bitcoin's price in the following month.BTC recently changed hands slightly above $73,000, up 2.6% over the past 24 hours. The broad-market Coindesk 20 Index (CD20) advanced 4% during the same period.Edited by Aoyon Ashraf.",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 1,
|
||
"created_time": "2024-03-21 14:19:57",
|
||
"updated_time": "2024-03-25 18:12:07",
|
||
"extra_data": {
|
||
"logs": [
|
||
{
|
||
"oper_user": "lory",
|
||
"oper_time": "2024-03-21 18:46:03",
|
||
"oper_type": "edit"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": 2,
|
||
"org_id": 105,
|
||
"spider_id": 105,
|
||
"tag": "#AI",
|
||
"category": "Coindesk",
|
||
"main_title": "Bitcoin Could Drop to $58K as Cool-Off Period Is Imminent, Swissblock Says",
|
||
"sub_title": "Bitcoin nearly doubled in price since late January, but a \"counter move seems to be near,\" Swissblock analysts said.",
|
||
"summary": "",
|
||
"keywords": [
|
||
"Markets",
|
||
"Bitcoin",
|
||
"Swissblock technologies",
|
||
"Matrixport"
|
||
],
|
||
"seo_keywords": [
|
||
"bitcoin",
|
||
"bitcoin price",
|
||
"btc price"
|
||
],
|
||
"tags": [
|
||
"#Blockchain",
|
||
"#Solidity",
|
||
"#Bitcoin"
|
||
],
|
||
"url": "https://www.coindesk.com/markets/2024/03/13/bitcoin-could-drop-to-58k-as-cool-off-period-is-imminent-swissblock-says/",
|
||
"image_url": "",
|
||
"content": "从订阅列表编辑新闻(新闻ID=2),提交后直接覆盖原文",
|
||
"is_hotspot": false,
|
||
"is_overwritten": true,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 1,
|
||
"created_time": "2024-03-20 14:38:45",
|
||
"updated_time": "2024-03-25 16:20:06",
|
||
"extra_data": {
|
||
"logs": [
|
||
{
|
||
"oper_user": "lory",
|
||
"oper_time": "2024-03-21 18:46:03",
|
||
"oper_type": "edit"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": 9,
|
||
"org_id": 133,
|
||
"spider_id": 1,
|
||
"tag": "#Blockchain",
|
||
"category": "Coinpedia",
|
||
"main_title": "Reddit-Based Altcoins To See Massive Rally In Coming Days Ahead of IPO",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": [],
|
||
"seo_keywords": [
|
||
"Crypto news"
|
||
],
|
||
"tags": [
|
||
"#Blockchain"
|
||
],
|
||
"url": "https://coinpedia.org/news/reddit-tokens-moon-and-donut-surge-ahead-of-reddits-ipo-amidst-bullish-market-sentiment/",
|
||
"image_url": "",
|
||
"content": "Two Reddit-based tokens, MOON and DONUT, have recently seen their prices skyrocketing to the moon with Reddit’s IPO in sight, demonstrating the enthusiasm of users in the community-supported cryptos. The increase in these tokens’ prices is attributed to the rising hope for the Reddit’s IPO, together with the positive sentiment throughout cryptocurrency market. Advertisement Renewed Interest in MOON and DONUTThe recent renewed interest in Moon and Donut has revived after Reddit’s IPO. MOON, the native token of the r/CryptoCurrency subreddit, shows amazing growth of 29% over the past week and 104% on a monthly basis. Also, DONUT, a governance token for rewarding contributors to the r/ethtrader subreddit, is up over 100% in past 24 hours and has increased more than 117% WoW and 215% MoM. These notable increases show the rising interests and demand for Reddit’s tokens before the platform goes for the IPO.The upcoming IPO of Reddit, which is aimed at the valuation of around $6.4 billion, has contributed to the mounting investor attention in MOON and DONUT. Investors are buying these tokens in the hope that a possible bull run will follow the company’s successful public offering. Success of an IPO may have a significant effect on prices of these community tokens thereby causing the increase of their values.Also Read: Shiba Inu Surpasses DOGE and Solana in Weekly Trade Volume Amid Meme Coin FrenzyThe Market Dynamics and Crypto Bull Run will be discussed.The underlying phenomenon that influenced the rise in the prices of MOON and DONUT is the broader cryptocurrency bull market also significantly. With cryptocurrencies price fluctuation and forecasts, the chats within Reddit crypto communities have been more frequent and heated, thus, resulting in more and more token exchange among the members. However, compared to crypto-focused tokens like MOON and DONUT, other community tokens such as BRICK, associated with the Fortnite subreddit, have shown slower price growth.Caution Amidst IPO SpeculationInvestors in the highly volatile crypto assets, MOON and DONUT, are instructed to be extra careful as the performance of the Reddit IPO can generate a price correction for these tokens. Apart from Reddit there were some other IPOs, such as the ones of Arm Holdings, Instacart, and Birkenstock, that have not had outstanding results, sparking concerns about Reddit’s IPO. Besides, Reddit’s track record of incurring losses and the content moderation difficulties may draw the general public’s attention and this, in the long run, may affect the overall performance of its IPO and, thus, the prices of the community tokens.Crypto market is one of the highly volatile market. Though there is the conundrum of an IPO for Reddit, the experience could be a trigger for the common use of community tokens and the integration of cryptocurrencies into social platforms. This ICO can serve as a trigger for other Web2 platforms to venture into developing their own cryptocurrency tokens such as Telegram and X ($formerly Twitter). It will go further to drive innovation and adoption in the cryptocurrency market.ConclusionWhile Reddit is set to hit the market with its initial public offering, the attention is directed at the community tokens like MOON and DONUT that have witnessed an increase in price during a time when many investors are interested in acquiring them. Although the IPO success of Reddit’s coin can help to generate further surge in these tokens’ rates, investors should still remain cautious and follow the market trends carefully. TagsCrypto news",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-21 14:19:58",
|
||
"updated_time": "2024-03-21 18:46:53",
|
||
"extra_data": {
|
||
"logs": [
|
||
{
|
||
"oper_user": "lory",
|
||
"oper_time": "2024-03-21 18:46:03",
|
||
"oper_type": "edit"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": 4,
|
||
"org_id": 0,
|
||
"spider_id": 0,
|
||
"tag": "",
|
||
"category": "分类",
|
||
"main_title": "主标题",
|
||
"sub_title": "副标题",
|
||
"summary": "摘要信息",
|
||
"keywords": [
|
||
"Bitcoin",
|
||
"Ethereum",
|
||
"Filecoin"
|
||
],
|
||
"seo_keywords": [
|
||
"Bitcoin",
|
||
"Ethereum",
|
||
"Filecoin"
|
||
],
|
||
"tags": [
|
||
"#Blockchain",
|
||
"#AI",
|
||
"#Coincap"
|
||
],
|
||
"url": "",
|
||
"image_url": "https://www.baidu.com/images/asrw2342342342.png",
|
||
"content": "这是我自己新增的一条新闻,新增后自动进入草稿箱,在未发布前只存在于草稿箱中;提交完成后返回草稿箱数据ID;草稿箱URI:/api/v1/news/draft/list (编辑草稿并提交)",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-21 11:55:34",
|
||
"updated_time": "2024-03-21 18:46:49",
|
||
"extra_data": {
|
||
"logs": [
|
||
{
|
||
"oper_user": "lory",
|
||
"oper_time": "2024-03-21 18:46:03",
|
||
"oper_type": "edit"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": 18,
|
||
"org_id": 142,
|
||
"spider_id": 1,
|
||
"tag": "#Blockchain",
|
||
"category": "Coinpedia",
|
||
"main_title": "Binance Executives Detained Amid Nigeria’s $26B FX Crisis: Court Hearing Set on March 20",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": [],
|
||
"seo_keywords": [
|
||
"Binance",
|
||
"Crypto news"
|
||
],
|
||
"tags": [
|
||
"#Blockchain"
|
||
],
|
||
"url": "https://coinpedia.org/news/binance-executives-detained-amid-nigerias-26b-fx-crisis-court-hearing-set-on-march-20/",
|
||
"image_url": "",
|
||
"content": "As you read this article, two Binance executives, Tigran Gambaryan and Nadeem Anjarwalla, are still spending their days in the custody of the Nigerian authorities, accused of contributing to the country’s currency crash. Within 6 days, the court is going to hold a hearing, which means the international community will be watching more than ever. Advertisement Let’s dive into more details Detention and AllegationsTigran Gambaryan, Binance’s Head of Financial Crime Compliance, was arrested along with Nadeem Anjarwalla, the exchange’s Africa Regional Manager, Nigeria, on February 26 upon an official invitation from the government. However, it should be noted that the two Binance executives were detained for a period of two weeks as a result of the Abuja High Court’s order on February 28 despite no formal charges being made against them.The Central Bank of Nigeria revealed $26 billion in untraceable funds movement through the Binance Nigeria platform last year, which contributed to the country’s foreign exchange crisis. The government, fighting with capital outflows and depreciation issue of the Naira, sees Binance’s operations as one of the reasons that make the issue worse.Also Read: Institutional Influx: BlackRock’s Bitcoin ETF Witnesses Surge in Holdings Amid Record-Breaking InflowsResponseThe detained Binance executives, visited by U.S. and U.K. officials, the hearing on March 20th is looming. Binance clarified once again its cooperation with Nigerian authorities adding that Binance is “cooperating with Nigerian authorities to bring Nadeem and Tigran home safely to their families”. As a matter of fact, the situation is a delicate case involving national security and global cryptocurrency operations.In short … The situation before the 20th of March is still dynamic, and all players closely watch the legal processes and diplomatic efforts. The arrest and detaining of Binance’s executives in Nigeria with currency destabilization charges against them will be heard in the upcoming court hearing. TagsBinance Crypto news",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-21 14:19:58",
|
||
"updated_time": "2024-03-21 14:19:58",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 17,
|
||
"org_id": 141,
|
||
"spider_id": 1,
|
||
"tag": "#Blockchain",
|
||
"category": "Coinpedia",
|
||
"main_title": "MicroStrategy Announces $500 Million Convertible Senior Notes Offering to Acquire More Bitcoins!",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": [],
|
||
"seo_keywords": [
|
||
"Crypto news"
|
||
],
|
||
"tags": [
|
||
"#Blockchain"
|
||
],
|
||
"url": "https://coinpedia.org/news/microstrategy-announces-500-million-convertible-senior-notes-offering-to-acquire-more-bitcoins/",
|
||
"image_url": "",
|
||
"content": "MicroStrategy Incorporated (Nasdaq: MSTR) has announced its offering to issue 500 million dollars of convertible senior notes due 2031. The offering is limited to qualified institutional buyers, which attempts to improve the company’s financial status and thus achieve its set objectives. Advertisement Convertible Notes Offering Details“We intend to offer, subject to market conditions and other factors, $500 million aggregate principal amount of convertible senior notes due 2031,” MicroStrategy said in a statement. The offering includes $75 million of additional notes that can be purchased during the 13-day option period. The notes will be unsecured, with senior obligations bearing semiannual interest, starting on September 15, 2024, and ending on March 15, 2031. Noteholders will have the right to require MicroStrategy to repurchase the notes on the 15th of September, 2028. Moreover, MicroStrategy may redeem the notes in cash on or after the 22nd of March 2028.MicroStrategy made its roadmap clear, that by using the capital gains, MicroStrategy will be acquiring more Bitcoins and use it for fulfilling its other corporate activities. Nonetheless, its further Bitcoin acquisitions demonstrate its emphasis on cryptocurrency holdings, just like CEO Michael Saylor’s strategic acquisition plans.Convertible OptionsAdditionally, MicroStrategy explained that the notes provide conversion options into cash, class A common stock, or a mix of both. Conversion conditions will vary until September 15, 2030. After that, conversion is unrestricted until the maturity date. Details of the interest rate, conversion rates, and terms and conditions will be disclosed at pricing.Also Read: Institutional Influx: BlackRock’s Bitcoin ETF Witnesses Surge in Holdings Amid Record-Breaking InflowsRegulatory ComplianceThe offering is directed towards qualified institutional buyers under Rule 144A of the Securities Act which is a regulator standard. MicroStrategy announced that it is the case that notes as well as shares of its class A common stock did not go through the Securities Act registration and may not be offered or sold in the United States unless appropriate registration or exemption are applied.In Conclusion…MicroStrategy’s press release is a demonstration of the company’s active strategies in acquiring more and more Bitcoins, as well as using it to raise capital and to propel its long-term growth and cryptocurrency investment strategies. TagsCrypto news",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-21 14:19:58",
|
||
"updated_time": "2024-03-21 14:19:58",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 16,
|
||
"org_id": 140,
|
||
"spider_id": 1,
|
||
"tag": "#Blockchain",
|
||
"category": "Coinpedia",
|
||
"main_title": "Coinbase Surges as JMP Securities Raises Price Target Amid Bitcoin ETF Inflows",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": [],
|
||
"seo_keywords": [
|
||
"Bitcoin",
|
||
"Crypto news"
|
||
],
|
||
"tags": [
|
||
"#Blockchain"
|
||
],
|
||
"url": "https://coinpedia.org/news/coinbase-surges-as-jmp-securities-raises-price-target-amid-bitcoin-etf-inflows/",
|
||
"image_url": "",
|
||
"content": "Coinbase, a major US crypto-exchange company, has experienced a record-breaking increase in its share price, amidst the bullish state of Bitcoin ETFs and the crypto market. This surge followed after JMP Securities, an investment banking and asset management firm increased the target price of Coinbase shares to $300. Advertisement JMP Securities Raises Coinbase’s Price ObjectiveJMP Securities analyst Devin Ryan revised the target price for Coinbase Global Inc. (NASDAQ: COIN) from $220 to $300 on March 13th. Ryan mentioned that the possible future for the regulated market will contain Coinbase being the surveillance partner and custodian for spot Bitcoin ETFs driving growth.This price correction happened at a time when there’s tremendously high institutional demand for cryptocurrency investment and the spot Bitcoin ETFs are bringing in a lot of capital flows.JMP Securities anticipates that the total inflows to spot Bitcoin ETFs will be between $200 to $220 billion over the next three years. This forecast followed the influx of institutional investments, during the course of which assets under management in Bitcoin ETFs surpassed the $58 billion mark within two months.The last market sentiment shift towards Coinbase occurred simultaneously with spot Bitcoin ETFs performing well, especially BlackRock and Fidelity Bitcoin ETFs strongly influencing institutional inflow. Investment banking giants such as Goldman Sachs upgraded their rating on Coinbase shares, adjusting their price target to $282. And like that, Raymond James upgraded Coinbase from “underperform” to “market perform” indicating the growing confidence in the company’s future.Coinbase’s Strategic Initiatives and Fundraising PlansOn March 12 Coinbase officially announced its plan to issue $1 billion worth of convertible senior notes, similar to Michael Saylor’s MicroStrategy, to repay debts and for general business purposes.Through the issuing of convertible notes, Coinbase can tap into capital while investors can also get the option to exchange the debt notes with the company shares at a later time. This measure is in line with Coinbase’s strategy of shoring up its financial base and targeting strategic growth.ARK Invest Sell-offYes, Coinbase is doing well, but ARK funds managed by Cathie Wood took a profit-taking position after Coinbase shares went up in price. ARK Invest sold off 270,000 Coinbase shares valued at nearly $69 million on Monday, while they were also seen selling 106,000 shares valued at around $27 million on Tuesday. Despite this, Coinbase’s price has risen an impressive 63% during that period, ending Tuesday at $256.14.In short …Coinbase’s strategic actions, such as the issuance of convertible notes, demonstrate the company’s determination to benefit from market trends while making the business robust. The evolution of institutional participation is likely to see Coinbase rise to the position of a market leader, driving the future of the cryptocurrency environment. TagsBitcoin Crypto news",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-21 14:19:58",
|
||
"updated_time": "2024-03-21 14:19:58",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 15,
|
||
"org_id": 139,
|
||
"spider_id": 1,
|
||
"tag": "#Blockchain",
|
||
"category": "Coinpedia",
|
||
"main_title": "Bitcoin Price Will Not Drop Below This Level: Predicts Galaxy Digital CEO Novogratz",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": [],
|
||
"seo_keywords": [
|
||
"Bitcoin",
|
||
"Crypto news"
|
||
],
|
||
"tags": [
|
||
"#Blockchain"
|
||
],
|
||
"url": "https://coinpedia.org/news/galaxy-digital-ceo-novogratz-predicts-bitcoin-price-stability-above-50000-amidst-market-dynamics/",
|
||
"image_url": "",
|
||
"content": "In a recent CNBC interview, the CEO of Galaxy Digital, Michael Novogratz explained the reasons behind the recent rally in Bitcoin prices and what it means for the cryptocurrency market as a whole. Novogratz highlighted the chance of Bitcoin staying solid above the $50,000 mark, with anything dramatic occurring out of the blue being the only exception. Advertisement Let’s delve deeper into his analysis to understand what are the factors that are driving Bitcoin’s price dynamic, and why he believes that BTC won’t go below $50,000.Bitcoin’s New ATH at $73,000Novogratz emphasized Bitcoin’s soaring prices which reached an all-time high (ATH) at $73,000 showing that there are still positive trends in the market. Simultaneously, Ethereum breaks through the $4,000 barrier.As Novogratz explains, the recent Bitcoin price surge is mostly attributed to supply and demand considerations, without any liquidity-related or other market factors coming into play. He considered this phenomenon as a result of a major shift of mindset in the United States, where Bitcoin gradually becomes more and more popular. Novogratz said that this endorsement was like a confidence vote to the Americans and an indication of increased approbation of digital assets.However, keeping the volatile nature of Bitcoin in mind, Novogratz emphasized that if there are no dramatic events of any kind, the price of Bitcoin is going to remain above $50,000. This stability, he pointed out, has resulted from the existence of ETFs and the continued institutional investment into the market through these ETFs. Nevertheless, Novogratz stressed that it was important to be careful during periods of irrational exuberance when funding rates are high.Also Read: Institutional Influx: BlackRock’s Bitcoin ETF Witnesses Surge in Holdings Amid Record-Breaking InflowsPolitical Impact on Bitcoin Price Novogratz, emphasizing the connection between Bitcoin prices and conventional assets such as gold, addressed political underpinning and monetary policy as the principal stimuli. He stressed that the problem is with excessive government spending especially noticeable in President Biden’s budget with a trillion-dollar and more deficit. “Bitcoin has always been a report card on fiscal stewardship. And we have got no stewardship in D.C. right now,” says Mike.Evaluating the purpose of Bitcoin within the context of monetary policy, Novogratz stressed its importance as a key yardstick. He described the fact that “The genius of Bitcoin rally is that white paper sets the monetary policy for this ecosystem in code,” while fiat money changes at the discretion of particular governments. Novogratz underlined that Bitcoin helps people preserve their wealth when the economy of the State is not stable.Potential Ethereum ETF When?Novogratz also expressed a view on predictions of Ethereum ETF that could affect the crypto market. Even though there is a heated discussion within the SEC on the subject of firstly classifying Ethereum as a security, it seems that Novogratz is quite optimistic about securing approval for an ETF. He did not miss taking Bitcoin’s roadmap as his example and envisioned the same result for Ethereum.Ending Note…Bitcoin will probably hold a level above $50,000. Shortly, we will be facing regulatory developments, fiscal policies, and market sentiment. The impact of the political landscape and fiscal policy on private-sector investments is a pertinent issue. TagsBitcoin Crypto news",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-21 14:19:58",
|
||
"updated_time": "2024-03-21 14:19:58",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 14,
|
||
"org_id": 138,
|
||
"spider_id": 1,
|
||
"tag": "#Blockchain",
|
||
"category": "Coinpedia",
|
||
"main_title": "Shiba Inu Surpasses DOGE and Solana in Weekly Trade Volume Amid Meme Coin Frenzy",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": [],
|
||
"seo_keywords": [
|
||
"Crypto news"
|
||
],
|
||
"tags": [
|
||
"#Blockchain"
|
||
],
|
||
"url": "https://coinpedia.org/news/shiba-inu-surpasses-doge-and-solana-in-weekly-trade-volume-amid-meme-coin-frenzy/",
|
||
"image_url": "",
|
||
"content": "Among the altcoins market, the Shiba Inu (SHIB) has taken the lead and exceeded the weekly trade volume of both Dogecoin (DOGE) and Solana (SOL). Additionally, the skyrocketing of SHIB’s trading activity is heading parallel with the meme coin mania, where more people are coming to invest in these promising currencies that offer investors the opportunity to make amazing returns. Advertisement SHIB Leads Weekly Trade VolumeRecords from Kaiko show the trading volume of Shiba Inu hit a mind-blowing figure of $31 billion per week which was way more enormous than the $23 billion raked up by Dogecoin in the same period. This huge increase in the trade volume of SHIB also made it the highest in a league of other large altcoins among them Solana.The entire meme coins market had an unparalleled rise in the volume of trading which culminated in a great $80 billion. Apart from SHIB and DOGE, other meme tokens including Pepe Coin (PEPE), Dogwifhat (WIF) and BONK (BONK) also sent the market price to a new record. These cryptocurrencies, which had been enjoying a steep rise, were driving the overall trade volume up to the new maximum level.SHIB and DOGE’s Price Volatility On the contrary, both Shiba Inu and Dogecoin have obvious pullbacks and drops in their prices. SHIB’s price tumbled by 1.81% to $0.00003162 and more significantly, trade volume also dropped by 5.72%, to $1.57 billion. In the same sequence, DOGE also had a fall in price by 2.20% to $0.1659, the trade volume share was 2.36% less than a day average of $2.43 billion.Optimism Surrounding SHIB ETFThe Shiba Inu community has been working on ways to improve the SHIB tokens, with a specific interest in the possibility of launching a SHIB ETF. The reports claim that Grayscale Investments is thinking of investing significantly in SHIB, which has made people discuss about the potential launch of an ETF. This initiative resembles the optimism that was associated with the introduction of Spot Bitcoin ETFs and strives to integrate Shiba Inu into the ETF sphere.The proposal of the SHIB ETF has aroused great interest, receiving more than 6,000 votes in support. Following the volatility in SHIB trading, the community stays positive about the ETF launch and its probable effect on future price movements. Also Read: Reddit Tokens MOON and DONUT Surge Ahead of Reddit’s IPO Amidst Bullish Market SentimentIt should be noted though that the SHIB ETF is still in its early stages of consideration, and its realization depends among other things on regulatory approval and market conditions.Ending note … The meme coin market is still dominated by Shiba Inu, and it traded more than Dogecoin and Solana among the traditional players. This means that the crypto community is still interested in meme tokens. As the proposed SHIB ETF is gaining momentum, investors are keeping a sharp eye on the ever-changing nature of this space. They are walking the tightrope of volatility and are looking for ways to benefit from such a dynamic environment. TagsCrypto news",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-21 14:19:58",
|
||
"updated_time": "2024-03-21 14:19:58",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 13,
|
||
"org_id": 137,
|
||
"spider_id": 1,
|
||
"tag": "#Blockchain",
|
||
"category": "Coinpedia",
|
||
"main_title": "Why Binance (BNB) Price Surged More Than 40% Today?",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": [],
|
||
"seo_keywords": [],
|
||
"tags": [
|
||
"#Blockchain"
|
||
],
|
||
"url": "https://coinpedia.org/news/why-binance-bnb-price-surged-more-than-40-today/",
|
||
"image_url": "",
|
||
"content": "Story HighlightsBNB surged over 43% this week, reaching $613, spurred by the announcement of BEP 336 upgrade.BSC's roadmap outlines BEP 336 integration, starting with a testnet in April.Technical analysis suggests BNB may test $675 resistance if it crosses $631.BNB, the token powering the BNB Chain has experienced a remarkable surge of over 43% this week, hovering at $613 which was last seen in Dec 2021. This surge coincides with the announcement of the “BEP 336 upgrade,” aimed at optimizing data storage and processing on the BNB Chain, inspired by Ethereum’s Dencun upgrade (EIP 4844). Advertisement Introduction of BEP 336 upgradeThe BEP 336 upgrade introduces “Blob-Carrying Transactions” (BlobTx), a groundbreaking concept altering the handling of large data blocks on the Binance Smart Chain (BSC). Blobs, temporary and cost-effective memory segments, efficiently capture data blocks up to 128 KB, streamlining transaction verification. This new approach reduces network space consumption, offering users lower storage costs and more affordable gas costs, similar to the Ethereum Dencun upgrade. BEP 336 upgrade also adds two new features, the first is the Blob Market for regulated storage costs and the second is the introduction of a Precompile Contract for security purposes. Roadmap for BEP 336 IntegrationThe BSC outlined the strategy for BEP 336 integration, starting with the delivery of a testnet in April, followed by a magnet phase for further testing and optimization in May. Later, the Mainnet hard fork in June marks the official deployment, aimed at improving network quality and scalability.Meanwhile, the development of the BEP 336 upgrade is poised to greatly benefit developers and users of the BSC ecosystem. It promises lower gas fees, blockchain flexibility, and improved network performance, making BSC more accessible to developers and newcomers.Where is BNB Price Heading?According to technical analysis, a bullish move will be seen if Binance’s price crosses the $631 resistance level, which will test the upper resistance at $675. Continued holding at this level could push the face value to $700.However, with the announcement of BEP 336, the price of Binance Coin (BNB) surged more than 14%, to $613.",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-21 14:19:58",
|
||
"updated_time": "2024-03-21 14:19:58",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST News草稿列表
|
||
|
||
POST /api/v1/news/draft/list
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"id": 8,
|
||
"order_asc": false,
|
||
"search": "",
|
||
"page_no": 0,
|
||
"page_size": 10
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 6,
|
||
"count": 6
|
||
},
|
||
"data": {
|
||
"list": [
|
||
{
|
||
"id": 6,
|
||
"news_id": 0,
|
||
"org_id": 0,
|
||
"category": "分类",
|
||
"main_title": "主标题",
|
||
"sub_title": "副标题",
|
||
"summary": "摘要信息",
|
||
"keywords": [
|
||
"Bitcoin",
|
||
"Ethereum",
|
||
"Filecoin"
|
||
],
|
||
"seo_keywords": [
|
||
"Bitcoin",
|
||
"Ethereum",
|
||
"Filecoin"
|
||
],
|
||
"tags": [
|
||
"#Blockchain",
|
||
"#AI",
|
||
"#Coincap"
|
||
],
|
||
"image_url": "https://www.baidu.com/images/asrw2342342342.png",
|
||
"content": "这是我自己新增的一条新闻,新增后自动进入草稿箱,在未发布前只存在于草稿箱中;提交完成后返回草稿箱数据ID;草稿箱URI:/api/v1/news/draft/list",
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"created_time": "2024-03-21 11:45:54",
|
||
"updated_time": "2024-03-21 11:45:54",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 5,
|
||
"news_id": 0,
|
||
"org_id": 0,
|
||
"category": "",
|
||
"main_title": "",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": null,
|
||
"seo_keywords": null,
|
||
"tags": null,
|
||
"image_url": "",
|
||
"content": "这是我自己新增的一条新闻,新增后自动进入草稿箱,在未发布前只存在于草稿箱中;提交完成后返回草稿箱数据ID;草稿箱URI:/api/v1/news/draft/list",
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"created_time": "2024-03-21 11:44:55",
|
||
"updated_time": "2024-03-21 11:44:55",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 4,
|
||
"news_id": 0,
|
||
"org_id": 0,
|
||
"category": "",
|
||
"main_title": "",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": [],
|
||
"seo_keywords": [],
|
||
"tags": [],
|
||
"image_url": "",
|
||
"content": "这是我自己新增的一条新闻,新增后自动进入草稿箱,在未发布前只存在于草稿箱中;提交完成后返回草稿箱数据ID;草稿箱URI:/api/v1/news/draft/list",
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"created_time": "2024-03-21 11:37:43",
|
||
"updated_time": "2024-03-21 11:37:43",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 2,
|
||
"news_id": 0,
|
||
"org_id": 0,
|
||
"category": "",
|
||
"main_title": "",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": [],
|
||
"seo_keywords": [],
|
||
"tags": [],
|
||
"image_url": "",
|
||
"content": "这是我自己新增的一条新闻,新增后自动进入草稿箱,在未发布前只存在于草稿箱中;提交完成后返回草稿箱数据ID;草稿箱URI:/api/v1/news/draft/list (编辑草稿并提交)",
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"created_time": "2024-03-21 10:59:31",
|
||
"updated_time": "2024-03-21 11:28:55",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 3,
|
||
"news_id": 1,
|
||
"org_id": 104,
|
||
"category": "",
|
||
"main_title": "",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": [],
|
||
"seo_keywords": [],
|
||
"tags": [],
|
||
"image_url": "",
|
||
"content": "编辑新闻(新闻ID=1),提交后后自动进入草稿箱,在未发布前只存在于草稿箱中;草稿箱URI:/api/v1/news/draft/list;打开草稿箱,找到未发布的新闻,点击发布后会如果编辑来源是AI新闻则新创建一条数据,如果是人工编辑过的数据则覆盖原来的数据",
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"created_time": "2024-03-21 11:02:54",
|
||
"updated_time": "2024-03-21 11:02:54",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 1,
|
||
"news_id": 0,
|
||
"org_id": 0,
|
||
"category": "",
|
||
"main_title": "",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": [],
|
||
"seo_keywords": [],
|
||
"tags": [],
|
||
"image_url": "",
|
||
"content": "这是我自己新增的一条新闻,新增后自动进入草稿箱,在未发布前只存在于草稿箱中",
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"created_time": "2024-03-21 10:57:39",
|
||
"updated_time": "2024-03-21 10:57:39",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST Q&A列表
|
||
|
||
POST /api/v1/qa/list
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"id": 0,
|
||
"is_deleted": true,
|
||
"search": "",
|
||
"language": "zh-CN",
|
||
"page_no": 0,
|
||
"page_size": 10
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» is_deleted|body|boolean| 是 |查询已删除数据|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 2,
|
||
"count": 2
|
||
},
|
||
"data": {
|
||
"list": [
|
||
{
|
||
"id": 2,
|
||
"org_id": 1,
|
||
"question": "比特币在区块链中是什么地位?",
|
||
"answer": "龙头老大",
|
||
"state": 0,
|
||
"is_overwritten": true,
|
||
"is_replicate": false,
|
||
"is_deleted": false,
|
||
"created_time": "2024-03-21 13:45:20",
|
||
"updated_time": "2024-03-21 13:45:20",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 1,
|
||
"org_id": 1,
|
||
"question": "你好",
|
||
"answer": "在呢,请问您有什么问题要问我呢?",
|
||
"state": 0,
|
||
"is_overwritten": true,
|
||
"is_replicate": false,
|
||
"is_deleted": false,
|
||
"created_time": "2024-03-21 13:26:04",
|
||
"updated_time": "2024-03-21 13:46:04",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST 标签列表
|
||
|
||
POST /api/v1/tag/list
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"order_asc": false,
|
||
"language": "",
|
||
"page_no": 0,
|
||
"page_size": 10
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 3,
|
||
"count": 3
|
||
},
|
||
"data": {
|
||
"list": [
|
||
{
|
||
"id": 1,
|
||
"name": "#All",
|
||
"is_inherent": true,
|
||
"is_deleted": false,
|
||
"created_time": "2024-03-14 14:36:46",
|
||
"updated_time": "2024-03-20 14:04:49",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 2,
|
||
"name": "#AI",
|
||
"is_inherent": true,
|
||
"is_deleted": false,
|
||
"created_time": "2024-03-14 14:36:55",
|
||
"updated_time": "2024-03-14 14:36:55",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 3,
|
||
"name": "#Blockchain",
|
||
"is_inherent": true,
|
||
"is_deleted": false,
|
||
"created_time": "2024-03-14 14:37:02",
|
||
"updated_time": "2024-03-14 14:37:02",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST 标签新增
|
||
|
||
POST /api/v1/tag/add
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"name": "#Ethereum2",
|
||
"language": "zh-CN"
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 3,
|
||
"count": 3
|
||
},
|
||
"data": {
|
||
"list": [
|
||
{
|
||
"id": 1,
|
||
"name": "#All",
|
||
"is_inherent": true,
|
||
"is_deleted": false,
|
||
"created_time": "2024-03-14 14:36:46",
|
||
"updated_time": "2024-03-20 14:04:49",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 2,
|
||
"name": "#AI",
|
||
"is_inherent": true,
|
||
"is_deleted": false,
|
||
"created_time": "2024-03-14 14:36:55",
|
||
"updated_time": "2024-03-14 14:36:55",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 3,
|
||
"name": "#Blockchain",
|
||
"is_inherent": true,
|
||
"is_deleted": false,
|
||
"created_time": "2024-03-14 14:37:02",
|
||
"updated_time": "2024-03-14 14:37:02",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST 标签编辑
|
||
|
||
POST /api/v1/tag/edit
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"id": 6,
|
||
"name": "#ChatGPT",
|
||
"language": "zh-CN"
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST 标签删除
|
||
|
||
POST /api/v1/tag/delete
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"ids": [
|
||
4,
|
||
5
|
||
]
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST Q&A草稿列表
|
||
|
||
POST /api/v1/qa/draft/list
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"order_asc": false,
|
||
"search": "",
|
||
"page_no": 0,
|
||
"page_size": 10
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 3,
|
||
"count": 3
|
||
},
|
||
"data": {
|
||
"list": [
|
||
{
|
||
"id": 3,
|
||
"qa_id": 1,
|
||
"org_id": 1,
|
||
"question": "【编辑新闻ID=1】你好,AI!",
|
||
"answer": "在呢,请问您有什么问题要问我呢?",
|
||
"is_overwritten": false,
|
||
"is_replicate": false,
|
||
"is_deleted": false,
|
||
"created_time": "2024-03-21 13:31:10",
|
||
"updated_time": "2024-03-21 13:31:10",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 2,
|
||
"qa_id": 0,
|
||
"org_id": 0,
|
||
"question": "比特币在区块链中是什么地位?",
|
||
"answer": "龙头老大",
|
||
"is_overwritten": false,
|
||
"is_replicate": false,
|
||
"is_deleted": false,
|
||
"created_time": "2024-03-21 13:29:13",
|
||
"updated_time": "2024-03-21 13:29:13",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 1,
|
||
"qa_id": 0,
|
||
"org_id": 0,
|
||
"question": "比特币在区块链中是什么地位?",
|
||
"answer": "龙头老大",
|
||
"is_overwritten": false,
|
||
"is_replicate": false,
|
||
"is_deleted": false,
|
||
"created_time": "2024-03-21 13:27:47",
|
||
"updated_time": "2024-03-21 13:27:47",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST 订阅文章列表(今日)
|
||
|
||
POST /api/v1/sub/list/today
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"search": "",
|
||
"page_no": 0,
|
||
"page_size": 10
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {
|
||
"list": [
|
||
{
|
||
"id": 5,
|
||
"org_id": 129,
|
||
"spider_id": 1,
|
||
"tag": "#Blockchain",
|
||
"category": "Coindesk",
|
||
"main_title": "Bitcoin Could Drop to $58K as Cool-Off Period Is Imminent, Swissblock Says",
|
||
"sub_title": "Bitcoin nearly doubled in price since late January, but a \"counter move seems to be near,\" Swissblock analysts said.",
|
||
"summary": "",
|
||
"keywords": [
|
||
"Markets",
|
||
"Bitcoin",
|
||
"Swissblock technologies",
|
||
"Matrixport"
|
||
],
|
||
"seo_keywords": [
|
||
"bitcoin",
|
||
"bitcoin price",
|
||
"btc price"
|
||
],
|
||
"tags": [
|
||
"#Blockchain"
|
||
],
|
||
"url": "https://www.coindesk.com/markets/2024/03/13/bitcoin-could-drop-to-58k-as-cool-off-period-is-imminent-swissblock-says/",
|
||
"image_url": "",
|
||
"content": "Bitcoin's rally shows waning momentum, underscored by a negative divergence between its price and the RSI momentum indicator, Swissblock analysts noted.BTC could drop as much as 20% from current prices in the near term, but the uptrend will resume Swissblock forecasted.Bitcoin (BTC) has been climbing ever-higher over the past month, notching new all-time highs on the way with every dip bought up quickly, but the largest crypto may be poised for a cool-off phase, analysts warned.Digital asset analytics firm Swissblock said in a note on Wednesday that bitcoin nearly doubled in price from $38,000 in late January without any meaningful pullbacks, and a cooling period could be imminent.\"Nothing rallies in a straight line. Not even BTC,\" Swissblock analysts said in a Telegram update. \"A counter move seems to be near.\"Swissblock analysts based their forecast on the negative bearish divergence between bitcoin's price inching higher but dwindling relative strength index (RSI) on the 4-hour chart, foreshadowing lower prices. The RSI is a widely used momentum indicator that measures the speed and size of an asset's price changes.The pullback could materialize as soon as in the next few days, according to a chart by Swissblock analyst Henrik Zeberg. But, in the bigger picture, lower prices will be a temporary setback before the uptrend eventually resumes to new highs.\"We see BTC dropping to $58,000-$59,000 in the next move,\" they said, representing a 20% decline from current prices. \"But the top is not in.\"Bitcoin could drop to $58,000 in the near-future (Swissblock)Crypto investment services firm Matrixport also noted Tuesday that bitcoin's rally is running out of fuel and forecasted a period of consolidation. \"This bull market still has legs, but the divergence between a declining RSI and still high bitcoin prices could signal that BTC needs to consolidate before rallying again,\" Matrixport analysts said.Read more: Ether Could See Price Correction After Dencun Upgrade, QCP Capital SaysSkyrocketing meme coin prices could also signal an impending pullback, as rotating profits from large-cap cryptos to riskier tokens was often the last stage in a crypto uptrend. For example, pepe coin's (PEPE) breakneck rally last May presaged a 15% decline in bitcoin's price in the following month.BTC recently changed hands slightly above $73,000, up 2.6% over the past 24 hours. The broad-market Coindesk 20 Index (CD20) advanced 4% during the same period.Edited by Aoyon Ashraf.",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 1,
|
||
"created_time": "2024-03-21 14:19:57",
|
||
"updated_time": "2024-03-25 18:12:07",
|
||
"extra_data": {
|
||
"logs": [
|
||
{
|
||
"oper_user": "lory",
|
||
"oper_time": "2024-03-21 18:46:03",
|
||
"oper_type": "edit"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST 订阅文章列表(全部)
|
||
|
||
POST /api/v1/sub/list/all
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"page_no": 0,
|
||
"page_size": 10
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 15,
|
||
"count": 10
|
||
},
|
||
"data": {
|
||
"list": [
|
||
{
|
||
"id": 9,
|
||
"org_id": 133,
|
||
"spider_id": 1,
|
||
"tag": "#Blockchain",
|
||
"category": "Coinpedia",
|
||
"main_title": "Reddit-Based Altcoins To See Massive Rally In Coming Days Ahead of IPO",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": [],
|
||
"seo_keywords": [
|
||
"Crypto news"
|
||
],
|
||
"tags": [
|
||
"#Blockchain"
|
||
],
|
||
"url": "https://coinpedia.org/news/reddit-tokens-moon-and-donut-surge-ahead-of-reddits-ipo-amidst-bullish-market-sentiment/",
|
||
"image_url": "",
|
||
"content": "Two Reddit-based tokens, MOON and DONUT, have recently seen their prices skyrocketing to the moon with Reddit’s IPO in sight, demonstrating the enthusiasm of users in the community-supported cryptos. The increase in these tokens’ prices is attributed to the rising hope for the Reddit’s IPO, together with the positive sentiment throughout cryptocurrency market. Advertisement Renewed Interest in MOON and DONUTThe recent renewed interest in Moon and Donut has revived after Reddit’s IPO. MOON, the native token of the r/CryptoCurrency subreddit, shows amazing growth of 29% over the past week and 104% on a monthly basis. Also, DONUT, a governance token for rewarding contributors to the r/ethtrader subreddit, is up over 100% in past 24 hours and has increased more than 117% WoW and 215% MoM. These notable increases show the rising interests and demand for Reddit’s tokens before the platform goes for the IPO.The upcoming IPO of Reddit, which is aimed at the valuation of around $6.4 billion, has contributed to the mounting investor attention in MOON and DONUT. Investors are buying these tokens in the hope that a possible bull run will follow the company’s successful public offering. Success of an IPO may have a significant effect on prices of these community tokens thereby causing the increase of their values.Also Read: Shiba Inu Surpasses DOGE and Solana in Weekly Trade Volume Amid Meme Coin FrenzyThe Market Dynamics and Crypto Bull Run will be discussed.The underlying phenomenon that influenced the rise in the prices of MOON and DONUT is the broader cryptocurrency bull market also significantly. With cryptocurrencies price fluctuation and forecasts, the chats within Reddit crypto communities have been more frequent and heated, thus, resulting in more and more token exchange among the members. However, compared to crypto-focused tokens like MOON and DONUT, other community tokens such as BRICK, associated with the Fortnite subreddit, have shown slower price growth.Caution Amidst IPO SpeculationInvestors in the highly volatile crypto assets, MOON and DONUT, are instructed to be extra careful as the performance of the Reddit IPO can generate a price correction for these tokens. Apart from Reddit there were some other IPOs, such as the ones of Arm Holdings, Instacart, and Birkenstock, that have not had outstanding results, sparking concerns about Reddit’s IPO. Besides, Reddit’s track record of incurring losses and the content moderation difficulties may draw the general public’s attention and this, in the long run, may affect the overall performance of its IPO and, thus, the prices of the community tokens.Crypto market is one of the highly volatile market. Though there is the conundrum of an IPO for Reddit, the experience could be a trigger for the common use of community tokens and the integration of cryptocurrencies into social platforms. This ICO can serve as a trigger for other Web2 platforms to venture into developing their own cryptocurrency tokens such as Telegram and X ($formerly Twitter). It will go further to drive innovation and adoption in the cryptocurrency market.ConclusionWhile Reddit is set to hit the market with its initial public offering, the attention is directed at the community tokens like MOON and DONUT that have witnessed an increase in price during a time when many investors are interested in acquiring them. Although the IPO success of Reddit’s coin can help to generate further surge in these tokens’ rates, investors should still remain cautious and follow the market trends carefully. TagsCrypto news",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-21 14:19:58",
|
||
"updated_time": "2024-03-21 18:46:53",
|
||
"extra_data": {
|
||
"logs": [
|
||
{
|
||
"oper_user": "lory",
|
||
"oper_time": "2024-03-21 18:46:03",
|
||
"oper_type": "edit"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": 4,
|
||
"org_id": 0,
|
||
"spider_id": 0,
|
||
"tag": "",
|
||
"category": "分类",
|
||
"main_title": "主标题",
|
||
"sub_title": "副标题",
|
||
"summary": "摘要信息",
|
||
"keywords": [
|
||
"Bitcoin",
|
||
"Ethereum",
|
||
"Filecoin"
|
||
],
|
||
"seo_keywords": [
|
||
"Bitcoin",
|
||
"Ethereum",
|
||
"Filecoin"
|
||
],
|
||
"tags": [
|
||
"#Blockchain",
|
||
"#AI",
|
||
"#Coincap"
|
||
],
|
||
"url": "",
|
||
"image_url": "https://www.baidu.com/images/asrw2342342342.png",
|
||
"content": "这是我自己新增的一条新闻,新增后自动进入草稿箱,在未发布前只存在于草稿箱中;提交完成后返回草稿箱数据ID;草稿箱URI:/api/v1/news/draft/list (编辑草稿并提交)",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-21 11:55:34",
|
||
"updated_time": "2024-03-21 18:46:49",
|
||
"extra_data": {
|
||
"logs": [
|
||
{
|
||
"oper_user": "lory",
|
||
"oper_time": "2024-03-21 18:46:03",
|
||
"oper_type": "edit"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": 8,
|
||
"org_id": 132,
|
||
"spider_id": 1,
|
||
"tag": "#Blockchain",
|
||
"category": "Coinpedia",
|
||
"main_title": "Institutional Influx: BlackRock’s Bitcoin ETF Witnesses Surge in Holdings Amid Record-Breaking Inflows",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": [],
|
||
"seo_keywords": [
|
||
"Crypto news"
|
||
],
|
||
"tags": [
|
||
"#Blockchain"
|
||
],
|
||
"url": "https://coinpedia.org/news/institutional-influx-blackrocks-bitcoin-etf-witnesses-surge-in-holdings-amid-record-breaking-inflows/",
|
||
"image_url": "",
|
||
"content": "At the time of writing, the BlackRock iShares Bitcoin Trust (IBIT) has recorded an increase in the number of Bitcoin holdings, which are currently over 200,000 with a value of approximately $14.76 billion, as of March 11, 2024. Advertisement This notable increase of 116% took place following a sudden institutional influx through the spot Bitcoin ETFs market. This is yet another milestone not only for Bitcoin but also for the whole digital assets market.BlackRock’s Bitcoin Ownership and ETF BloomBlackRock’s IBIT Bitcoin holdings reportedly exceeded 200,000 and are now up to 203,754.8 Bitcoins bearing a market value of $14.76 billion.The released data likewise revealed other critical information about iShares Bitcoin Trust, including its Net Asset Value (NAV) of $41.27 as of March 11, 2024. The ETF appreciated 4.55% at NAV that day.BlackRock also provided insights into the fees associated with IBIT, stating a Sponsor Fee of 0.25%. However, the company announced a fee waiver for the first 12 months, reducing the Sponsor Fee to 0.12% for the first $5.0 billion of the Trust’s assets. Beyond this period or if the fund exceeds $5.0 billion within the 12 months, the Sponsor’s Fee will revert to 0.25%.As officially updated on its website, the BlackRock iShares Bitcoin Trust (IBIT) has witnessed a surge in Bitcoin holdings, reaching over 200,000 Bitcoins with a market value of approximately $14.76 billion as of March 11, 2024. This notable increase coincided with an unprecedented influx of institutional investments into the U.S. Spot Bitcoin ETFs market, marking another milestone not only for Bitcoin but also for the digital asset space.Phenomenal Inflow through Spot Bitcoin ETFsOnly today, the US Spot Bitcoin ETFs have managed to record a massive inflow of institutional investments worth $505.6 million according to the provisional data of Farside UK.The limelight is on the institutional giants BlackRock’s IBIT and Fidelity’s Bitcoin Trust (FBTC) as they jointly pocketed an astounding amount of $775 million in inflows. On the 20th of February, BlackRock’s IBIT witnessed a record-breaking high when it received a $562.9 million inflow. The FBTC generated a $215.5 million inflow.Yet, despite the increase in the number of investors who are trading digital assets and the surprisingly high incomes through the BTC ETFs, Grayscale’s Bitcoin Trust (GBTC) recorded great outflows.The increase in Bitcoin as well as ETF inflows also happened concurrently with the upsurge in the new all-time high for Bitcoin that surpassed $72,000. Experts attribute the uptrend to the positive events in the Bitcoin ETF universe and the anticipated Bitcoin halving which are the main determinants of the current bullish movement.Bitcoin’s price currently is $72,155.372, but its fluctuation makes the trading volume for the last 24 hours to amount $55.95 billion.In conclusion …The growing inflow of institutional investing into Bitcoin ETFs has immense consequences for the cryptocurrency market at large. BlackRock’s Bitcoin position surged substantially and the largest ever inflows into the U.S. Spot Bitcoin ETF proved that the cryptocurrency market is more mature and capable of weathering the craziest storms. TagsCrypto news",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-21 14:19:58",
|
||
"updated_time": "2024-03-21 14:19:58",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 10,
|
||
"org_id": 134,
|
||
"spider_id": 1,
|
||
"tag": "#Blockchain",
|
||
"category": "Coindesk",
|
||
"main_title": "Why Prime Brokers Could Be a Source of Crypto Contagion",
|
||
"sub_title": "Prime brokers are a new source of liquidity in this cycle, which could be good and bad in the long-run, says Phillip Moran, CEO of the Digital Opportunities Group.",
|
||
"summary": "",
|
||
"keywords": [
|
||
"Opinion",
|
||
"Crypto Long & Short",
|
||
"Prime Brokerage",
|
||
"Prime Brokers",
|
||
"Liquidity",
|
||
"Bull cycle",
|
||
"Risk Management",
|
||
"Institutional Adoption"
|
||
],
|
||
"seo_keywords": null,
|
||
"tags": [
|
||
"#Blockchain"
|
||
],
|
||
"url": "https://www.coindesk.com/markets/2024/03/13/why-prime-brokers-could-be-a-source-of-crypto-contagion/",
|
||
"image_url": "",
|
||
"content": "Digital asset markets have been vibrant recently, and this has been a great respite after almost two years of crypto winter. I do not want to throw a wet towel on current sentiment, but it is good to remember that the seeds of the next crash are often sown during the good times.Because risk management is the primary job of all portfolio managers, here I want to opine on one potential scenario if this bull market continues for another 18-plus months.Here is why I think the potential nexus for future contagion could be prime brokers (PBs).Why? Because 1) PBs are emerging as a major player and lender in crypto markets and2) The current lending standards of PBs are tight, largely lending to low drawdown strategies (like delta-neutral), and presents low systemic risk. But, 3), if expected returns of delta-neutral strategies decline, then PBs may move out the risk curve in terms of who they are willing to lend to and what services they offer, which could brew systemic risk.During the last bullish cycle, lenders increased the violence of the implosions that we witnessed. Leverage was hidden across a network of entities (BlockFi, Voyager, etc.), with concentration at certain nodes (3AC, Alameda). The lenders of the old-world are largely gone, but there is a new source of liquidity: prime brokers (PBs).Currently, PBs generate most of their revenues through 1) trading revenues from market access, and 2) lending revenues from lending, typically to delta-neutral strategies.Funding arbitrage is a strategy which benefits from market demand to go long via derivatives. This exploits the funding interest rates paid out from perpetual swaps (a crypto derivative product) by going long on spot and short perpetual swaps (or vice versa). This generates attractive yields and exploits market demand to go levered long, while not exposing the strategy to directional market moves. If the strategy is implemented well, the risk is very low, which makes it a popular strategy for PBs to lend to.While funding rates are currently elevated from recent upside price action, I believe it is reasonable to expect the returns to come down as more money flows into these lower-risk strategies. With returns declining in funding arbitrage, we will likely see returns in other lower risk strategies fall. If expected returns decline below the borrow cost from PB loans, then the PBs will be forced to make the decision to move out the risk spectrum or reconsider their product offerings.What could this apocalyptic future fueled by crypto PB collapse look like? What could it be fueled by?Here are a couple ideas:Further aggregation of liquidity through PBs: Increasing volume requirements for better fee tiers at centralized exchanges, like Binance and OKX, will push most traders to access the market through PBs instead of their own master accounts.Synthetics, swaps, other derivatives: If trading directly on exchange becomes restricted (either due to the exchanges themselves limiting direct access, or the PBs limiting access), this may create a market of derivatives for traders where the PB will clear the other side (usually this is a swap mechanism). This opens the door for accounting issues, or leverage shenanigans.We should enjoy the good times while they are here, while also considering future disaster scenarios. Stay safe out there, everyone.Edited by Benjamin Schiller.",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-21 14:19:58",
|
||
"updated_time": "2024-03-21 14:19:58",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 11,
|
||
"org_id": 135,
|
||
"spider_id": 1,
|
||
"tag": "#Blockchain",
|
||
"category": "Coindesk",
|
||
"main_title": "Arbitrum's ARB, Polygon's MATIC Lead Gains as Ethereum's Dencun Upgrade Goes Live",
|
||
"sub_title": "Ethereum's Dencun upgrade enabled a new way of storing data that was forecast to dramatically cut costs for interacting with layer-2 networks.",
|
||
"summary": "",
|
||
"keywords": [
|
||
"Ethereum",
|
||
"Dencun",
|
||
"Layer 2s",
|
||
"Polygon",
|
||
"Arbitrum",
|
||
"Markets"
|
||
],
|
||
"seo_keywords": [
|
||
"dencun upgrade",
|
||
"ethereum",
|
||
"layer 2",
|
||
"polygon",
|
||
"arbitrum"
|
||
],
|
||
"tags": [
|
||
"#Blockchain"
|
||
],
|
||
"url": "https://www.coindesk.com/markets/2024/03/13/arbitrums-arb-polygons-matic-lead-gains-as-ethereums-dencun-upgrade-goes-live/",
|
||
"image_url": "",
|
||
"content": "Layer 2 cryptocurrencies provided a mixed performance as the Ethereum blockchain's Decncun upgrade went live.Tokens of Polygon, Arbitrum and Starknet led gains while Immutable X and Celo declined.Cryptocurrencies adjacent to the Ethereum network offered a mixed performance on Wednesday as the blockchain's much-anticipated Dencun upgrade went live, enabling cheaper transactions on layer-2 (L2) protocols.Read more: Ethereum Finalizes 'Dencun' Upgrade, in Landmark Move to Reduce Data FeesNative tokens of Polygon (MATIC) and Arbitrum (ARB) added 8%-10% before the upgrade, retracing some of the advance by the time the upgrade kicked in at 13:55 UTC. The two are still up 6%-7% over the past 24 hours, while METIS' 2% gain outperformed the broad-market CoinDesk 20 Index's (CD20) 1.5% advance.Starknet (STRK) had been falling until the upgrade activated, then shot up almost 10%, erasing earlier losses. It was recently 6% higher over 24 hours. Starknet posted on X that it already submitted its first batch of data in a \"blob\" that benefits from the reduced fees Dencun makes possible. The Starknet Foundation, an organization behind the network's development, also laid out plans on Tuesday for further cost reductions for users.Optimism (OP) also rallied nearly 10%, but dropped more than its rivals ahead of Dencun and was up less than 2% on the day. Gaming-focused L2 Immutable X (IMX) ended a short-lived advance to decline 6%. Celo (CELO) slid 7% while the Ethereum blockchain's native token, ether (ETH), was little changed just below $4,000.Dencun, considered the biggest milestone for the ecosystem in almost a year, introduced a new way of storing data on the notoriously congested blockchain. The change was forecast to cut transaction costs on L2 networks to a few cents, and expected to spur activity and attract more applications.While ETH and layer-2 tokens performed well over the weeks leading up to Dencun, QCP Capital noted that ether could see a correction as anticipation for the upgrade passes and diminishing probability of a spot ether ETF being approved in the U.S. in the near future. A correction in crypto markets is often seen as a decline of at least 10%.UPDATE (March 13, 16:31 UTC): Adds Starknet's STRK price action. Updates METIS, CD20 prices.Edited by Sheldon Reback.",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-21 14:19:58",
|
||
"updated_time": "2024-03-21 14:19:58",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 12,
|
||
"org_id": 136,
|
||
"spider_id": 1,
|
||
"tag": "#Blockchain",
|
||
"category": "Coinpedia",
|
||
"main_title": "Crypto Market Prediction: What’s Next After Bitcoin’s Record High?",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": [],
|
||
"seo_keywords": [
|
||
"Altcoins",
|
||
"Bitcoin",
|
||
"Price Analysis"
|
||
],
|
||
"tags": [
|
||
"#Blockchain"
|
||
],
|
||
"url": "https://coinpedia.org/news/crypto-market-prediction-whats-next-after-bitcoins-record-high/",
|
||
"image_url": "",
|
||
"content": "Cryptocurrency analyst DustyBC Crypto News has explained the ongoing surge in the cryptocurrency market, with Bitcoin recently surpassing the $70,000 threshold and touching an impressive $72,000. Dusty stressed the importance of these milestones, noting the continued bullish sentiment surrounding cryptocurrencies. Advertisement “What we’re witnessing right now is just the beginning,” Dusty said. “Despite Bitcoin reaching new all-time highs, there’s still plenty of room for price discovery and further gains across the board.”Dusty pointed out that while Bitcoin’s rally is grabbing headlines, many investors are eyeing other cryptocurrencies, particularly Ethereum, for significant gains soon. “We’re expecting a ripple effect, where altcoins follow Bitcoin’s lead and outperform later in the market cycle,” Dusty explained.The analyst also addressed the evolving narrative in the crypto space, noting a shift in focus from traditional news coverage to discussions around top altcoins and emerging trends. Dusty also spoke about the potential for substantial gains in alternative coins, citing examples of coins that have experienced exponential growth within a short timeframe.“While Bitcoin remains a solid investment option, the real opportunities lie in exploring smaller altcoins with high growth potential,” Dusty advised. “Investors need to stay informed and capitalize on emerging trends to maximize returns.”Dusty further discussed the impact of institutional involvement and regulatory developments on the cryptocurrency market. With institutions increasingly embracing Bitcoin and regulatory bodies showing a willingness to accommodate crypto-based financial products, the analyst expressed optimism about the market’s future trajectory.“The growing acceptance of Bitcoin and other cryptocurrencies by institutions is a testament to their potential as alternative assets,” Dusty stated. “Moreover, regulatory clarity is paving the way for broader adoption and investment opportunities.”Dusty pointed out the transformative potential of cryptocurrencies and urged investors to seize opportunities in the market environment.“We’re witnessing a paradigm shift in finance, and those who embrace it early stand to reap the rewards,” Dusty concluded. TagsAltcoins Bitcoin Price Analysis",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-21 14:19:58",
|
||
"updated_time": "2024-03-21 14:19:58",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 13,
|
||
"org_id": 137,
|
||
"spider_id": 1,
|
||
"tag": "#Blockchain",
|
||
"category": "Coinpedia",
|
||
"main_title": "Why Binance (BNB) Price Surged More Than 40% Today?",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": [],
|
||
"seo_keywords": [],
|
||
"tags": [
|
||
"#Blockchain"
|
||
],
|
||
"url": "https://coinpedia.org/news/why-binance-bnb-price-surged-more-than-40-today/",
|
||
"image_url": "",
|
||
"content": "Story HighlightsBNB surged over 43% this week, reaching $613, spurred by the announcement of BEP 336 upgrade.BSC's roadmap outlines BEP 336 integration, starting with a testnet in April.Technical analysis suggests BNB may test $675 resistance if it crosses $631.BNB, the token powering the BNB Chain has experienced a remarkable surge of over 43% this week, hovering at $613 which was last seen in Dec 2021. This surge coincides with the announcement of the “BEP 336 upgrade,” aimed at optimizing data storage and processing on the BNB Chain, inspired by Ethereum’s Dencun upgrade (EIP 4844). Advertisement Introduction of BEP 336 upgradeThe BEP 336 upgrade introduces “Blob-Carrying Transactions” (BlobTx), a groundbreaking concept altering the handling of large data blocks on the Binance Smart Chain (BSC). Blobs, temporary and cost-effective memory segments, efficiently capture data blocks up to 128 KB, streamlining transaction verification. This new approach reduces network space consumption, offering users lower storage costs and more affordable gas costs, similar to the Ethereum Dencun upgrade. BEP 336 upgrade also adds two new features, the first is the Blob Market for regulated storage costs and the second is the introduction of a Precompile Contract for security purposes. Roadmap for BEP 336 IntegrationThe BSC outlined the strategy for BEP 336 integration, starting with the delivery of a testnet in April, followed by a magnet phase for further testing and optimization in May. Later, the Mainnet hard fork in June marks the official deployment, aimed at improving network quality and scalability.Meanwhile, the development of the BEP 336 upgrade is poised to greatly benefit developers and users of the BSC ecosystem. It promises lower gas fees, blockchain flexibility, and improved network performance, making BSC more accessible to developers and newcomers.Where is BNB Price Heading?According to technical analysis, a bullish move will be seen if Binance’s price crosses the $631 resistance level, which will test the upper resistance at $675. Continued holding at this level could push the face value to $700.However, with the announcement of BEP 336, the price of Binance Coin (BNB) surged more than 14%, to $613.",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-21 14:19:58",
|
||
"updated_time": "2024-03-21 14:19:58",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 14,
|
||
"org_id": 138,
|
||
"spider_id": 1,
|
||
"tag": "#Blockchain",
|
||
"category": "Coinpedia",
|
||
"main_title": "Shiba Inu Surpasses DOGE and Solana in Weekly Trade Volume Amid Meme Coin Frenzy",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": [],
|
||
"seo_keywords": [
|
||
"Crypto news"
|
||
],
|
||
"tags": [
|
||
"#Blockchain"
|
||
],
|
||
"url": "https://coinpedia.org/news/shiba-inu-surpasses-doge-and-solana-in-weekly-trade-volume-amid-meme-coin-frenzy/",
|
||
"image_url": "",
|
||
"content": "Among the altcoins market, the Shiba Inu (SHIB) has taken the lead and exceeded the weekly trade volume of both Dogecoin (DOGE) and Solana (SOL). Additionally, the skyrocketing of SHIB’s trading activity is heading parallel with the meme coin mania, where more people are coming to invest in these promising currencies that offer investors the opportunity to make amazing returns. Advertisement SHIB Leads Weekly Trade VolumeRecords from Kaiko show the trading volume of Shiba Inu hit a mind-blowing figure of $31 billion per week which was way more enormous than the $23 billion raked up by Dogecoin in the same period. This huge increase in the trade volume of SHIB also made it the highest in a league of other large altcoins among them Solana.The entire meme coins market had an unparalleled rise in the volume of trading which culminated in a great $80 billion. Apart from SHIB and DOGE, other meme tokens including Pepe Coin (PEPE), Dogwifhat (WIF) and BONK (BONK) also sent the market price to a new record. These cryptocurrencies, which had been enjoying a steep rise, were driving the overall trade volume up to the new maximum level.SHIB and DOGE’s Price Volatility On the contrary, both Shiba Inu and Dogecoin have obvious pullbacks and drops in their prices. SHIB’s price tumbled by 1.81% to $0.00003162 and more significantly, trade volume also dropped by 5.72%, to $1.57 billion. In the same sequence, DOGE also had a fall in price by 2.20% to $0.1659, the trade volume share was 2.36% less than a day average of $2.43 billion.Optimism Surrounding SHIB ETFThe Shiba Inu community has been working on ways to improve the SHIB tokens, with a specific interest in the possibility of launching a SHIB ETF. The reports claim that Grayscale Investments is thinking of investing significantly in SHIB, which has made people discuss about the potential launch of an ETF. This initiative resembles the optimism that was associated with the introduction of Spot Bitcoin ETFs and strives to integrate Shiba Inu into the ETF sphere.The proposal of the SHIB ETF has aroused great interest, receiving more than 6,000 votes in support. Following the volatility in SHIB trading, the community stays positive about the ETF launch and its probable effect on future price movements. Also Read: Reddit Tokens MOON and DONUT Surge Ahead of Reddit’s IPO Amidst Bullish Market SentimentIt should be noted though that the SHIB ETF is still in its early stages of consideration, and its realization depends among other things on regulatory approval and market conditions.Ending note … The meme coin market is still dominated by Shiba Inu, and it traded more than Dogecoin and Solana among the traditional players. This means that the crypto community is still interested in meme tokens. As the proposed SHIB ETF is gaining momentum, investors are keeping a sharp eye on the ever-changing nature of this space. They are walking the tightrope of volatility and are looking for ways to benefit from such a dynamic environment. TagsCrypto news",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-21 14:19:58",
|
||
"updated_time": "2024-03-21 14:19:58",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 15,
|
||
"org_id": 139,
|
||
"spider_id": 1,
|
||
"tag": "#Blockchain",
|
||
"category": "Coinpedia",
|
||
"main_title": "Bitcoin Price Will Not Drop Below This Level: Predicts Galaxy Digital CEO Novogratz",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": [],
|
||
"seo_keywords": [
|
||
"Bitcoin",
|
||
"Crypto news"
|
||
],
|
||
"tags": [
|
||
"#Blockchain"
|
||
],
|
||
"url": "https://coinpedia.org/news/galaxy-digital-ceo-novogratz-predicts-bitcoin-price-stability-above-50000-amidst-market-dynamics/",
|
||
"image_url": "",
|
||
"content": "In a recent CNBC interview, the CEO of Galaxy Digital, Michael Novogratz explained the reasons behind the recent rally in Bitcoin prices and what it means for the cryptocurrency market as a whole. Novogratz highlighted the chance of Bitcoin staying solid above the $50,000 mark, with anything dramatic occurring out of the blue being the only exception. Advertisement Let’s delve deeper into his analysis to understand what are the factors that are driving Bitcoin’s price dynamic, and why he believes that BTC won’t go below $50,000.Bitcoin’s New ATH at $73,000Novogratz emphasized Bitcoin’s soaring prices which reached an all-time high (ATH) at $73,000 showing that there are still positive trends in the market. Simultaneously, Ethereum breaks through the $4,000 barrier.As Novogratz explains, the recent Bitcoin price surge is mostly attributed to supply and demand considerations, without any liquidity-related or other market factors coming into play. He considered this phenomenon as a result of a major shift of mindset in the United States, where Bitcoin gradually becomes more and more popular. Novogratz said that this endorsement was like a confidence vote to the Americans and an indication of increased approbation of digital assets.However, keeping the volatile nature of Bitcoin in mind, Novogratz emphasized that if there are no dramatic events of any kind, the price of Bitcoin is going to remain above $50,000. This stability, he pointed out, has resulted from the existence of ETFs and the continued institutional investment into the market through these ETFs. Nevertheless, Novogratz stressed that it was important to be careful during periods of irrational exuberance when funding rates are high.Also Read: Institutional Influx: BlackRock’s Bitcoin ETF Witnesses Surge in Holdings Amid Record-Breaking InflowsPolitical Impact on Bitcoin Price Novogratz, emphasizing the connection between Bitcoin prices and conventional assets such as gold, addressed political underpinning and monetary policy as the principal stimuli. He stressed that the problem is with excessive government spending especially noticeable in President Biden’s budget with a trillion-dollar and more deficit. “Bitcoin has always been a report card on fiscal stewardship. And we have got no stewardship in D.C. right now,” says Mike.Evaluating the purpose of Bitcoin within the context of monetary policy, Novogratz stressed its importance as a key yardstick. He described the fact that “The genius of Bitcoin rally is that white paper sets the monetary policy for this ecosystem in code,” while fiat money changes at the discretion of particular governments. Novogratz underlined that Bitcoin helps people preserve their wealth when the economy of the State is not stable.Potential Ethereum ETF When?Novogratz also expressed a view on predictions of Ethereum ETF that could affect the crypto market. Even though there is a heated discussion within the SEC on the subject of firstly classifying Ethereum as a security, it seems that Novogratz is quite optimistic about securing approval for an ETF. He did not miss taking Bitcoin’s roadmap as his example and envisioned the same result for Ethereum.Ending Note…Bitcoin will probably hold a level above $50,000. Shortly, we will be facing regulatory developments, fiscal policies, and market sentiment. The impact of the political landscape and fiscal policy on private-sector investments is a pertinent issue. TagsBitcoin Crypto news",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-21 14:19:58",
|
||
"updated_time": "2024-03-21 14:19:58",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
{
|
||
"id": 16,
|
||
"org_id": 140,
|
||
"spider_id": 1,
|
||
"tag": "#Blockchain",
|
||
"category": "Coinpedia",
|
||
"main_title": "Coinbase Surges as JMP Securities Raises Price Target Amid Bitcoin ETF Inflows",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": [],
|
||
"seo_keywords": [
|
||
"Bitcoin",
|
||
"Crypto news"
|
||
],
|
||
"tags": [
|
||
"#Blockchain"
|
||
],
|
||
"url": "https://coinpedia.org/news/coinbase-surges-as-jmp-securities-raises-price-target-amid-bitcoin-etf-inflows/",
|
||
"image_url": "",
|
||
"content": "Coinbase, a major US crypto-exchange company, has experienced a record-breaking increase in its share price, amidst the bullish state of Bitcoin ETFs and the crypto market. This surge followed after JMP Securities, an investment banking and asset management firm increased the target price of Coinbase shares to $300. Advertisement JMP Securities Raises Coinbase’s Price ObjectiveJMP Securities analyst Devin Ryan revised the target price for Coinbase Global Inc. (NASDAQ: COIN) from $220 to $300 on March 13th. Ryan mentioned that the possible future for the regulated market will contain Coinbase being the surveillance partner and custodian for spot Bitcoin ETFs driving growth.This price correction happened at a time when there’s tremendously high institutional demand for cryptocurrency investment and the spot Bitcoin ETFs are bringing in a lot of capital flows.JMP Securities anticipates that the total inflows to spot Bitcoin ETFs will be between $200 to $220 billion over the next three years. This forecast followed the influx of institutional investments, during the course of which assets under management in Bitcoin ETFs surpassed the $58 billion mark within two months.The last market sentiment shift towards Coinbase occurred simultaneously with spot Bitcoin ETFs performing well, especially BlackRock and Fidelity Bitcoin ETFs strongly influencing institutional inflow. Investment banking giants such as Goldman Sachs upgraded their rating on Coinbase shares, adjusting their price target to $282. And like that, Raymond James upgraded Coinbase from “underperform” to “market perform” indicating the growing confidence in the company’s future.Coinbase’s Strategic Initiatives and Fundraising PlansOn March 12 Coinbase officially announced its plan to issue $1 billion worth of convertible senior notes, similar to Michael Saylor’s MicroStrategy, to repay debts and for general business purposes.Through the issuing of convertible notes, Coinbase can tap into capital while investors can also get the option to exchange the debt notes with the company shares at a later time. This measure is in line with Coinbase’s strategy of shoring up its financial base and targeting strategic growth.ARK Invest Sell-offYes, Coinbase is doing well, but ARK funds managed by Cathie Wood took a profit-taking position after Coinbase shares went up in price. ARK Invest sold off 270,000 Coinbase shares valued at nearly $69 million on Monday, while they were also seen selling 106,000 shares valued at around $27 million on Tuesday. Despite this, Coinbase’s price has risen an impressive 63% during that period, ending Tuesday at $256.14.In short …Coinbase’s strategic actions, such as the issuance of convertible notes, demonstrate the company’s determination to benefit from market trends while making the business robust. The evolution of institutional participation is likely to see Coinbase rise to the position of a market leader, driving the future of the cryptocurrency environment. TagsBitcoin Crypto news",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-21 14:19:58",
|
||
"updated_time": "2024-03-21 14:19:58",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST 订阅文章列表(已推送)
|
||
|
||
POST /api/v1/sub/list/pushed
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"page_no": 0,
|
||
"page_size": 10
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 2,
|
||
"count": 2
|
||
},
|
||
"data": {
|
||
"list": [
|
||
{
|
||
"id": 2,
|
||
"org_id": 105,
|
||
"spider_id": 105,
|
||
"tag": "#AI",
|
||
"category": "Coindesk",
|
||
"main_title": "Bitcoin Could Drop to $58K as Cool-Off Period Is Imminent, Swissblock Says",
|
||
"sub_title": "Bitcoin nearly doubled in price since late January, but a \"counter move seems to be near,\" Swissblock analysts said.",
|
||
"summary": "",
|
||
"keywords": [
|
||
"Markets",
|
||
"Bitcoin",
|
||
"Swissblock technologies",
|
||
"Matrixport"
|
||
],
|
||
"seo_keywords": [
|
||
"bitcoin",
|
||
"bitcoin price",
|
||
"btc price"
|
||
],
|
||
"tags": [
|
||
"#Blockchain",
|
||
"#Solidity",
|
||
"#Bitcoin"
|
||
],
|
||
"url": "https://www.coindesk.com/markets/2024/03/13/bitcoin-could-drop-to-58k-as-cool-off-period-is-imminent-swissblock-says/",
|
||
"image_url": "",
|
||
"content": "从订阅列表编辑新闻(新闻ID=2),提交后直接覆盖原文",
|
||
"is_hotspot": false,
|
||
"is_overwritten": true,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 1,
|
||
"created_time": "2024-03-20 14:38:45",
|
||
"updated_time": "2024-03-25 16:20:06",
|
||
"extra_data": {
|
||
"logs": [
|
||
{
|
||
"oper_user": "lory",
|
||
"oper_time": "2024-03-21 18:46:03",
|
||
"oper_type": "edit"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": 1,
|
||
"org_id": 104,
|
||
"spider_id": 104,
|
||
"tag": "#Blockchain",
|
||
"category": "Coindesk",
|
||
"main_title": "Bitcoin Could Drop to $58K as Cool-Off Period Is Imminent, Swissblock Says",
|
||
"sub_title": "Bitcoin nearly doubled in price since late January, but a \"counter move seems to be near,\" Swissblock analysts said.",
|
||
"summary": "",
|
||
"keywords": [
|
||
"Markets",
|
||
"Bitcoin",
|
||
"Swissblock technologies",
|
||
"Matrixport"
|
||
],
|
||
"seo_keywords": [
|
||
"bitcoin",
|
||
"bitcoin price",
|
||
"btc price"
|
||
],
|
||
"tags": [
|
||
"#Blockchain",
|
||
"#Solidity",
|
||
"#Bitcoin"
|
||
],
|
||
"url": "https://www.coindesk.com/markets/2024/03/13/bitcoin-could-drop-to-58k-as-cool-off-period-is-imminent-swissblock-says/",
|
||
"image_url": "",
|
||
"content": "Bitcoin's rally shows waning momentum, underscored by a negative divergence between its price and the RSI momentum indicator, Swissblock analysts noted.BTC could drop as much as 20% from current prices in the near term, but the uptrend will resume Swissblock forecasted.Bitcoin (BTC) has been climbing ever-higher over the past month, notching new all-time highs on the way with every dip bought up quickly, but the largest crypto may be poised for a cool-off phase, analysts warned.Digital asset analytics firm Swissblock said in a note on Wednesday that bitcoin nearly doubled in price from $38,000 in late January without any meaningful pullbacks, and a cooling period could be imminent.\"Nothing rallies in a straight line. Not even BTC,\" Swissblock analysts said in a Telegram update. \"A counter move seems to be near.\"Swissblock analysts based their forecast on the negative bearish divergence between bitcoin's price inching higher but dwindling relative strength index (RSI) on the 4-hour chart, foreshadowing lower prices. The RSI is a widely used momentum indicator that measures the speed and size of an asset's price changes.The pullback could materialize as soon as in the next few days, according to a chart by Swissblock analyst Henrik Zeberg. But, in the bigger picture, lower prices will be a temporary setback before the uptrend eventually resumes to new highs.\"We see BTC dropping to $58,000-$59,000 in the next move,\" they said, representing a 20% decline from current prices. \"But the top is not in.\"Bitcoin could drop to $58,000 in the near-future (Swissblock)Crypto investment services firm Matrixport also noted Tuesday that bitcoin's rally is running out of fuel and forecasted a period of consolidation. \"This bull market still has legs, but the divergence between a declining RSI and still high bitcoin prices could signal that BTC needs to consolidate before rallying again,\" Matrixport analysts said.Read more: Ether Could See Price Correction After Dencun Upgrade, QCP Capital SaysSkyrocketing meme coin prices could also signal an impending pullback, as rotating profits from large-cap cryptos to riskier tokens was often the last stage in a crypto uptrend. For example, pepe coin's (PEPE) breakneck rally last May presaged a 15% decline in bitcoin's price in the following month.BTC recently changed hands slightly above $73,000, up 2.6% over the past 24 hours. The broad-market Coindesk 20 Index (CD20) advanced 4% during the same period.Edited by Aoyon Ashraf.",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"state": 0,
|
||
"created_time": "2024-03-20 14:38:45",
|
||
"updated_time": "2024-03-20 14:39:28",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST 订阅文章编辑
|
||
|
||
POST /api/v1/sub/edit
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"id": 6,
|
||
"category": "分类",
|
||
"main_title": "主标题",
|
||
"sub_title": "副标题",
|
||
"summary": "摘要信息",
|
||
"keywords": [
|
||
"#Bitcoin",
|
||
"#Ethereum",
|
||
"#Filecoin"
|
||
],
|
||
"seo_keywords": [
|
||
"#Bitcoin",
|
||
"#Ethereum",
|
||
"#Filecoin"
|
||
],
|
||
"tags": [
|
||
"#Blockchain",
|
||
"#AI",
|
||
"#Coincap"
|
||
],
|
||
"image_url": "https://www.baidu.com/images/asrw2342342342.png",
|
||
"content": "编辑新闻(新闻ID=6),提交后覆盖原来的news数据"
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST Q&A草稿编辑
|
||
|
||
POST /api/v1/qa/draft/edit
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"id": 3,
|
||
"question": "比特币在区块链中是什么地位?",
|
||
"answer": "龙头老大",
|
||
"language": "zh-CN"
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST Q&A草稿发布
|
||
|
||
POST /api/v1/qa/draft/publish
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"id": 3
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST Q&A草稿删除
|
||
|
||
POST /api/v1/qa/draft/delete
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"ids": [
|
||
1,
|
||
2
|
||
]
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST Q&A新增
|
||
|
||
POST /api/v1/qa/add
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"question": "比特币在区块链中是什么地位?",
|
||
"answer": "龙头老大",
|
||
"language": "zh-CN"
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {
|
||
"draft_id": 2
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST Q&A编辑
|
||
|
||
POST /api/v1/qa/edit
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"id": 1
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {
|
||
"draft_id": 2
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST Q&A删除
|
||
|
||
POST /api/v1/qa/delete
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"ids": [
|
||
1,
|
||
2,
|
||
3
|
||
]
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST News草稿编辑
|
||
|
||
POST /api/v1/news/draft/edit
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"id": 2,
|
||
"category": "分类",
|
||
"main_title": "主标题",
|
||
"sub_title": "副标题",
|
||
"summary": "摘要信息",
|
||
"keywords": [
|
||
"Bitcoin",
|
||
"Ethereum",
|
||
"Filecoin"
|
||
],
|
||
"seo_keywords": [
|
||
"Bitcoin",
|
||
"Ethereum",
|
||
"Filecoin"
|
||
],
|
||
"tags": [
|
||
"#Blockchain",
|
||
"#AI",
|
||
"#Coincap"
|
||
],
|
||
"image_url": "https://www.baidu.com/images/asrw2342342342.png",
|
||
"language": "zh-CN",
|
||
"content": "这是我自己新增的一条新闻,新增后自动进入草稿箱,在未发布前只存在于草稿箱中;提交完成后返回草稿箱数据ID;草稿箱URI:/api/v1/news/draft/list (编辑草稿并提交)"
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST News草稿发布
|
||
|
||
POST /api/v1/news/draft/publish
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"id": 2
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 1003,
|
||
"message": "news draft id invalid or draft is deleted",
|
||
"total": 0,
|
||
"count": 0
|
||
},
|
||
"data": {}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST News草稿删除
|
||
|
||
POST /api/v1/news/draft/delete
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"ids": [
|
||
1,
|
||
2,
|
||
3
|
||
]
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 1003,
|
||
"message": "news draft id invalid or draft is deleted",
|
||
"total": 0,
|
||
"count": 0
|
||
},
|
||
"data": {}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST News新增
|
||
|
||
POST /api/v1/news/add
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"category": "分类",
|
||
"main_title": "主标题",
|
||
"sub_title": "副标题",
|
||
"summary": "摘要信息",
|
||
"keywords": [
|
||
"Bitcoin",
|
||
"Ethereum",
|
||
"Filecoin"
|
||
],
|
||
"seo_keywords": [
|
||
"Bitcoin",
|
||
"Ethereum",
|
||
"Filecoin"
|
||
],
|
||
"tags": [
|
||
"#Blockchain",
|
||
"#AI",
|
||
"#Coincap"
|
||
],
|
||
"image_url": "https://www.baidu.com/images/asrw2342342342.png",
|
||
"language": "en",
|
||
"content": "这是我自己新增的一条新闻,新增后自动进入草稿箱,在未发布前只存在于草稿箱中;提交完成后返回草稿箱数据ID;草稿箱URI:/api/v1/news/draft/list"
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {
|
||
"draft_id": 2
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST News编辑
|
||
|
||
POST /api/v1/news/edit
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"id": 4
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {
|
||
"draft_id": 2
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST News发布订阅
|
||
|
||
POST /api/v1/news/publish
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"id": 1
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {
|
||
"draft_id": 2
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST News删除
|
||
|
||
POST /api/v1/news/delete
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"ids": [
|
||
1,
|
||
2,
|
||
3
|
||
]
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {
|
||
"draft_id": 2
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST News比较
|
||
|
||
POST /api/v1/news/compare
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"id": 1
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |账户名称(筛选条件,非必填)|
|
||
|» page_no|body|integer| 是 |分页页码|
|
||
|» page_size|body|integer| 是 |分页条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {
|
||
"cur_news": {
|
||
"id": 1,
|
||
"org_id": 104,
|
||
"spider_id": 104,
|
||
"tag": "#Blockchain",
|
||
"category": "Coindesk",
|
||
"main_title": "Bitcoin Could Drop to $58K as Cool-Off Period Is Imminent, Swissblock Says",
|
||
"sub_title": "Bitcoin nearly doubled in price since late January, but a \"counter move seems to be near,\" Swissblock analysts said.",
|
||
"summary": "",
|
||
"keywords": [
|
||
"Markets",
|
||
"Bitcoin",
|
||
"Swissblock technologies",
|
||
"Matrixport"
|
||
],
|
||
"seo_keywords": [
|
||
"bitcoin",
|
||
"bitcoin price",
|
||
"btc price"
|
||
],
|
||
"tags": [
|
||
"#Blockchain",
|
||
"#Solidity",
|
||
"#Bitcoin"
|
||
],
|
||
"url": "https://www.coindesk.com/markets/2024/03/13/bitcoin-could-drop-to-58k-as-cool-off-period-is-imminent-swissblock-says/",
|
||
"image_url": "",
|
||
"content": "Bitcoin's rally shows waning momentum, underscored by a negative divergence between its price and the RSI momentum indicator, Swissblock analysts noted.BTC could drop as much as 20% from current prices in the near term, but the uptrend will resume Swissblock forecasted.Bitcoin (BTC) has been climbing ever-higher over the past month, notching new all-time highs on the way with every dip bought up quickly, but the largest crypto may be poised for a cool-off phase, analysts warned.Digital asset analytics firm Swissblock said in a note on Wednesday that bitcoin nearly doubled in price from $38,000 in late January without any meaningful pullbacks, and a cooling period could be imminent.\"Nothing rallies in a straight line. Not even BTC,\" Swissblock analysts said in a Telegram update. \"A counter move seems to be near.\"Swissblock analysts based their forecast on the negative bearish divergence between bitcoin's price inching higher but dwindling relative strength index (RSI) on the 4-hour chart, foreshadowing lower prices. The RSI is a widely used momentum indicator that measures the speed and size of an asset's price changes.The pullback could materialize as soon as in the next few days, according to a chart by Swissblock analyst Henrik Zeberg. But, in the bigger picture, lower prices will be a temporary setback before the uptrend eventually resumes to new highs.\"We see BTC dropping to $58,000-$59,000 in the next move,\" they said, representing a 20% decline from current prices. \"But the top is not in.\"Bitcoin could drop to $58,000 in the near-future (Swissblock)Crypto investment services firm Matrixport also noted Tuesday that bitcoin's rally is running out of fuel and forecasted a period of consolidation. \"This bull market still has legs, but the divergence between a declining RSI and still high bitcoin prices could signal that BTC needs to consolidate before rallying again,\" Matrixport analysts said.Read more: Ether Could See Price Correction After Dencun Upgrade, QCP Capital SaysSkyrocketing meme coin prices could also signal an impending pullback, as rotating profits from large-cap cryptos to riskier tokens was often the last stage in a crypto uptrend. For example, pepe coin's (PEPE) breakneck rally last May presaged a 15% decline in bitcoin's price in the following month.BTC recently changed hands slightly above $73,000, up 2.6% over the past 24 hours. The broad-market Coindesk 20 Index (CD20) advanced 4% during the same period.Edited by Aoyon Ashraf.",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"is_pushed": false,
|
||
"created_time": "2024-03-20 14:38:45",
|
||
"updated_time": "2024-03-20 14:39:28",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
},
|
||
"org_news": {
|
||
"id": 0,
|
||
"org_id": 0,
|
||
"spider_id": 0,
|
||
"tag": "",
|
||
"category": "",
|
||
"main_title": "",
|
||
"sub_title": "",
|
||
"summary": "",
|
||
"keywords": null,
|
||
"seo_keywords": null,
|
||
"tags": null,
|
||
"url": "",
|
||
"image_url": "",
|
||
"content": "",
|
||
"is_hotspot": false,
|
||
"is_overwritten": false,
|
||
"is_deleted": false,
|
||
"is_replicate": false,
|
||
"is_pushed": false,
|
||
"created_time": "",
|
||
"updated_time": "",
|
||
"extra_data": {
|
||
"logs": null
|
||
}
|
||
}
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» users|[object]|true|none||none|
|
||
|»»» user_id|integer|false|none||none|
|
||
|»»» user_name|string|false|none||none|
|
||
|»»» user_alias|string|false|none||none|
|
||
|»»» phone_number|string|false|none||none|
|
||
|»»» email|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» login_time|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» state|integer|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|
||
## POST 用户创建
|
||
|
||
POST /api/v1/platform/create/user
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"user_name": "lory",
|
||
"user_alias": "libin",
|
||
"phone_number": "",
|
||
"password": "e10adc3949ba59abbe56e057f20f883e",
|
||
"remark": "",
|
||
"role_name": "超级管理员"
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |用户名|
|
||
|» user_alias|body|string¦null| 否 |用户别名|
|
||
|» phone_number|body|string¦null| 否 |电话号码|
|
||
|» password|body|string| 是 |密码MD5后的hash值|
|
||
|» remark|body|string¦null| 否 |留言|
|
||
|» role_name|body|string| 是 |角色|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {
|
||
"user_id": 9
|
||
}
|
||
}
|
||
```
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {
|
||
"user_id": 2
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» user_id|integer|true|none||none|
|
||
|
||
## POST 用户编辑
|
||
|
||
POST /api/v1/platform/edit/user
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"user_name": "lory",
|
||
"user_alias": "张三",
|
||
"phone_number": "18682371690",
|
||
"password": "e10adc3949ba59abbe56e057f20f883e",
|
||
"remark": "备注:无聊的人",
|
||
"role_name": "超级管理员"
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |系统用户名|
|
||
|» user_alias|body|string¦null| 否 |系统用户别名|
|
||
|» phone_number|body|string¦null| 否 |电话号码|
|
||
|» password|body|string¦null| 否 |密码|
|
||
|» remark|body|string¦null| 否 |留言|
|
||
|» role_name|body|string¦null| 否 |角色|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|
||
## POST 用户删除
|
||
|
||
POST /api/v1/platform/delete/user
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"user_name": "lory"
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_name|body|string| 是 |系统用户名|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|
||
## POST 角色列表
|
||
|
||
POST /api/v1/platform/list/role
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"role_name": "",
|
||
"page_no": 0,
|
||
"page_size": 50
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» role_name|body|string| 是 |角色名称|
|
||
|» page_no|body|integer| 是 |页码|
|
||
|» page_size|body|integer| 是 |条数|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 3,
|
||
"count": 3
|
||
},
|
||
"data": {
|
||
"roles": [
|
||
{
|
||
"id": 1,
|
||
"role_name": "超级管理员",
|
||
"role_alias": "administrator",
|
||
"create_user": "",
|
||
"is_inherent": true,
|
||
"remark": "",
|
||
"created_time": "2024-03-22 15:58:50",
|
||
"privileges": [
|
||
"UserAccess",
|
||
"UserAdd",
|
||
"UserDelete",
|
||
"UserEdit",
|
||
"RoleAccess",
|
||
"RoleAdd",
|
||
"RoleDelete",
|
||
"RoleEdit",
|
||
"RoleAuthority",
|
||
"NewsAccess",
|
||
"NewsAdd",
|
||
"NewsDelete",
|
||
"NewsEdit",
|
||
"QA_Access",
|
||
"QA_Add",
|
||
"QA_Delete",
|
||
"QA_Edit",
|
||
"SubAccess",
|
||
"SubAdd",
|
||
"SubEdit",
|
||
"CustomerAccess",
|
||
"TagAccess",
|
||
"TagAdd",
|
||
"TagDelete",
|
||
"TagEdit"
|
||
]
|
||
},
|
||
{
|
||
"id": 2,
|
||
"role_name": "编辑者",
|
||
"role_alias": "editor",
|
||
"create_user": "",
|
||
"is_inherent": true,
|
||
"remark": "",
|
||
"created_time": "2024-03-22 15:58:50",
|
||
"privileges": [
|
||
"UserAccess",
|
||
"RoleAccess",
|
||
"NewsAccess",
|
||
"NewsAdd",
|
||
"NewsDelete",
|
||
"NewsEdit",
|
||
"QA_Access",
|
||
"QA_Add",
|
||
"QA_Delete",
|
||
"QA_Edit",
|
||
"SubAccess",
|
||
"SubAdd",
|
||
"SubEdit",
|
||
"TagAccess",
|
||
"TagAdd",
|
||
"TagDelete",
|
||
"TagEdit",
|
||
"CustomerAccess"
|
||
]
|
||
},
|
||
{
|
||
"id": 3,
|
||
"role_name": "访问者",
|
||
"role_alias": "accessor",
|
||
"create_user": "",
|
||
"is_inherent": true,
|
||
"remark": "",
|
||
"created_time": "2024-03-22 15:58:50",
|
||
"privileges": [
|
||
"UserAccess",
|
||
"RoleAccess",
|
||
"NewsAccess",
|
||
"QA_Access",
|
||
"SubAccess",
|
||
"TagAccess",
|
||
"CustomerAccess"
|
||
]
|
||
}
|
||
]
|
||
}
|
||
}
|
||
```
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 0
|
||
},
|
||
"data": {
|
||
"roles": []
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» roles|[object]|true|none||none|
|
||
|»»» id|integer|false|none||none|
|
||
|»»» role_name|string|false|none||none|
|
||
|»»» create_user|string|false|none||none|
|
||
|»»» remark|string|false|none||none|
|
||
|»»» created_time|string|false|none||none|
|
||
|»»» role|[string]|false|none||none|
|
||
|
||
## POST 角色创建
|
||
|
||
POST /api/v1/platform/create/role
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"role_name": "新闻管理员",
|
||
"remark": "自定义角色(只能管理新闻类功能)"
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 否 |none|
|
||
|body|body|object| 否 |none|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
## POST 角色编辑
|
||
|
||
POST /api/v1/platform/edit/role
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"id": 4,
|
||
"role_name": "新闻管理员",
|
||
"remark": "自定义角色(非平台固有角色,可删除,但只能管新闻数据)"
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 否 |none|
|
||
|body|body|object| 否 |none|
|
||
|» id|body|integer| 是 |角色id|
|
||
|» role_name|body|string| 是 |角色名称|
|
||
|» remark|body|string| 是 |描述|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|
||
## POST 角色删除
|
||
|
||
POST /api/v1/platform/delete/role
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"role_name": "新闻管理员"
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 否 |none|
|
||
|body|body|object| 否 |none|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 1006,
|
||
"message": "role name is not found",
|
||
"total": 0,
|
||
"count": 0
|
||
},
|
||
"data": {}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
## POST 上传文件
|
||
|
||
POST /api/v1/platform/upload/file
|
||
|
||
> Body 请求参数
|
||
|
||
```yaml
|
||
file_name: QQ.jpg
|
||
file_data: file://E:\code\img\QQ.jpg
|
||
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Authorization|header|string| 否 |none|
|
||
|body|body|object| 否 |none|
|
||
|» file_name|body|string| 是 |图片文件名|
|
||
|» file_data|body|string(binary)| 是 |图片二进制数据|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"file_name": "1699593994306230553QQ.jpg",
|
||
"file_url": "https://coeus-labs.com/files/1699593994306230553QQ.jpg"
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» file_name|string|true|none||存储的文件名|
|
||
|» file_url|string|true|none||存储的文件URL|
|
||
|
||
## POST 用户删除【批量】
|
||
|
||
POST /api/v1/platform/delete/users
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"user_names": [
|
||
"panda",
|
||
"lory"
|
||
]
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|» user_names|body|[string]| 是 |none|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|
||
## POST 角色赋予权限
|
||
|
||
POST /api/v1/platform/auth/role
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{
|
||
"role_name": "新闻管理员",
|
||
"privilege": [
|
||
"NewsAccess",
|
||
"NewsAdd",
|
||
"NewsEdit",
|
||
"NewsDelete"
|
||
]
|
||
}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Authorization|header|string| 否 |none|
|
||
|body|body|object| 否 |none|
|
||
|» role_name|body|string| 是 |角色名称|
|
||
|» privilege|body|[string]| 是 |角色权限|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|
||
## POST 获取权限树
|
||
|
||
POST /api/v1/platform/privilege/tree
|
||
|
||
> Body 请求参数
|
||
|
||
```json
|
||
{}
|
||
```
|
||
|
||
### 请求参数
|
||
|
||
|名称|位置|类型|必选|说明|
|
||
|---|---|---|---|---|
|
||
|Auth-Token|header|string| 是 |none|
|
||
|body|body|object| 否 |none|
|
||
|
||
> 返回示例
|
||
|
||
> 成功
|
||
|
||
```json
|
||
{
|
||
"header": {
|
||
"code": 0,
|
||
"message": "",
|
||
"total": 1,
|
||
"count": 1
|
||
},
|
||
"data": {
|
||
"tree_list": [
|
||
{
|
||
"label": "账户管理",
|
||
"name": "Account manage",
|
||
"path": "",
|
||
"children": [
|
||
{
|
||
"label": "查看",
|
||
"name": "UserAccess",
|
||
"path": "/api/v1/platform/*",
|
||
"children": null
|
||
},
|
||
{
|
||
"label": "新增",
|
||
"name": "UserAdd",
|
||
"path": "/api/v1/platform/*",
|
||
"children": null
|
||
},
|
||
{
|
||
"label": "删除",
|
||
"name": "UserDelete",
|
||
"path": "/api/v1/platform/*",
|
||
"children": null
|
||
},
|
||
{
|
||
"label": "修改",
|
||
"name": "UserEdit",
|
||
"path": "/api/v1/platform/*",
|
||
"children": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"label": "角色管理",
|
||
"name": "Role manage",
|
||
"path": "",
|
||
"children": [
|
||
{
|
||
"label": "查看",
|
||
"name": "RoleAccess",
|
||
"path": "/api/v1/platform/*",
|
||
"children": null
|
||
},
|
||
{
|
||
"label": "添加",
|
||
"name": "RoleAdd",
|
||
"path": "/api/v1/platform/*",
|
||
"children": null
|
||
},
|
||
{
|
||
"label": "删除",
|
||
"name": "RoleDelete",
|
||
"path": "/api/v1/platform/*",
|
||
"children": null
|
||
},
|
||
{
|
||
"label": "修改",
|
||
"name": "RoleEdit",
|
||
"path": "/api/v1/platform/*",
|
||
"children": null
|
||
},
|
||
{
|
||
"label": "权限授权",
|
||
"name": "RoleAuthority",
|
||
"path": "/api/v1/platform/*",
|
||
"children": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"label": "News数据库",
|
||
"name": "News DB",
|
||
"path": "",
|
||
"children": [
|
||
{
|
||
"label": "查看",
|
||
"name": "NewsAccess",
|
||
"path": "/api/v1/news/*",
|
||
"children": null
|
||
},
|
||
{
|
||
"label": "添加",
|
||
"name": "NewsAdd",
|
||
"path": "/api/v1/news/*",
|
||
"children": null
|
||
},
|
||
{
|
||
"label": "删除",
|
||
"name": "NewsDelete",
|
||
"path": "/api/v1/news/*",
|
||
"children": null
|
||
},
|
||
{
|
||
"label": "修改",
|
||
"name": "NewsEdit",
|
||
"path": "/api/v1/news/*",
|
||
"children": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"label": "Q&A数据",
|
||
"name": "Q&A data",
|
||
"path": "",
|
||
"children": [
|
||
{
|
||
"label": "查看",
|
||
"name": "QA_Access",
|
||
"path": "/api/v1/qa/*",
|
||
"children": null
|
||
},
|
||
{
|
||
"label": "添加",
|
||
"name": "QA_Add",
|
||
"path": "/api/v1/qa/*",
|
||
"children": null
|
||
},
|
||
{
|
||
"label": "删除",
|
||
"name": "QA_Delete",
|
||
"path": "/api/v1/qa/*",
|
||
"children": null
|
||
},
|
||
{
|
||
"label": "修改",
|
||
"name": "QA_Edit",
|
||
"path": "/api/v1/qa/*",
|
||
"children": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"label": "订阅",
|
||
"name": "Sub manage",
|
||
"path": "",
|
||
"children": [
|
||
{
|
||
"label": "查看",
|
||
"name": "SubAccess",
|
||
"path": "/api/v1/sub/*",
|
||
"children": null
|
||
},
|
||
{
|
||
"label": "添加",
|
||
"name": "SubAdd",
|
||
"path": "/api/v1/sub/*",
|
||
"children": null
|
||
},
|
||
{
|
||
"label": "修改",
|
||
"name": "SubEdit",
|
||
"path": "/api/v1/sub/*",
|
||
"children": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"label": "客户管理",
|
||
"name": "Customer manage",
|
||
"path": "",
|
||
"children": [
|
||
{
|
||
"label": "查看",
|
||
"name": "CustomerAccess",
|
||
"path": "/api/v1/customer/*",
|
||
"children": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"label": "标签管理",
|
||
"name": "Tag manage",
|
||
"path": "",
|
||
"children": [
|
||
{
|
||
"label": "查看",
|
||
"name": "TagAccess",
|
||
"path": "/api/v1/tag/*",
|
||
"children": null
|
||
},
|
||
{
|
||
"label": "添加",
|
||
"name": "TagAdd",
|
||
"path": "/api/v1/tag/*",
|
||
"children": null
|
||
},
|
||
{
|
||
"label": "删除",
|
||
"name": "TagDelete",
|
||
"path": "/api/v1/tag/*",
|
||
"children": null
|
||
},
|
||
{
|
||
"label": "修改",
|
||
"name": "TagEdit",
|
||
"path": "/api/v1/tag/*",
|
||
"children": null
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
}
|
||
```
|
||
|
||
### 返回结果
|
||
|
||
|状态码|状态码含义|说明|数据模型|
|
||
|---|---|---|---|
|
||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|成功|Inline|
|
||
|
||
### 返回数据结构
|
||
|
||
状态码 **200**
|
||
|
||
|名称|类型|必选|约束|中文名|说明|
|
||
|---|---|---|---|---|---|
|
||
|» header|object|true|none||none|
|
||
|»» code|integer|true|none||none|
|
||
|»» message|string|true|none||none|
|
||
|»» total|integer|true|none||none|
|
||
|»» count|integer|true|none||none|
|
||
|» data|object|true|none||none|
|
||
|»» tree_list|[object]|true|none||none|
|
||
|»»» label|string|true|none||权限标签|
|
||
|»»» name|string|true|none||权限名称|
|
||
|»»» path|string|true|none||访问控制路径|
|
||
|»»» children|[object]|true|none||子权限树|
|
||
|»»»» label|string|true|none||none|
|
||
|»»»» name|string|true|none||none|
|
||
|»»»» path|string|true|none||none|
|
||
|»»»» children|null|true|none||none|
|
||
|
||
# 数据模型
|
||
|