List and retrieve diffs with detailed revision information

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

{
    "id": 1072329,
    "revision": {
        "id": 485197,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "199c8abcb7a4bf24e87c7cc4d894a293f212c5db",
        "head_changeset": "75eebe07530473555374d2e324bc72df5ac9080e",
        "phabricator_id": 254868,
        "phabricator_phid": "PHID-DREV-zsjqi35d3m4czgxvqnj6",
        "title": "Bug 1973102 - Don't special-case GC histograms post-bug-1949494 r?TravisLong",
        "bugzilla_id": 1973102,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485197/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485197/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254868"
    },
    "phid": "PHID-DIFF-lpf4rmuvt72maqbz2bge",
    "review_task_id": "NUzQSsRfRseSjvxJD7WnNw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d403a4b765270fbf51c99bf53a301e66bc2c6ec1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072329/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T14:48:11.836107Z"
}