List and retrieve diffs with detailed revision information

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

{
    "id": 1112995,
    "revision": {
        "id": 516448,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f53bcb3c2e3fae0b95f52a06e685589110c5fe34",
        "head_changeset": "99ab39ec3593772dd0b9c999f079050b6a6e22c7",
        "phabricator_id": 261827,
        "phabricator_phid": "PHID-DREV-eewdfoqhs4kqk52c4kdq",
        "title": "WIP: Bug 1979439 - Embedded Fx Backup",
        "bugzilla_id": 1979439,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516448/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516448/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261827"
    },
    "phid": "PHID-DIFF-gcmy5bz7j2wrb3jqqbli",
    "review_task_id": "U2LZ_WvxQNqsc4sHTVllYw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f76aa96b18fcd83e9f11f62d1da1b49363caaa44",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112995/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T16:33:30.016591Z"
}