Schemas

Reject a schema class diff

Changed on

Reject a pending diff, discarding the proposed changes.

post/v1/schema-graph/diffs/{id}/reject

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890

Resource UUID.

Response

Diff rejected.

SchemaGraphDiffResponse required
id, string uuid required
class_id, string uuid required
from_version, integer nullable
to_version, integer nullable
status, 'pending' | 'approved' | 'rejected' required
changes, object[]

List of field additions, removals, and modifications.

created_at, string date-time required
decided_at, string date-time nullable
reviewed_by, string nullable

Who decided (user:<id>), system for an automatic decision.

reviewed_at, string date-time nullable

Example response

{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "class_id": "a7b8c9d0-e1f2-3456-abcd-567890123456",
  "status": "completed",
  "created_at": "2026-04-25T14:30:00.000Z",
  "decided_at": "2026-04-25T14:30:00.000Z"
}

Changes

    • info

      added the optional property reviewed_at to the response with the status

    • info

      added the optional property reviewed_by to the response with the status