List and retrieve diffs with detailed revision information

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

{
    "id": 1107151,
    "revision": {
        "id": 513226,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0a5fc8db79ed7e73b2f6a17855cda9a6c842bdae",
        "head_changeset": "39d8f4a64c2cffa98236997a66986ddcbe52aa81",
        "phabricator_id": 257930,
        "phabricator_phid": "PHID-DREV-ltwsw6p4mqd7qahl537n",
        "title": "Bug 1978229 - Support AutoTArrays created from rust. r=nika!",
        "bugzilla_id": 1978229,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/513226/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/513226/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257930"
    },
    "phid": "PHID-DIFF-svpqgjebce7nearf6saw",
    "review_task_id": "bJdUKFKnS6W8kkxDkmpT0g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1006909c415102b7df1e14ea82d981b28a20aa23",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107151/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-18T16:01:03.210052Z"
}