List and retrieve diffs with detailed revision information

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

{
    "id": 1054389,
    "revision": {
        "id": 476817,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cb8ee30c819d5f13ec7c7bc01d0866d6a9441992",
        "head_changeset": "214d8173e64beca76206823e4b7ae907d11a22c4",
        "phabricator_id": 251765,
        "phabricator_phid": "PHID-DREV-ekqo4k2rww2j6fklyebh",
        "title": "Bug 1956634 - Fix sidebar tests when clear search button is enabled. r=#sidebar-reviewers",
        "bugzilla_id": 1956634,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476817/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476817/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251765"
    },
    "phid": "PHID-DIFF-3eaw7oq2pxgu52b72hjl",
    "review_task_id": "MAJiL-96SFK0Hl8XNX-_SQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ae24c589e7d76ece009651a2e00bb7da73f52e46",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054389/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T15:16:50.898212Z"
}