List and retrieve diffs with detailed revision information

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

{
    "id": 1050318,
    "revision": {
        "id": 397586,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ef784b73994b27ba0ec6984e0b6126c1234d8be4",
        "head_changeset": "8fa3601f018d4a00727065feae560ce26f80a499",
        "phabricator_id": 229076,
        "phabricator_phid": "PHID-DREV-v7k5bvxdqbyl3kmtzypt",
        "title": "Bug 1885221, part 5 - Implement JActor::RecvTyped(). WIP",
        "bugzilla_id": 1885221,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/397586/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/397586/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D229076"
    },
    "phid": "PHID-DIFF-qdy6jgkzlhlbyyftlqpj",
    "review_task_id": "UwV0VklRS_SgIw9M16-P0Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e9544402255e6f5b418498e44483f72a7df03ba8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050318/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-31T00:14:32.596795Z"
}