List and retrieve diffs with detailed revision information

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

{
    "id": 1052515,
    "revision": {
        "id": 477381,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d1c95aad03f939c8c0f2225a6ce1fbe210d05fac",
        "head_changeset": "e7c8b0d7ce7a66c53aa894260c4baf95bf113970",
        "phabricator_id": 252460,
        "phabricator_phid": "PHID-DREV-h7qm4naynaoooohauqdy",
        "title": "Bug 1970121 - Move the symbolication library to the shared directory r=mstange",
        "bugzilla_id": 1970121,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477381/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477381/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252460"
    },
    "phid": "PHID-DIFF-ys5727rfqo6ix323pzdk",
    "review_task_id": "cewUxEzpTgyLY7NL0AxvRw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e7c8b0d7ce7a66c53aa894260c4baf95bf113970",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052515/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T09:48:19.977310Z"
}