List and retrieve diffs with detailed revision information

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

{
    "id": 1052516,
    "revision": {
        "id": 477379,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d1c95aad03f939c8c0f2225a6ce1fbe210d05fac",
        "head_changeset": "14c6a4b6accc5619ee90853e3ea5b6ca8e6b5b65",
        "phabricator_id": 252461,
        "phabricator_phid": "PHID-DREV-gsrnvih6z5gdfp4zisnm",
        "title": "Bug 1970121 - Use SymbolicationService to compute the symbol table r=mstange",
        "bugzilla_id": 1970121,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477379/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477379/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252461"
    },
    "phid": "PHID-DIFF-oiz7mhskal7nw5as7svh",
    "review_task_id": "ahS4ciNZSMKKzkPhlnweLw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "14c6a4b6accc5619ee90853e3ea5b6ca8e6b5b65",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052516/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T09:45:57.247315Z"
}