List and retrieve diffs with detailed revision information

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

{
    "id": 1038446,
    "revision": {
        "id": 475363,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "36b6421f53d9375cd3b50c24b43b555f86284af8",
        "head_changeset": "0659898aad68c638cd6cb300c66b1ac045b1ec4c",
        "phabricator_id": 249803,
        "phabricator_phid": "PHID-DREV-w3gmemhnxsfxbyaitpkl",
        "title": "WIP: Bug 1964773 - Dynamic reload/stop when on a webpage",
        "bugzilla_id": 1964773,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475363/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475363/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249803"
    },
    "phid": "PHID-DIFF-nkswppzxj3gifjgpkixx",
    "review_task_id": "AUzjlzKYQXel4WYw1XQgbg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bbe5f8e04cbe0102a1bf21c6fae0a3f36990f94f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1038446/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T15:32:10.525847Z"
}