List and retrieve diffs with detailed revision information

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

{
    "id": 1080802,
    "revision": {
        "id": 493277,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a0dcff3b0556b1423fa7da0fdf0c84f060fdd79e",
        "head_changeset": "642d4b51157b94dcddf232374f136ce9803c89e2",
        "phabricator_id": 256801,
        "phabricator_phid": "PHID-DREV-yecme7nuwcff7rz3lkka",
        "title": "Bug 1925875 - Investigate why we are not flushing everything.",
        "bugzilla_id": 1925875,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493277/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493277/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256801"
    },
    "phid": "PHID-DIFF-ko3e37ozrtzbjk3oo56h",
    "review_task_id": "RLxiEZXgSL--b58uJzutEg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "642d4b51157b94dcddf232374f136ce9803c89e2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080802/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T13:49:24.150068Z"
}