tools.ozone.safelink.updateRule
Update an existing URL safety rule
Details · procedure
| Kind | procedure |
|---|---|
| Authority | safelink.ozone.tools |
| Commit rev | 3n2oxl3wqpw2z |
| Indexed |
Showing version bafyreih5674gm3bazy6gzydram7je4tm7ayhf7u463osutka2jk337o3gq. Show the latest
Procedure
procedure · POSTInput
application/jsoncomment
stringOptional comment about the update
createdBy
string · didOptional DID to credit as the creator. Only respected for admin_token authentication.
source
stringSource of the rule to update
maxLength: 128default: "ozone/default"
The URL or domain to update the rule for
Output
application/jsonschema
refErrors
RuleNotFound
No active rule found for this URL/domain
RuleSourceConflict
A rule for this URL/domain is owned by another source
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
tools.ozone.safelink.addRule
procedureAdd a new URL safety rule
-
tools.ozone.safelink.removeRule
procedureRemove an existing URL safety rule
-
An event for URL safety decisions
-
tools.ozone.safelink.syncSource
procedureReplace stored rules for one source from a complete snapshot. Existing rules owned by another source remain unchanged.
-
tools.ozone.safelink.queryRules
procedureQuery URL safety rules