List and retrieve diffs with detailed revision information

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

{
    "id": 1070864,
    "revision": {
        "id": 478706,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b13cc98f30832103ba1aabf67f950ce86d05b394",
        "head_changeset": "19c879d0441b83e4faceabdcabfc47cbc577d17f",
        "phabricator_id": 253713,
        "phabricator_phid": "PHID-DREV-bbmklo57gtf4glpbfwoc",
        "title": "WIP: Bug 1903112 - Add some logging to the shutdown phase of the session restore components. r?chutten,#sessionstore-reviewers",
        "bugzilla_id": 1903112,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478706/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478706/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253713"
    },
    "phid": "PHID-DIFF-37zvwarjbbuxh6xb7eab",
    "review_task_id": "K2j5RJjESWGnEdo7Z9qFZQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "48c40dc281e2255d62b82e2bfb3e7fe4c3bcaa9f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1070864/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-23T18:13:55.799577Z"
}