List and retrieve diffs with detailed revision information

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

{
    "id": 1050150,
    "revision": {
        "id": 476706,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e422931fd17b312576af6283112dc7289e96003d",
        "head_changeset": "b322a8bef37a40ccbaac3c0e2967c773531053ba",
        "phabricator_id": 251658,
        "phabricator_phid": "PHID-DREV-im2msuutod7g3bpaqxpv",
        "title": "Bug 1969000 part 1: Change WPT naturalWidth-naturalHeight.html to append its img elements dynamically with JS. r?#layout",
        "bugzilla_id": 1969000,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476706/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476706/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251658"
    },
    "phid": "PHID-DIFF-oc3mx45hxzlixnmrhdkv",
    "review_task_id": "XID2iddtQsGvn4Rk6ZesdA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c662f0984517a59a76676debcee03f2dbc0e1fbc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050150/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T18:46:07.988655Z"
}