List and retrieve diffs with detailed revision information

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

{
    "id": 1059413,
    "revision": {
        "id": 456128,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ac2b765f864daa388e22f822db75dbdd153249ad",
        "head_changeset": "e79356d627e2a61eb00264f76e279a2c4b7de9d1",
        "phabricator_id": 238866,
        "phabricator_phid": "PHID-DREV-yzdpvllzpizu2zh4e4dj",
        "title": "WIP: Bug 1927886: This is unnecessary; DecrementBufferedAmount queues a task, as required in the spec.",
        "bugzilla_id": 1927886,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/456128/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/456128/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D238866"
    },
    "phid": "PHID-DIFF-2fhnesng3lpowz2yyyy2",
    "review_task_id": "eS_oGYhbQOaklR73UCi1LA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7f154968ccb6b08b56668f06a0cd90da4401448f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059413/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T15:53:20.852040Z"
}