---
title: "See what Binderwork changed in a template"
method: GET
path: "/templates/{key}/diff"
tags: ["template"]
---

# See what Binderwork changed in a template

`GET /templates/{key}/diff`

## Request

- Base URL: `https://localhost:4410/api/v1`
- URL: `https://localhost:4410/api/v1/templates/{key}/diff`
- Auth: HTTP bearer

Every difference between the publisher's file and the library's, as structured changes. Filling in blanks changes no text and isn't listed; for every bundled form today the list is empty: verbatim from source.

## Path parameters

- `key` string, required

## Query parameters

- `version` string

## Response `200`

The result.

- object
  - `key` string, required
  - `version` string, required
  - `verbatim` boolean, required
  - `source_sha256` string, required
  - `bundled_sha256` string, required
  - `changes` object[], required
    - `kind` string, required
    - `by` string, required
    - `before` string, required
    - `after` string, required

## Other responses

- `default`: An RFC 9457 problem.

---

[API](https://skmtc.dev/binderwork/apis/binderwork-api.md) · [All operations](https://skmtc.dev/binderwork/apis/binderwork-api/llms.txt) · [OpenAPI document](https://skmtc.dev/binderwork/apis/binderwork-api/revisions/f8fab0ebee53?raw)
