List and retrieve diffs with detailed revision information

GET /v1/diff/1073557/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1073557,
    "revision": {
        "id": 479951,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "80a930d914b33d18842e8af76103e6dc1ffc4031",
        "head_changeset": "c0ba5fa3f8cc19c07e6c52929c382e0a725b2ae6",
        "phabricator_id": 253862,
        "phabricator_phid": "PHID-DREV-bxorgnhgu5icesgacqty",
        "title": "WIP: Bug 1972392 - shortcuts thompson sampling",
        "bugzilla_id": 1972392,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/479951/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/479951/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253862"
    },
    "phid": "PHID-DIFF-4elckjnv6nez7hbndicq",
    "review_task_id": "GwbBNZGiQeyJrulq9wPvGw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f65048ab7a52586efc0b3103318e2a2ce6f9d8d7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073557/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T17:34:35.683945Z"
}