List and retrieve diffs with detailed revision information

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

{
    "id": 1092686,
    "revision": {
        "id": 477332,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "395474f5a3a4a1d5983dc3ec786a4813239ef435",
        "head_changeset": "c022fa30033cddd39dbaf6ba0989fbaef38757cb",
        "phabricator_id": 251656,
        "phabricator_phid": "PHID-DREV-wzli5w5ua477gjkptomy",
        "title": "WIP: Bug 1889757 Part 4: Create the NativeLayerRemoteMac peers.",
        "bugzilla_id": 1889757,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477332/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477332/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251656"
    },
    "phid": "PHID-DIFF-ozb5ivha46rpcyiwdnjk",
    "review_task_id": "SPSF4c9SRCO54BsYmVnTww",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "aab54df2605c120270396e89c2532d98ffb21ab6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1092686/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-21T18:56:28.436409Z"
}