List and retrieve diffs with detailed revision information

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

{
    "id": 1080064,
    "revision": {
        "id": 492113,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "da03da7545c00acaf12afce0f282406bdbc1b444",
        "head_changeset": "aea051a59891497f547393096f3a82af092d5299",
        "phabricator_id": 256444,
        "phabricator_phid": "PHID-DREV-cwwmqxdclp2vhz2lwlqq",
        "title": "Bug 1975756 - Add Nimbus flag to enable address sync",
        "bugzilla_id": 1975756,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492113/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492113/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256444"
    },
    "phid": "PHID-DIFF-nr77bu3p3f7i3j2oxnwf",
    "review_task_id": "cbXbiznqShWv274inVn72Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fa7262bf4c43d02953a2e084b4ebde1670255426",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080064/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T11:45:33.134333Z"
}