List and retrieve diffs with detailed revision information

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

{
    "id": 1080096,
    "revision": {
        "id": 492411,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "78b07eefb9da48f6d92d69f1b297ef148bdb4a6c",
        "head_changeset": "56f197e96e2e24d67787a0af41b826171b5737d2",
        "phabricator_id": 256496,
        "phabricator_phid": "PHID-DREV-bvbm7yf7lpovkwi5o5js",
        "title": "Bug 1975658 - Fix memory leaks in HomeFragment caused by SessionControlController",
        "bugzilla_id": 1975658,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492411/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492411/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256496"
    },
    "phid": "PHID-DIFF-m5ubeat4isnidfh2b3kw",
    "review_task_id": "GeAqnraUQjeZcjOhiyhzQA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5a0a6040b72b08cf19452c84386035a41b063b15",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080096/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T12:37:46.076118Z"
}