List and retrieve diffs with detailed revision information

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

{
    "id": 1057407,
    "revision": {
        "id": 475980,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d9620022f8349eeb73a4c2636a8ea317ce9e3dbf",
        "head_changeset": "7e1af5d4ae96dd377e4beedf9086041a99a8daec",
        "phabricator_id": 250585,
        "phabricator_phid": "PHID-DREV-b7qcoteghofmv4lsw7ju",
        "title": "Bug 1894137 - add codec to RTCRtpEncodingParameters;r=bwc!,dbaker",
        "bugzilla_id": 1894137,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475980/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475980/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250585"
    },
    "phid": "PHID-DIFF-hwwtxop4ag3gp7hvh6p7",
    "review_task_id": "XQ3UwP_AT5a8St_B4OA1jw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bb0c6ea35a979e71516e5c3844b74a31e311ae79",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057407/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T08:57:37.069452Z"
}