List and retrieve diffs with detailed revision information

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

{
    "id": 1074699,
    "revision": {
        "id": 486891,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e2282b93feac9d91567250a175d35ab660ff9cae",
        "head_changeset": "b9d857ed9a1eb6d63a33873ddb739dba37be7243",
        "phabricator_id": 255322,
        "phabricator_phid": "PHID-DREV-amnnhco2eagch2xon25o",
        "title": "Bug 1952030: composify the add login screen",
        "bugzilla_id": 1952030,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486891/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486891/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255322"
    },
    "phid": "PHID-DIFF-676badgfj3cfibe226fu",
    "review_task_id": "QxDOXVG-QxicenxHsF0xMg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c446a00b56a67b8294287a1e4e6603c0effbb736",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074699/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T23:11:12.489356Z"
}