List and retrieve diffs with detailed revision information

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

{
    "id": 1046635,
    "revision": {
        "id": 475154,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8f18e2177eec322168d25c227965879e51e8091c",
        "head_changeset": "2de70e8b6cc1a51981f3d5280256140e53e59632",
        "phabricator_id": 249463,
        "phabricator_phid": "PHID-DREV-utri3y2ivqpeell4dzk3",
        "title": "Bug 1966444 - Change the main menu background and the items background and spacing between groups.",
        "bugzilla_id": 1966444,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475154/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475154/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249463"
    },
    "phid": "PHID-DIFF-ipliazerg6bsfe5zmxao",
    "review_task_id": "Xm8Y_b0oR5CFaKp5dhv-mA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6244efc64add3ed45a9dbea324bf942fec49231d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1046635/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-26T16:06:42.886074Z"
}