List and retrieve diffs with detailed revision information

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

{
    "id": 1087798,
    "revision": {
        "id": 496586,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b34369cfdacdbeee47d3d4c029af0fb2e66cb4ff",
        "head_changeset": "812fee1a623a56b9df8749061175263c42961a67",
        "phabricator_id": 257593,
        "phabricator_phid": "PHID-DREV-iuntk462ze7abk7r7yax",
        "title": "Bug 1977696: Remove about:config pref layout.css.hyphenate-limit-chars.enabled. r?#layout",
        "bugzilla_id": 1977696,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496586/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496586/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257593"
    },
    "phid": "PHID-DIFF-nrdbehlnhktofqp5uuy5",
    "review_task_id": "EeJPNXGgRvWC6Sb8o_DHmQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "593da207aaa7336ee34408b9ca84dfc803b8085a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087798/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T05:19:05.253628Z"
}