Document apiReferenceFields
fields.rebuild
Rebuild (recalculate) a field.
mutates documentdry runidempotent
doc.fields.rebuild(…)Expected result
Returns a FieldMutationResult indicating success or a failure.
Inputs
targetobjectrequiredFields
kind"field"requiredblockIdstringrequiredoccurrenceIndexintegerrequirednestingDepthintegerstoryIdstringfieldIdstringResult
Output fields
true
successtruerequiredfieldobjectrequiredFields
kind"field"requiredblockIdstringrequiredoccurrenceIndexintegerrequirednestingDepthintegerstoryIdstringfieldIdstringfalse
successfalserequiredfailureobjectrequiredFields
codestringrequiredmessagestringrequireddetailsunknownFailures
Pre-apply throws
TARGET_NOT_FOUNDINVALID_TARGETINVALID_INPUT
1 more codes
CAPABILITY_UNAVAILABLE
Raw schemas
Open the generated JSON artifact for the exact input, output, success, and failure schemas represented by this contract version.
View raw JSON schemas