List and retrieve diffs with detailed revision information

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

{
    "id": 1059485,
    "revision": {
        "id": 479928,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "80a930d914b33d18842e8af76103e6dc1ffc4031",
        "head_changeset": "6e140841d856a6a64807ce08d03748feb72c2883",
        "phabricator_id": 253853,
        "phabricator_phid": "PHID-DREV-i42y53o7md6evi3i3y2r",
        "title": "Bug 1972368, expanded documentation of the autocomplete and form autofill components, r=#credential-management-reviewers",
        "bugzilla_id": 1972368,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/479928/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/479928/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253853"
    },
    "phid": "PHID-DIFF-nord2njxasi7f4ncdxhr",
    "review_task_id": "Cn87vEJ1S6uxA6FT6pMPSg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6e140841d856a6a64807ce08d03748feb72c2883",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059485/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T17:02:26.882226Z"
}