List and retrieve diffs with detailed revision information

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

{
    "id": 1038947,
    "revision": {
        "id": 474804,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e866bceefb803078e9a6e20e28eabda486246785",
        "head_changeset": "1aa7714ac67ffc5912fcaea1b9cfab2e71fc3fa5",
        "phabricator_id": 248971,
        "phabricator_phid": "PHID-DREV-x2wjqcwhdajptrpm6gy6",
        "title": "Bug 1946790 - Set --in-content-border-color directly to CanvasText in forced-colors. r=#desktop-theme-reviewers",
        "bugzilla_id": 1946790,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474804/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474804/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248971"
    },
    "phid": "PHID-DIFF-ol5y2azysckh76imyoxd",
    "review_task_id": "Katt-fcYSW-9DHF9MctKJA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e4705d73074b8f2cc934c032c6fc8d35b0bc94e8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1038947/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T20:15:48.753013Z"
}