Skip to content
OpenTrain AIOpenTrain AIOpenTrain AIDocs

Ask OpenTrain

Answers from the documentation, with sources.

What would you like to do with OpenTrain?

AI answers can be mistaken. Check the linked sources. Don’t include private account information.

Open app

DEVELOPER DOCUMENTATION

Patch or Reorganize Job Instruction Page

Apply checksum-guarded node patches or update page metadata.

PATCH/api/public/v1/instructions/jobs/{jobId}/pages/{pageId}

Accepts one of two request shapes. Both require confirmLive: true, the preflightToken returned for the exact operation, instructions:write, and employer access.

Send expectedChecksum plus an operations array. Supported operations are replace_node, insert_before, insert_after, append_children, set_attrs, and delete_node. Address nodes by their stable attrs.id.

Send one or more of title, parentPageId, or direction (up or down). parentPageId may be a root page ID or null. A subpage cannot become a parent because the tree supports only one subpage level.

The response includes the exact employer URL and updated canonical page.