List and retrieve diffs with detailed revision information

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

{
    "id": 1087434,
    "revision": {
        "id": 495886,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "702da752463da8b4f1e7e5347965ecbc7c2e8be2",
        "head_changeset": "8edbd0286d52186df79de33518e9b39dfd0be5d6",
        "phabricator_id": 257315,
        "phabricator_phid": "PHID-DREV-6t4d7gvcjre4rshtmzyb",
        "title": "Bug 1974813 - add experimental scripts to help import third_party/chromium/build commits. r?ng!",
        "bugzilla_id": 1974813,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495886/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495886/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257315"
    },
    "phid": "PHID-DIFF-tavmpltb3mp7y2z3jtrv",
    "review_task_id": "a2JIfsWwSAKPYcBUlE7ifA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5040b051538709bca65f51ebfa93820674fef1e5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087434/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T18:33:21.597689Z"
}