List and retrieve diffs with detailed revision information

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

{
    "id": 1042873,
    "revision": {
        "id": 474427,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e5adac27be1d006c971f4e5d7e0eddcb6ffefdfd",
        "head_changeset": "c58b15ab18db336e8f09a6aa2a910a83cc0a1c02",
        "phabricator_id": 248386,
        "phabricator_phid": "PHID-DREV-pj4l6bmaxz3arpk4pgxb",
        "title": "Bug 1857116: Enable browser_textSelectionContainer.js on CI. Tag it as os_integration so it is verified when upgrading Windows on CI.",
        "bugzilla_id": 1857116,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474427/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474427/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248386"
    },
    "phid": "PHID-DIFF-otapjbupekieq7og42ig",
    "review_task_id": "VHxX2UmNTlScmbBG26Ph0w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ee79c0f3d32b18f0e8507cb90974e13d84520f61",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1042873/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-26T11:05:38.725592Z"
}