List and retrieve diffs with detailed revision information

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

{
    "id": 1078721,
    "revision": {
        "id": 491442,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "96fc24855eb37df1481106fc25a5e27af05b7cf3",
        "head_changeset": "1712ccd35ff36aca9622dd70260e951fbfc872ec",
        "phabricator_id": 256274,
        "phabricator_phid": "PHID-DREV-iudy3agfhg6nw5252nve",
        "title": "Bug 1975969 - Always skip move-to-rect if the popup fits in its toplevel. r=stransky",
        "bugzilla_id": 1975969,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491442/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491442/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256274"
    },
    "phid": "PHID-DIFF-brfr65npbqhmb5ob5fym",
    "review_task_id": "cTpQoqIKQA6ZIv3efFpfvA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1712ccd35ff36aca9622dd70260e951fbfc872ec",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078721/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T13:31:23.513423Z"
}