List and retrieve diffs with detailed revision information

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

{
    "id": 1058326,
    "revision": {
        "id": 478412,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f86907e8f162282d9e646ce9093f9a552c84d760",
        "head_changeset": "583be506cd9ac24aa29b3d05a55b81bdcf39f21c",
        "phabricator_id": 160892,
        "phabricator_phid": "PHID-DREV-6habsnqz2ijeef3sqkqj",
        "title": "Bug 1801292 - SendConnectRequest should only be called when mState==SETTING_UP_TUNNEL r=#necko",
        "bugzilla_id": 1801292,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478412/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478412/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D160892"
    },
    "phid": "PHID-DIFF-du7mzs7igo5zd7wmqxwv",
    "review_task_id": "DpBODhc-Q1-y6vEsABbP1w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "65ecf1dcd6e32349c3d90841c34158503814ed44",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058326/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T12:51:09.116064Z"
}