List and retrieve diffs with detailed revision information

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

{
    "id": 1058250,
    "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-asurnvf7gcdpyh4e7shm",
    "review_task_id": "cZqR7XtuTjWGYnx-8wUC-A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "583be506cd9ac24aa29b3d05a55b81bdcf39f21c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058250/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T09:52:28.308732Z"
}