Skip to content
Start here

Content Scanning

Enable Content Scanning
client.contentScanning.enable(ContentScanningEnableParams { zone_id } params, RequestOptionsoptions?): ContentScanningEnableResponse
POST/zones/{zone_id}/content-upload-scan/enable
Disable Content Scanning
client.contentScanning.disable(ContentScanningDisableParams { zone_id } params, RequestOptionsoptions?): ContentScanningDisableResponse
POST/zones/{zone_id}/content-upload-scan/disable
Update Content Scanning Status
client.contentScanning.create(ContentScanningCreateParams { zone_id, value } params, RequestOptionsoptions?): ContentScanningCreateResponse { modified, value }
PUT/zones/{zone_id}/content-upload-scan/settings
Update Content Scanning Status
client.contentScanning.update(ContentScanningUpdateParams { zone_id, value } params, RequestOptionsoptions?): ContentScanningUpdateResponse { modified, value }
PUT/zones/{zone_id}/content-upload-scan/settings
Get Content Scanning Status
client.contentScanning.get(ContentScanningGetParams { zone_id } params, RequestOptionsoptions?): ContentScanningGetResponse { modified, value }
GET/zones/{zone_id}/content-upload-scan/settings
ModelsExpand Collapse
ContentScanningEnableResponse = unknown
ContentScanningDisableResponse = unknown
ContentScanningCreateResponse { modified, value }

Defines the status for Content Scanning.

modified?: string

Defines the last modification date (ISO 8601) of the Content Scanning status.

value?: string

Defines the status of Content Scanning.

ContentScanningUpdateResponse { modified, value }

Defines the status for Content Scanning.

modified?: string

Defines the last modification date (ISO 8601) of the Content Scanning status.

value?: string

Defines the status of Content Scanning.

ContentScanningGetResponse { modified, value }

Defines the status for Content Scanning.

modified?: string

Defines the last modification date (ISO 8601) of the Content Scanning status.

value?: string

Defines the status of Content Scanning.

Content ScanningPayloads

List Existing Custom Scan Expressions
client.contentScanning.payloads.list(PayloadListParams { zone_id } params, RequestOptionsoptions?): SinglePage<PayloadListResponse { id, payload } >
GET/zones/{zone_id}/content-upload-scan/payloads
Add Custom Scan Expressions
client.contentScanning.payloads.create(PayloadCreateParams { zone_id, body } params, RequestOptionsoptions?): SinglePage<PayloadCreateResponse { id, payload } >
POST/zones/{zone_id}/content-upload-scan/payloads
Delete a Custom Scan Expression
client.contentScanning.payloads.delete(stringexpressionId, PayloadDeleteParams { zone_id } params, RequestOptionsoptions?): SinglePage<PayloadDeleteResponse { id, payload } >
DELETE/zones/{zone_id}/content-upload-scan/payloads/{expression_id}
ModelsExpand Collapse
PayloadListResponse { id, payload }

Defines a custom scan expression to match Content Scanning on.

id?: string

defines the unique ID for this custom scan expression.

maxLength32
payload?: string

Defines the ruleset expression to use in matching content objects.

PayloadCreateResponse { id, payload }

Defines a custom scan expression to match Content Scanning on.

id?: string

defines the unique ID for this custom scan expression.

maxLength32
payload?: string

Defines the ruleset expression to use in matching content objects.

PayloadDeleteResponse { id, payload }

Defines a custom scan expression to match Content Scanning on.

id?: string

defines the unique ID for this custom scan expression.

maxLength32
payload?: string

Defines the ruleset expression to use in matching content objects.

Content ScanningSettings

Get Content Scanning Status
client.contentScanning.settings.get(SettingGetParams { zone_id } params, RequestOptionsoptions?): SettingGetResponse { modified, value }
GET/zones/{zone_id}/content-upload-scan/settings
ModelsExpand Collapse
SettingGetResponse { modified, value }

Defines the status for Content Scanning.

modified?: string

Defines the last modification date (ISO 8601) of the Content Scanning status.

value?: string

Defines the status of Content Scanning.