tools.ozone.safelink.syncSource
#main​
Replace stored rules for one source from a complete snapshot. Existing rules owned by another source remain unchanged.
Input​
- Encoding: application/json
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| source | string | - | ✅ | Source whose rules are being synchronized |
| rules | array of #sourceRule | - | ✅ | - |
Output​
- Encoding: application/json
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| added | integer | - | ✅ | - |
| updated | integer | - | ✅ | - |
| removed | integer | - | ✅ | - |
| events | integer | - | ✅ | - |
#sourceRule​
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| url | string | - | ✅ | - |
| pattern | tools.ozone.safelink.defs#patternType | - | ✅ | - |
| action | tools.ozone.safelink.defs#actionType | - | ✅ | - |
| reason | tools.ozone.safelink.defs#reasonType | - | ✅ | - |