OpenAPI Specification
openapi: 3.0.3
info:
title: APISec Management account policy/landing/{uid} API
version: '26.05'
description: Generated from APISec skyview APIView classes.
tags:
- name: policy/landing/{uid}
description: 策略管理/落地/uid 参数
paths:
/policy/landing/{uid}:
post:
summary: 更新
deprecated: false
description: ''
tags:
- policy/landing/{uid}
parameters:
- name: uid
in: path
description: ''
required: true
example: string
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: Content-Type
in: header
description: ''
required: true
example: application/json
schema:
type: string
- name: Accept
in: header
description: ''
required: true
example: application/json
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
name:
type: string
description:
type: string
scope:
type: string
binding_config:
type: object
properties:
source:
type: string
include:
type: object
properties: {}
exclude:
type: object
properties: {}
required:
- source
- include
- exclude
action:
type: string
expression:
type: string
expression_relation:
type: string
expression_fields:
type: array
items:
type: object
properties:
field:
type: string
operator:
type: string
value:
type: array
items:
type: string
required:
- field
- operator
- value
required:
- name
- description
- scope
- binding_config
- action
- expression
- expression_relation
- expression_fields
example:
name: '3213213123'
description: 策略描述
scope: global
binding_config:
source: landing
include: {}
exclude: {}
action: file_trace
expression: N/A
expression_relation: all
expression_fields:
- field: channel
operator: contains
value:
- a5b60b18-c079-4cbf-accb-e94011a4a680
- field: classification
operator: contains
value:
- 87b1d4f1-cedf-471a-bf6e-59da4c8e6af7
- 9145a56d-995b-4175-ab64-fdbe13a7b01b
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties: {}
example: {}
security: []