List and retrieve diffs with detailed revision information

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

{
    "id": 1057867,
    "revision": {
        "id": 478317,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "669e086a277f1c78e65988837f286b32266b4501",
        "head_changeset": "a5e020f215f7c1f5e434de70a93ed13c492199b9",
        "phabricator_id": 245932,
        "phabricator_phid": "PHID-DREV-gw3wwu2voat2l6pzxqyq",
        "title": "Bug 1932681 - Use Macrobenchmark tests to measure the performance of Baseline Profiles CUJs",
        "bugzilla_id": 1932681,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478317/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478317/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D245932"
    },
    "phid": "PHID-DIFF-fqxosy6tn67vlvkg57hc",
    "review_task_id": "YYVDlQ8fQ9ev9m3ovYkRNA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a5e020f215f7c1f5e434de70a93ed13c492199b9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057867/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T19:43:31.140211Z"
}