List and retrieve diffs with detailed revision information

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

{
    "id": 1079507,
    "revision": {
        "id": 492088,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "da03da7545c00acaf12afce0f282406bdbc1b444",
        "head_changeset": "f4448aef462cf8aa8a909b4dec95aa4d7979b799",
        "phabricator_id": 256445,
        "phabricator_phid": "PHID-DREV-ogivbxv6kwjaegw4s7sw",
        "title": "Bug 1726108 - PoC of combining date and time picker. r=emilio",
        "bugzilla_id": 1726108,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492088/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492088/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256445"
    },
    "phid": "PHID-DIFF-l63hn6jahlcup2jx7z7s",
    "review_task_id": "bTh7KUlyRza5A-uBuTFbHw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5e2973daad3d389b3f5cf1bc7745c0ed151bc18e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079507/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T15:20:17.902252Z"
}