List and retrieve diffs with detailed revision information

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

{
    "id": 1074912,
    "revision": {
        "id": 486707,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "47d2305074e7678d1e69fc853de92c511f1fd6e5",
        "head_changeset": "f2a7ef84ee8783669d19f916af72fea539d34607",
        "phabricator_id": 255303,
        "phabricator_phid": "PHID-DREV-qhx5tfloo5d6hbfs4dh6",
        "title": "Bug 1972813 - Extract address book discovery logic from account hub into a module. r=vineet,#thunderbird-reviewers",
        "bugzilla_id": 1972813,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486707/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486707/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255303"
    },
    "phid": "PHID-DIFF-rxnyswkvlbcxlk627uba",
    "review_task_id": "NxDfzzy5T2u09tfZXXnWZw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "da19efa6896ec002199a604b29acd27c162e54f9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074912/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T04:16:39.411163Z"
}