List and retrieve diffs with detailed revision information

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

{
    "id": 1105871,
    "revision": {
        "id": 512632,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "76f448acb1d5c3a749d5e4a1b68afd97bd5ce27c",
        "head_changeset": "fc53767c092aafd6f84e5ba37a368276c8188ddd",
        "phabricator_id": 261047,
        "phabricator_phid": "PHID-DREV-priu2zcek4wtpdozxndo",
        "title": "Bug 1895181 - [devtools] Handle 'anchor-name' property in inactive CSS. r=#devtools-reviewers.",
        "bugzilla_id": 1895181,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512632/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512632/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261047"
    },
    "phid": "PHID-DIFF-6th6dztonopmu3xd4gwi",
    "review_task_id": "McMU3TElQmyJRcyPXfHcpQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9120184d93c46e4955a9ef9e1ecb6dbd1652f8ab",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105871/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-14T08:37:13.614872Z"
}