List and retrieve diffs with detailed revision information

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

{
    "id": 1111752,
    "revision": {
        "id": 520951,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9426f4b06a46e835770956a127c1b8d30c5af7dd",
        "head_changeset": "1041aa7e550236099ff7df02cd56659cd6eaabfa",
        "phabricator_id": 262552,
        "phabricator_phid": "PHID-DREV-augx4odadjfcjarckmil",
        "title": "Bug 1983194 [Linux] Don't release nullptr GLContext r?emilio",
        "bugzilla_id": 1983194,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520951/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520951/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262552"
    },
    "phid": "PHID-DIFF-pnzuf7c475exo57dsj5d",
    "review_task_id": "HSVqAfZiTea6I9ZknVySIw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1041aa7e550236099ff7df02cd56659cd6eaabfa",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111752/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T09:54:00.154346Z"
}