List and retrieve diffs with detailed revision information

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

{
    "id": 1056764,
    "revision": {
        "id": 477925,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f2b9d4c02a75a833b2b73d9abdab4b6a301d74e7",
        "head_changeset": "d048b44dd02507f4ec341d9f0de1da4174c80593",
        "phabricator_id": 253084,
        "phabricator_phid": "PHID-DREV-ouhl7p3lybydv4iutigh",
        "title": "Bug 1965601 - Part 4. Rename NS_ERROR_DOM_MEDIA_REMOTE_DECODER_CRASHED_* to NS_ERROR_DOM_MEDIA_REMOTE_CRASHED_*.",
        "bugzilla_id": 1965601,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477925/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477925/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253084"
    },
    "phid": "PHID-DIFF-nm5w5cjj5omjhud57jyg",
    "review_task_id": "BXaoWc1hRT6GY2X285eXGg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "03e22029153dbd927e328847b39b21c439cfe971",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056764/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T14:44:22.194879Z"
}