List and retrieve diffs with detailed revision information

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

{
    "id": 1065183,
    "revision": {
        "id": 457104,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ac2b765f864daa388e22f822db75dbdd153249ad",
        "head_changeset": "a6dcb0aaf7978ae267fcd8abcc282a676a0cbde9",
        "phabricator_id": 238872,
        "phabricator_phid": "PHID-DREV-xx2ilaof763tuqzcmbmy",
        "title": "WIP: Bug 1927886: Separate usrsctp code from the code that tracks whether we're forcing ordered mode.",
        "bugzilla_id": 1927886,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/457104/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/457104/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D238872"
    },
    "phid": "PHID-DIFF-dltwlr5xf5qqpt35akdh",
    "review_task_id": "b87v5bauSMi5YT7na32NlQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f92a07ff9f22f7b1da75a8135c88bb41244137eb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065183/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T15:27:07.002807Z"
}