List and retrieve diffs with detailed revision information

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

{
    "id": 1054279,
    "revision": {
        "id": 477702,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "49f3928d0b630289ca325d92e6e59a682bd52eee",
        "head_changeset": "c5fec05eccf28d3e27d6e7dd0b8db177eaca0f51",
        "phabricator_id": 252844,
        "phabricator_phid": "PHID-DREV-ecvvgfws5ccwvjwsqoes",
        "title": "Bug 1970483 - Make `sPointerCapturingElementAtLastPointerUpEvent` a `StaticRefPtr<nsIWeakReference>` r=smaug!",
        "bugzilla_id": 1970483,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477702/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477702/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252844"
    },
    "phid": "PHID-DIFF-cxo5ph6m34idjno4brjj",
    "review_task_id": "EZllnSqRRiGEbR08ZKuRuw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c5fec05eccf28d3e27d6e7dd0b8db177eaca0f51",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054279/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T12:44:16.015105Z"
}