List and retrieve diffs with detailed revision information

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

{
    "id": 1075822,
    "revision": {
        "id": 488893,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8fe9ae8e302177ab32db82fc47a5c4521fc59c44",
        "head_changeset": "5c5c6fc6a07d51a29ea0eb89d418629be8fb140a",
        "phabricator_id": 255620,
        "phabricator_phid": "PHID-DREV-yvkynahdsyyhbrs5fifu",
        "title": "Bug 1974950 - Part 2: Add tests for DOM attribute setter with no arguments r=smaug",
        "bugzilla_id": 1974950,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488893/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488893/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255620"
    },
    "phid": "PHID-DIFF-wyvcsnuiix3bv7fco2s2",
    "review_task_id": "UfX6i00oRWOM8c8gay0nng",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5c5c6fc6a07d51a29ea0eb89d418629be8fb140a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075822/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T08:16:22.569836Z"
}