List and retrieve diffs with detailed revision information

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

{
    "id": 1078579,
    "revision": {
        "id": 491349,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "564f697959a87aac9ec7e44a77e6e63b60362949",
        "head_changeset": "6c9adda636c99650151374e84173c2b2404b0003",
        "phabricator_id": 256228,
        "phabricator_phid": "PHID-DREV-5hx73a2gw4kiordfiwhe",
        "title": "No Bug, mozilla-release repo-update remote-settings - a=repo-update",
        "bugzilla_id": null,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491349/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491349/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256228"
    },
    "phid": "PHID-DIFF-c42wr6janesldtqmm4aq",
    "review_task_id": "M_GAV2EERwezt4ZCXAV1mw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6c9adda636c99650151374e84173c2b2404b0003",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078579/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T08:41:10.038902Z"
}