List and retrieve diffs with detailed revision information

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

{
    "id": 1074375,
    "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-ta5qljfffii6zl3pnirz",
    "review_task_id": "GECUI4lxQkes8_LTivsQHw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "ac586f1a39e756e2d22b0fd3fee2f9e552859e4d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074375/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T14:51:07.555225Z"
}