List and retrieve diffs with detailed revision information

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

{
    "id": 1074700,
    "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-dtr3r5572p4ca7ojcc5f",
    "review_task_id": "Xq9DOGw9Rjqk_JPTmMFlAw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "31c8c67f7b47d5dd0e5d0e81d4ea4aeee7d8f4cc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074700/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T23:06:47.903755Z"
}