List and retrieve diffs with detailed revision information

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

{
    "id": 1107999,
    "revision": {
        "id": 515440,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "876ee68e20be4c473c2eb68957ea9444fe1fe96b",
        "head_changeset": "a001732a1a09ddc2c4a588b711fe4df6df8256a8",
        "phabricator_id": 261583,
        "phabricator_phid": "PHID-DREV-mym42pmdonxjlye7oklk",
        "title": "Bug 1983603: Stylo use Cell rather than RefCell for ThreadState (r=#style)",
        "bugzilla_id": 1983603,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515440/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515440/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261583"
    },
    "phid": "PHID-DIFF-ljhvwzhn5khht2kjpysd",
    "review_task_id": "NJ2tKALnQlizNK505QANVQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6bf1f3d0e2efa7aa1cc229913366baa8a9533bc5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107999/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T17:35:33.028466Z"
}