List and retrieve diffs with detailed revision information

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

{
    "id": 1105496,
    "revision": {
        "id": 512271,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "669ee6060f3cff758fee1dbf4d125ccefb5b2d45",
        "head_changeset": "82acbe643df7e1e662c904d2b8168de1de6a9d5a",
        "phabricator_id": 261005,
        "phabricator_phid": "PHID-DREV-f625uidgq6plosxekts3",
        "title": "Bug 1982885 - [loong64] Implement {Not}Signed for MacroAssembler::branchAddPtr on loong64. r=anba,jandem",
        "bugzilla_id": 1982885,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512271/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512271/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261005"
    },
    "phid": "PHID-DIFF-narszp63dtcuanxe7hpw",
    "review_task_id": "bHIINB02SLC7GjQXG5etZg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "82acbe643df7e1e662c904d2b8168de1de6a9d5a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105496/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T17:09:35.780840Z"
}