List and retrieve diffs with detailed revision information

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

{
    "id": 1077819,
    "revision": {
        "id": 476366,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6ffc96c873f3696728d3dec7d6e014201c03f51b",
        "head_changeset": "57d60c5aae57bee637611cc7d98d834bfe2af48e",
        "phabricator_id": 251224,
        "phabricator_phid": "PHID-DREV-coxr2urqxrx6tkuu5g7e",
        "title": "Bug 1957280: Introduce limitMouseScrollAmount attribute to tree to limit mouse scroll amount",
        "bugzilla_id": 1957280,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476366/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476366/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251224"
    },
    "phid": "PHID-DIFF-x62fckoalr3wu34woyjj",
    "review_task_id": "RdkBA11wQzGAyn05roQb7Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "24c0c6e2db56d0449e17726ed26a2ccb13215259",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077819/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T23:34:05.232055Z"
}