List and retrieve diffs with detailed revision information

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

{
    "id": 1051840,
    "revision": {
        "id": 469388,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "72dedca3e49f6f2c0170b1bc86786fd06bdc88e0",
        "head_changeset": "faf71ec2690c0131b4947f1912e13963e21ca5b2",
        "phabricator_id": 241759,
        "phabricator_phid": "PHID-DREV-ivq6apzuwui6c6676e6y",
        "title": "Bug 1954293 - Remove test-only usages of privacy.partition.network_state. r=#necko-reviewers",
        "bugzilla_id": 1954293,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/469388/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/469388/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D241759"
    },
    "phid": "PHID-DIFF-qprrchsu2th2jzwlbnqa",
    "review_task_id": "T6_KJmnATo-ETIkZvrgw3w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d087f57dc6c49bf90f04059ed6c839ab554617cb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051840/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T14:24:57.708653Z"
}