List and retrieve diffs with detailed revision information

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

{
    "id": 1078008,
    "revision": {
        "id": 476619,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1b315f104be020f138c617de722a3649feeec084",
        "head_changeset": "ade6a301e14579bd9df7785f490e914e558fa62d",
        "phabricator_id": 251558,
        "phabricator_phid": "PHID-DREV-34xrf7y53dc54xqqszo3",
        "title": "WIP: Bug 1964600 - Remove the crash helper PID from the IPC connectors",
        "bugzilla_id": 1964600,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476619/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476619/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251558"
    },
    "phid": "PHID-DIFF-q2gr7rdvy6xbvtie7eg7",
    "review_task_id": "Te0dxhczRoGbS6gAne8SMw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e46cada95c3cc7c53ef916b824ccad4ac583297a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078008/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T10:10:20.503027Z"
}