List and retrieve diffs with detailed revision information

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

{
    "id": 1038479,
    "revision": {
        "id": 474370,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "32825d371661c46f479acc4f310db98822ee55fd",
        "head_changeset": "4a60f78d035f0c8ee357e8d82af8886dd35fc5ca",
        "phabricator_id": 248305,
        "phabricator_phid": "PHID-DREV-bmc3phv3fc6hnms6fefz",
        "title": "WIP: Bug 1962174 - part 1 - Have TranslationBinding update BrowserScreenStore",
        "bugzilla_id": 1962174,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474370/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474370/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248305"
    },
    "phid": "PHID-DIFF-kqbdzsgxlnpgtsy2isxv",
    "review_task_id": "XN0fu3k3QiCHYERa5Fv45Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d7d0ba3d248ac4997c15a2c2fec4e3f3a8ed01f9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1038479/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T16:14:25.354563Z"
}