List and retrieve diffs with detailed revision information

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

{
    "id": 1117002,
    "revision": {
        "id": 517096,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "989430e2a6c3d2d600f568b5c79d9095bf26ed20",
        "head_changeset": "e295803b23c69f0370d461c57a7647700952db26",
        "phabricator_id": 261967,
        "phabricator_phid": "PHID-DREV-x4aefw4axsewkkbc476t",
        "title": "Bug 1984372 - Inform the user when we're waiting for an EWS server. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1984372,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517096/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517096/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261967"
    },
    "phid": "PHID-DIFF-5th7se5rpi3numq2ivnn",
    "review_task_id": "Fb2-r_4iR7yBi2H0lE090A",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "408dbd28e15c2adf75b091bb9c57d173ffa2ed9a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1117002/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-04T15:29:51.863654Z"
}