List and retrieve diffs with detailed revision information

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

{
    "id": 1077223,
    "revision": {
        "id": 489382,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "bc9fee10b433cabefec0f8b2085fb597335af2fe",
        "head_changeset": "26d2f85a4a91a48867342474c4681608321c42db",
        "phabricator_id": 255769,
        "phabricator_phid": "PHID-DREV-ddrgupgalqumlu3kks4s",
        "title": "Bug 1973085 - Newly created folders were not added alphabetically - if prior to creating a new folder the user reorder any of the folders/subfolder. r=freaktechnik",
        "bugzilla_id": 1973085,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489382/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489382/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255769"
    },
    "phid": "PHID-DIFF-iutaxg5m5cteykkxpjq6",
    "review_task_id": "brxg1ROOSByqLjPkeIliXA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "ad7c94fc6351d3445d4bb94b97f2f9caaa6a3538",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077223/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T06:44:56.459141Z"
}