List and retrieve diffs with detailed revision information

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

{
    "id": 1105497,
    "revision": {
        "id": 512275,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "669ee6060f3cff758fee1dbf4d125ccefb5b2d45",
        "head_changeset": "a6b0518660b581c8e53695c911cd4bc47e30e7c6",
        "phabricator_id": 261006,
        "phabricator_phid": "PHID-DREV-wlyrhi4p5xupydv4fcr4",
        "title": "Bug 1982885 - [mips64] Implement {Not}Signed for MacroAssembler::branchAddPtr on mips64. r=anba,jandem",
        "bugzilla_id": 1982885,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512275/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512275/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261006"
    },
    "phid": "PHID-DIFF-r7oppc7jade5qhs63q4b",
    "review_task_id": "WIz0PKioTwWwhLKNW1LM3A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a6b0518660b581c8e53695c911cd4bc47e30e7c6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105497/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T17:12:37.661657Z"
}