RedactRequest
isRedactedboolean · requiredtrue redacts, false un-redacts
cidstringOne declaration id (cidV1, lowercase base32). Mutually exclusive with
cids.cidsstring[] · minItems: 1 · maxItems: 500Up to 500 declaration ids for an asynchronous batch (202).
reasonstring · maxLength: 500
RedactResult
cidstringokbooleanchangedbooleanfalse when the declaration already was in the requested state
isRedactedbooleaneverRedactedbooleantrue once the CID has been redacted at least once; it stays in the index afterwards
versionintegerpageintegerPage of the redaction index holding the entry
declarerIdstringeffectsobjectWhat each downstream store reported
BatchAccepted
jobIdstring · uuidstatusstring · enumEnum values:queuedtypestring · enumEnum values:redactunredacttotalintegerduplicatesDroppedintegerstatusPathstring
JobResult
cidstringokbooleanchangedbooleanstatusstringResulting state, or the failure reason (not_found, forbidden, deleted, invalid_cid, error)
errorstring
RedactionJob
jobIdstring · uuidtypestring · enumEnum values:redactunredactstatusstring · enumEnum values:queuedrunningdonefailedtotalintegerprocessedintegersucceededintegerunchangedintegerfailedintegerresultsobject[]declarerIdstringcreatedAtintegerUnix time in milliseconds
startedAtintegerfinishedAtinteger
DeleteRequest
cidstring · requiredDeclaration id (cidV1). An ISCC is rejected.
reasonstring · maxLength: 500recursivebooleanAdministrators only: delete every declaration on the CID's supersedes chain.
Default: false
DeleteResult
cidstringokbooleanchangedbooleanfalse when the CID was already deleted
markerobjectPublic deletion marker. Contains no original metadata and no personal information.
declarerIdstringeffectsobjectWhat each store reported: snapshot, marker, index, stats, iroh, rows, s3Versions
ChainDeleteResult
rootstringThe requested CID
recursiveboolean · enumEnum values:chainobject[]Chain members, oldest first
resultsobject[]One result per chain member, same order
deletedintegerMembers deleted by this call
alreadyDeletedintegerMembers that already carried a marker
failedintegerMembers that could not be deleted; their result carries
codeanderroractorobjectversionstring
DeletionMarker
cidstring · requiredstatusstring · enum · requiredEnum values:deleteddeletedAtstring · date-time · required
isccstringauthorizedByobjectsupersedesstringCID of the declaration this one superseded, when part of a chain
supersededBystringCID of the declaration that superseded this one, when part of a chain
RedactionStatus
cidstringstatusstring · enumEnum values:activeredacteddeletedunknownexistsbooleantrue when the declaration is in active storage
indexobjectmarkerobjectPublic deletion marker. Contains no original metadata and no personal information.
verifyobjectOnly with ?verify=1
RedactedIndexEntry
cidstringredactedbooleandeletedbooleanversionintegerdeclarerIdstringredactedAtintegerupdatedAtintegerdeletedAtinteger
RedactedIndexPage
pageintegerpageSizeintegertotalPagesintegertotalEntriesintegerredactedEntriesintegerEntries currently redacted
deletedEntriesintegerentriesobject[]pagesobject[]All pages; present only while fewer than 1000 entries exist
allobject[]Flat list of every entry; present only while fewer than 1000 entries exist