List and retrieve diffs with detailed revision information

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

{
    "id": 1053780,
    "revision": {
        "id": 477633,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1842bb00f5c062f3d468372c2b4cf502181f62fb",
        "head_changeset": "b2518ded5685ec4689b24ae2ef2f8ef6e6f9dab1",
        "phabricator_id": 252736,
        "phabricator_phid": "PHID-DREV-o55cnsuqmqtvra5bxao5",
        "title": "Bug 1970137 - Fetch saved wallpaper before remote metadata lookup",
        "bugzilla_id": 1970137,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477633/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477633/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252736"
    },
    "phid": "PHID-DIFF-i4kxfknwravcxdaxorf2",
    "review_task_id": "Y_4USx1VSKOtmKi1Stly4w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b2518ded5685ec4689b24ae2ef2f8ef6e6f9dab1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053780/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T19:40:17.257147Z"
}