List and retrieve diffs with detailed revision information

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

{
    "id": 1049513,
    "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-tlirrprwavtwuu3rcni7",
    "review_task_id": "f8ULsSL0Sp6FSgWSNVVKhQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2b2f5f0d7e70332aa320c33e35e86cb67f7452f7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049513/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T20:38:08.998420Z"
}