List and retrieve diffs with detailed revision information

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

{
    "id": 1072958,
    "revision": {
        "id": 483811,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2f0cee03e2c31be73abe13b6cad658953ef1a365",
        "head_changeset": "0427d2181c609cb80b78f2035c163eda823e2fa1",
        "phabricator_id": 254622,
        "phabricator_phid": "PHID-DREV-63zqolxue6fnspvyvutr",
        "title": "WIP: Bug 1967562 - Fix is_auto_selected parameter to reflect autoreauthn r?#anti-tracking!",
        "bugzilla_id": 1967562,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483811/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483811/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254622"
    },
    "phid": "PHID-DIFF-7eymbrmgojfh5z726pkj",
    "review_task_id": "MCsWuRhlTD-adrLAAJd85g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "03f83d031594080bfc2708c62b5eebe72ae68f41",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072958/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T01:04:18.972398Z"
}