List and retrieve diffs with detailed revision information

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

{
    "id": 1039274,
    "revision": {
        "id": 475797,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "421f99bce25c94c90e24e6863937c6760875f2f1",
        "head_changeset": "c8d2475af2b7070e4d67033c7694c8c267b9f9ef",
        "phabricator_id": 249721,
        "phabricator_phid": "PHID-DREV-cdhvc6khnphicuy6ja4o",
        "title": "Bug 1915742 - Pre: Convert to Unix style line endings. r=mpohle",
        "bugzilla_id": 1915742,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475797/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475797/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249721"
    },
    "phid": "PHID-DIFF-7dwkjxwifoj54thag4yq",
    "review_task_id": "SbTlC792Tw2RAROr8-5PpA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c8d2475af2b7070e4d67033c7694c8c267b9f9ef",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039274/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T23:52:47.562858Z"
}