List and retrieve diffs with detailed revision information

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

{
    "id": 1052993,
    "revision": {
        "id": 471935,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "225df4261b1c4cd2083ef3f5951cbe14c9145a77",
        "head_changeset": "1ee245f3dff06c546513f8c7ffa1e8a8e04b2d74",
        "phabricator_id": 244824,
        "phabricator_phid": "PHID-DREV-73v6o36ubvqg3qhdb3vz",
        "title": "Bug 1655503 - Prevent inherited title attribute on clear button. r=emilio",
        "bugzilla_id": 1655503,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/471935/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/471935/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D244824"
    },
    "phid": "PHID-DIFF-m32267yfqgu3brr4um4q",
    "review_task_id": "JLEN-N-qT_SWnv5PtqAcCA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "04179513a4734b19ed75b4b840ceda6542b26a52",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052993/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T18:56:37.067417Z"
}