List and retrieve diffs with detailed revision information

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

{
    "id": 1047734,
    "revision": {
        "id": 475642,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "89d9497e378cc5f3964b58d272540f12fde1718b",
        "head_changeset": "bb95b239acbe5e9d30c207fdccffc73cd637116c",
        "phabricator_id": 250108,
        "phabricator_phid": "PHID-DREV-u2xchc26az5iym2ut56i",
        "title": "WIP: Bug 1866863 - Use Necko as the primary means to submit pings/reports from the crash reporter r=gsvelto",
        "bugzilla_id": 1866863,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475642/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475642/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250108"
    },
    "phid": "PHID-DIFF-jabtjutcfopi5i56khgc",
    "review_task_id": "QHbOH8EGTTGoc6Rol3jsSw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b7d126562ff6243c981947fdedd6749d90675df9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1047734/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-27T23:27:40.190295Z"
}