List and retrieve diffs with detailed revision information

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

{
    "id": 1108728,
    "revision": {
        "id": 516257,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1e53f118cd4bbebc1a98b90743d3c72a4d5d444f",
        "head_changeset": "5576199df6c46a2f4aa3af97e3222e86b7899ae8",
        "phabricator_id": 261748,
        "phabricator_phid": "PHID-DREV-yrmnqjnlx5wsgrswpzil",
        "title": "Bug 1984102 - Keep AutoTArray bit across relocations. r=nika!",
        "bugzilla_id": 1984102,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516257/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516257/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261748"
    },
    "phid": "PHID-DIFF-5szeclptch6jts47orza",
    "review_task_id": "JwQTnq0xQoWoJUIKrcMq0Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5576199df6c46a2f4aa3af97e3222e86b7899ae8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108728/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T14:48:46.978708Z"
}