Chaitin Tech policy/soft_network/{policy_id} API
策略管理/软件联网/policy_id 参数
策略管理/软件联网/policy_id 参数
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/chaitin:chaitin-policy-soft-network-policy-id-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: ddr-api Policy/soft Network/{policy Id} API
description: 策略管理/软件联网/policy_id 参数
version: 1.0.0
servers: []
security: []
tags:
- name: policy/soft_network/{policy_id}
description: 策略管理/软件联网/policy_id 参数
paths:
/policy/soft_network/{policy_id}:
post:
summary: 更新策略
deprecated: false
description: ''
tags:
- policy/soft_network/{policy_id}
parameters:
- name: policy_id
in: path
description: ''
required: true
example: 1867af24-34de-42b6-8db8-eb31d29188c4
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: 'null'
scope:
type: string
period_category:
type: string
source_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
period_options:
type: object
properties:
period_hours_value:
type: array
items:
type: object
properties:
begin:
type: string
end:
type: string
week:
type: integer
required:
- begin
- end
- week
required:
- period_hours_value
control_options:
type: object
properties:
whitelist:
type: array
items: {}
required:
- whitelist
required:
- name
- description
- scope
- period_category
- source_scope
- binding_config
- action
- period_options
- control_options
example:
name: '666667'
description: null
scope: global
period_category: permanent
source_scope: global
binding_config:
source: software_network
include: {}
exclude: {}
action: net_allowed
period_options:
period_hours_value:
- begin: 00:00
end: '23:59'
week: 1
- begin: 00:00
end: '23:59'
week: 2
- begin: 00:00
end: '23:59'
week: 3
- begin: 00:00
end: '23:59'
week: 4
- begin: 00:00
end: '23:59'
week: 5
- begin: 00:00
end: '23:59'
week: 6
- begin: 00:00
end: '23:59'
week: 7
control_options:
whitelist: []
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties: {}
example: {}
security: []
operationId: postPolicySoftNetworkByPolicyId
x-operation-id-source: derived