List and retrieve diffs with detailed revision information

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

{
    "id": 1079388,
    "revision": {
        "id": 492071,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f0b99f7ee3e50ee9bd2a80528d55ce845d3b770b",
        "head_changeset": "4d87f96f174f4d573ef6a3b404f1d7bd08e36022",
        "phabricator_id": 256439,
        "phabricator_phid": "PHID-DREV-c55boxpxafjgr37h7omw",
        "title": "Bug 1973228 - Add nimbus-newtabTrainhopAddon install source value to the related addonsManager telemetry metrics descriptions. r?willdurand!,mconley",
        "bugzilla_id": 1973228,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492071/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492071/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256439"
    },
    "phid": "PHID-DIFF-rhmfvhnfys5rocjtri3k",
    "review_task_id": "IVwiRQl-RLa0nnlVGWc4zA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4d87f96f174f4d573ef6a3b404f1d7bd08e36022",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079388/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T12:12:26.315984Z"
}