List and retrieve diffs with detailed revision information

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

{
    "id": 1072772,
    "revision": {
        "id": 485318,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1ea6add1858564413390711b2e677797c1742f7b",
        "head_changeset": "486139fd4cfe2045902f5fea9be9456024a5b4f3",
        "phabricator_id": 254980,
        "phabricator_phid": "PHID-DREV-ygduhmnkaxebf6dld272",
        "title": "Bug 1973816 - Expose the fake video source as a real camera backend with two capabilities under a pref. r?jib",
        "bugzilla_id": 1973816,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485318/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485318/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254980"
    },
    "phid": "PHID-DIFF-kebzmvnmmev5dhze4pkj",
    "review_task_id": "S2qgubTSRj2NDGEtOhiVPg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ea065a0e82af711387932095be78969764ea6013",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072772/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T20:59:00.275078Z"
}