Chaitin Tech policy/webpost_control/{policy_id}/detail API
策略管理/网页发帖管控/policy_id 参数/详情
策略管理/网页发帖管控/policy_id 参数/详情
openapi: 3.0.3
info:
title: APISec Management account policy/webpost_control/{policy_id}/detail API
version: '26.05'
description: Generated from APISec skyview APIView classes.
tags:
- name: policy/webpost_control/{policy_id}/detail
description: 策略管理/网页发帖管控/policy_id 参数/详情
paths:
/policy/webpost_control/{policy_id}/detail:
post:
summary: 网页管控策略详情
deprecated: false
description: ''
tags:
- policy/webpost_control/{policy_id}/detail
parameters:
- name: policy_id
in: path
description: ''
required: true
example: a77a75a4684942ab825e8ec47a2a4c35
schema:
type: string
- name: X-CS-Header-App
in: header
description: 应用id
required: true
example: '{{app}}'
schema:
type: string
- name: X-CS-Header-Company
in: header
description: 公司id
required: true
example: '{{company_id}}'
schema:
type: string
- name: X-CS-Header-Crypt
in: header
description: 加密算法,请参考:https://servaltech.feishu.cn/docs/doccnQCZ2cw32uazgNSO0DFwceb
required: true
example: ''
schema:
type: string
- name: If-None-Match
in: header
description: 对于支持「ETAG」的接口,将上一次请求的响应header的Etag,填入到下一次请求。若匹配,则返回304(无变更),否则会返回新版本的数据 + 新Etag
required: true
example: string
schema:
type: string
- name: X-CS-Header-Debug
in: header
description: ''
required: true
example: '{{debug}}'
schema:
type: string
- name: Accept-Language
in: header
description: ''
required: true
example: zh
schema:
type: string
- name: X-Cs-Header-Timezone
in: header
description: ''
required: true
example: Asia/Shanghai
schema:
type: string
- name: Accept
in: header
description: ''
required: true
example: application/json
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
code:
type: integer
msg:
type: string
data:
type: object
properties:
binding_config:
type: object
properties:
include:
type: object
properties:
devices:
type: array
items: {}
device_tags:
type: array
items: {}
staffs:
type: array
items: {}
staff_tags:
type: array
items: {}
depts:
type: array
items: {}
required:
- devices
- device_tags
- staffs
- staff_tags
- depts
exclude:
type: object
properties:
depts:
type: array
items: {}
staffs:
type: array
items: {}
staff_tags:
type: array
items: {}
devices:
type: array
items: {}
device_tags:
type: array
items: {}
required:
- depts
- staffs
- staff_tags
- devices
- device_tags
required:
- include
- exclude
description:
type: string
control_action:
type: object
properties:
expression_fields:
type: array
items:
type: object
properties:
left:
type: string
value:
type: array
items:
type: string
operator:
type: string
category:
type: string
required:
- expression_fields
- category
period_category:
type: string
period_options:
type: object
properties:
period_value:
type: array
items:
type: string
period_tz_offset:
type: integer
required:
- period_value
- period_tz_offset
action:
type: string
action_template_id:
type: string
scope:
type: string
name:
type: string
checked_urls_options:
type: object
properties:
left:
type: string
value:
type: array
items:
type: string
operator:
type: string
required:
- left
- value
- operator
detect_position:
type: string
required:
- binding_config
- description
- control_action
- period_category
- period_options
- action
- action_template_id
- scope
- name
- checked_urls_options
- detect_position
required:
- code
- msg
- data
example:
code: 0
msg: 正常
data:
binding_config:
include:
devices: []
device_tags: []
staffs: []
staff_tags: []
depts: []
exclude:
depts: []
staffs: []
staff_tags: []
devices: []
device_tags: []
description: 网络管控策略描述
control_action:
expression_fields:
- left: XX
value:
- XXXX
- sdasdas
operator: container
category: ''
period_category: permanent
period_options:
period_value:
- '2023-01-01 00:00:00'
- '2023-01-01 00:00:00'
period_tz_offset: 28800
action: block
action_template_id: b126744d-2154-4b9a-87a9-1456899606e6
scope: global
name: 策略名称2
checked_urls_options:
left: XX
value:
- XXXX
- sdasdas
operator: container
detect_position: form_internal
security: []