...
PATCH /projects/{project_id}/refs/{parent_ref_id}/diff/{child_ref_id}
This endpoint should possibly accept the JSON-Patch file from the diff endpoint in the request body, or generate a new patch and apply the patch , required in a request body, to the specified ref.
Concerns:
...