Skip to main content
POST
/
patches
/
{patch_id}
/
apply
/
{target_resource_id}
Apply Patch
curl --request POST \
  --url https://api.example.com/patches/{patch_id}/apply/{target_resource_id}
{
  "patch_id": "<string>",
  "target_resource_id": "<string>",
  "success": true,
  "message": ""
}

Path Parameters

patch_id
string
required
target_resource_id
string
required

Response

Successful Response

Result of applying a patch to a target resource.

Attributes: patch_id: ID of the patch that was applied. target_resource_id: SurrealDB ID of the target resource. success: Whether the patch was applied successfully. message: Human-readable description of the outcome.

patch_id
string
required
target_resource_id
string
required
success
boolean
required
message
string
default:""