List and retrieve diffs with detailed revision information

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

{
    "id": 1077284,
    "revision": {
        "id": 489967,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cd1e235e8074f95f7395d5cdae79571bee02bbf9",
        "head_changeset": "1360689f27ccf52e0841f7e24c36ae7824c34961",
        "phabricator_id": 255932,
        "phabricator_phid": "PHID-DREV-j3odqnnuhzzgduiu2dkh",
        "title": "Bug 1970447: When closeWindowWithLastTab=false and closing the last group make sure the new tab is created outside the group. r=#tabbrowser-reviewers!",
        "bugzilla_id": 1970447,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489967/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489967/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255932"
    },
    "phid": "PHID-DIFF-jnkhwymazn6eodanzwkj",
    "review_task_id": "AyqhFGyiQP6WQB156bbYTw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1360689f27ccf52e0841f7e24c36ae7824c34961",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077284/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T09:57:16.543634Z"
}