Skip to main content

pd_set_verdict

Function pd_set_verdict 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pd_set_verdict( doc_ptr: *const u8, doc_len: u32, verdict_ptr: *const u8, verdict_len: u32, ) -> u64
Expand description

Set, replace, or clear the review verdict. verdict is either the single-key union — {"Approved": {"at": "…"}} / {"ChangesRequired": {"at": "…"}} — or the literal null to return the review to in-progress. Returns the updated document.