List and retrieve diffs with detailed revision information

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

{
    "id": 1039613,
    "revision": {
        "id": 475834,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "a296bb59b1ddad51a706de2ab0c76d70e9f87435",
        "head_changeset": "d94fd559a5dd81ab9c0a7fd17e9dc3d194cd94c6",
        "phabricator_id": 250407,
        "phabricator_phid": "PHID-DREV-k6myvzjpurhbgynqpwix",
        "title": "Bug 1223951 - Fix the way GloDa handles contacts without an email address. r=#thunderbird-reviewers",
        "bugzilla_id": 1223951,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475834/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475834/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250407"
    },
    "phid": "PHID-DIFF-piqq3hfg5wfh2mo2mvgg",
    "review_task_id": "XoKuavRVRNu3rnGjIxFHUA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "d94fd559a5dd81ab9c0a7fd17e9dc3d194cd94c6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039613/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T10:19:51.337269Z"
}