跳转到主要内容
POST
/
channel
/
subscribe
/
rule
/
list
策略列表
curl --request POST \
  --url 'https://api.flashcat.cloud/channel/subscribe/rule/list?app_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "channel_id": 123
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  },
  "data": {
    "items": [
      {
        "channel_id": 123,
        "rule_id": "<string>",
        "rule_name": "<string>",
        "description": "<string>",
        "filters": [
          [
            {
              "key": "title",
              "oper": "IN",
              "vals": [
                "<string>"
              ]
            }
          ]
        ],
        "status": "enabled",
        "created_at": "<string>",
        "updated_at": "<string>",
        "updated_by": 123
      }
    ]
  }
}

授权

app_key
string
query
必填

请求头

Content-Type
string

请求体

application/json
channel_id
integer
必填

响应

200 - application/json
error
object
data
object