List and retrieve diffs with detailed revision information

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

{
    "id": 1078024,
    "revision": {
        "id": 490344,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "88eb751165c42a9e54c0a7ffa727b2c7c23d7dd7",
        "head_changeset": "3b6b7f5bf09bf047dc12d81fd50668fe341d77de",
        "phabricator_id": 256022,
        "phabricator_phid": "PHID-DREV-vq5w6hfvsln6ubsad2wy",
        "title": "Bug 1974434 - Add l10n attributes to the profiler popup dropmarker r?florian!",
        "bugzilla_id": 1974434,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490344/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490344/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256022"
    },
    "phid": "PHID-DIFF-wty2dtevopky5wktopwn",
    "review_task_id": "DJWGVbewR1-x5CQ30v7YlA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "afc4ead381aff467900fb46d3bd8de5289ced58e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078024/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T11:13:17.326877Z"
}