List and retrieve diffs with detailed revision information

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

{
    "id": 1055587,
    "revision": {
        "id": 475425,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "aafe6b2423de2863f79411b9c4f127d09af5e787",
        "head_changeset": "06a570a8edeb980641d1ee970eb6ff30e28679ea",
        "phabricator_id": 249867,
        "phabricator_phid": "PHID-DREV-jvfpy7db4cigzmeirtxq",
        "title": "WIP: Bug 1923650 - Part 4: Remove the toggleBrowsingMode helper function from tabstrip",
        "bugzilla_id": 1923650,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475425/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475425/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249867"
    },
    "phid": "PHID-DIFF-pgkvps2dw2rma7uej5cc",
    "review_task_id": "OU564-o0RF-9eReZa7AwHg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b9e23f3b941035ec71fa2fc8b8fa7add00de1cea",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055587/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T06:32:39.196627Z"
}