List and retrieve diffs with detailed revision information

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

{
    "id": 1078697,
    "revision": {
        "id": 491427,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "96fc24855eb37df1481106fc25a5e27af05b7cf3",
        "head_changeset": "2e534561fa34d4f782b22aa7d3976040f3d85e32",
        "phabricator_id": 256264,
        "phabricator_phid": "PHID-DREV-2xw3gklhviqdjqezpgjb",
        "title": "WIP: Bug 1975956 - [devtools] Record scope when a content task fails.",
        "bugzilla_id": 1975956,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491427/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491427/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256264"
    },
    "phid": "PHID-DIFF-jh26dvjgeydm23squsrk",
    "review_task_id": "DuM26E9JRUe8DX-dlwl1nw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2e534561fa34d4f782b22aa7d3976040f3d85e32",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078697/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T12:39:52.077351Z"
}