List and retrieve diffs with detailed revision information

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

{
    "id": 1038785,
    "revision": {
        "id": 475574,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0115f29a56f86b50d3dde31f1821dfd291fd190a",
        "head_changeset": "446587446ac90fb15068309187f4cd127b014e36",
        "phabricator_id": 249983,
        "phabricator_phid": "PHID-DREV-ydxreoesvnkukyhoyjeu",
        "title": "Bug 1820252 - Lazify Full-Page Translations r=#translations-reviewers",
        "bugzilla_id": 1820252,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475574/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475574/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249983"
    },
    "phid": "PHID-DIFF-6p3lexdr6j3v3lu76ktv",
    "review_task_id": "GDNXEF4LRCOOvRhjKmOJNA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a46a15d7a33b13d6c65cd39e455172a2bf1fefae",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1038785/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T18:49:07.596861Z"
}