List and retrieve diffs with detailed revision information

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

{
    "id": 1077699,
    "revision": {
        "id": 473514,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cdb7f526b187af6cb7913be04b06667814fa19cd",
        "head_changeset": "c1dc79531a5b3fcf023feb61d79acea7fc7d2216",
        "phabricator_id": 246765,
        "phabricator_phid": "PHID-DREV-luldzbc6b26uicweclr7",
        "title": "WIP: Bug 1956133 - Update raptor Fenix installations to use adb install multiple. r?#perftest",
        "bugzilla_id": 1956133,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473514/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473514/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D246765"
    },
    "phid": "PHID-DIFF-7ahyve23kyzael34i5fm",
    "review_task_id": "VaztWGu7Qv-fgfw8yRyYwQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "934c4aff82f97bb67a9d66927783813ae051a11d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077699/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T20:33:12.869367Z"
}