List and retrieve diffs with detailed revision information

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

{
    "id": 1085947,
    "revision": {
        "id": 495352,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9608e930b33e1308d93a6fa2bfdcc0055ec21291",
        "head_changeset": "f091ce3a43a7a2ab1bec9731450a2dae046728ee",
        "phabricator_id": 257176,
        "phabricator_phid": "PHID-DREV-s42kobt2rztyebkltby7",
        "title": "Bug 1977238 - Migrate the applink startup tests away from bitbar and to lambdatest. r?#perftest",
        "bugzilla_id": 1977238,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495352/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495352/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257176"
    },
    "phid": "PHID-DIFF-knpvi76plpo5ub5gaaej",
    "review_task_id": "H_PP0bRmTVah-ln9WW0dEQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f091ce3a43a7a2ab1bec9731450a2dae046728ee",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1085947/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-14T18:40:04.569243Z"
}