List and retrieve diffs with detailed revision information

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

{
    "id": 1077700,
    "revision": {
        "id": 490416,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ca05727eae3f84a125e7da3ac3dd83974de8f3ce",
        "head_changeset": "bf928ee27ddc32f64a2787feaae93bc76245a2cf",
        "phabricator_id": 256029,
        "phabricator_phid": "PHID-DREV-u5ro4phgqz325u3iqrmn",
        "title": "Bug 1975548 - Update unified trust panel to match the new figma. r=gl",
        "bugzilla_id": 1975548,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490416/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490416/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256029"
    },
    "phid": "PHID-DIFF-mjnrenzxja3r5nbygeae",
    "review_task_id": "XNnpgTsKQDGlIXmqCAKqmg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bf928ee27ddc32f64a2787feaae93bc76245a2cf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077700/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T21:15:13.222875Z"
}