List and retrieve diffs with detailed revision information

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

{
    "id": 1076981,
    "revision": {
        "id": 488617,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8dce7fb0a03c652498317938af58ed33252401c7",
        "head_changeset": "fcac4d1b3a3b843d86542ca9be90bc2ef4e75dc2",
        "phabricator_id": 255566,
        "phabricator_phid": "PHID-DREV-s4iwcng2vh4twtzqhwny",
        "title": "Bug 1974838 - Add the new option to dump retained display list from layout debugger.",
        "bugzilla_id": 1974838,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488617/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488617/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255566"
    },
    "phid": "PHID-DIFF-bfu54e2ew4tfrqzceoel",
    "review_task_id": "EhdzjEcSSj-uQDcQx2nwgQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4c99a7ff6ec9b0fe6dcdc2a8c6396b3a0f4e3798",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076981/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T19:21:49.298412Z"
}