List and retrieve diffs with detailed revision information

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

{
    "id": 1035584,
    "revision": {
        "id": 475386,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3aad2d80901885259e22872b987a5cc418fb7a20",
        "head_changeset": "2cb4bcc0200f0c1a789dbab298a5446fa2b2c557",
        "phabricator_id": 213626,
        "phabricator_phid": "PHID-DREV-5kctpdkxnzqielbau2t5",
        "title": "Bug 1935276 - Delete hmacCreateSecret input parsing from ParseRequestOptionsFromJSON. r=keeler",
        "bugzilla_id": 1935276,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475386/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475386/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D213626"
    },
    "phid": "PHID-DIFF-46ysnqtzju6rxxpw62h3",
    "review_task_id": "S0XCKex9Q0SpH_IFqfKlug",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2cb4bcc0200f0c1a789dbab298a5446fa2b2c557",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035584/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T19:32:33.021588Z"
}