List and retrieve diffs with detailed revision information

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

{
    "id": 1077599,
    "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-iywsixurqzsleawigyvg",
    "review_task_id": "MHosqldlSles0xVE7tsnlw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "c80edda2e70eac50ddd9e93556df6b972c13d7d0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077599/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T18:22:36.119257Z"
}