List and retrieve diffs with detailed revision information

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

{
    "id": 1079722,
    "revision": {
        "id": 475742,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ea4930ad6ffd9683e3177619553f90a213ba9e88",
        "head_changeset": "9be69e241ed15f2ee888de005133a3f7e0f7d63b",
        "phabricator_id": 250284,
        "phabricator_phid": "PHID-DREV-e2pf47od4bgjo3gg2ntj",
        "title": "Bug 1948731 - Add hint string from fenix to be shown if URL is unavailable",
        "bugzilla_id": 1948731,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475742/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475742/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250284"
    },
    "phid": "PHID-DIFF-esu6aai3emjtxdilcpg3",
    "review_task_id": "Ve6zu24tRzKxNs7c8tb1qA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "13e53fe61de79d31d30a073aa1d32eae39a78be0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079722/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T20:15:03.111073Z"
}