List and retrieve diffs with detailed revision information

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

{
    "id": 1055771,
    "revision": {
        "id": 471552,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "95ab320730a75389873fadbb70f1464a9d849d67",
        "head_changeset": "3bdd6f5487ef8a264974497e3561429b784c6802",
        "phabricator_id": 243803,
        "phabricator_phid": "PHID-DREV-f6ytmvyknlwlb73cddsn",
        "title": "Bug 1602351 - Allow to print the stacktrace in logpoint; r=nchevobbe!",
        "bugzilla_id": 1602351,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/471552/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/471552/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D243803"
    },
    "phid": "PHID-DIFF-qr7eassc6bu2vkgeajfv",
    "review_task_id": "NHx5al1jQLChwMtwbfvvkQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "eb5ec06d428754f64de037507d2781ef7960427b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055771/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T11:21:56.271626Z"
}