List and retrieve diffs with detailed revision information

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

{
    "id": 1050588,
    "revision": {
        "id": 437553,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e8a0c7b11d2f988e747ce3112470236e8d434891",
        "head_changeset": "02ccd24b5460e61e54aac0efcfb223a72ef3bae0",
        "phabricator_id": 235748,
        "phabricator_phid": "PHID-DREV-j2dozgenqti32t2uzig2",
        "title": "Bug 1313185 - Fix response ordering violation when a transaction contains requests with and without preprocessing; r=#dom-storage",
        "bugzilla_id": 1313185,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/437553/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/437553/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D235748"
    },
    "phid": "PHID-DIFF-dpv7whrp5veiyhxax72a",
    "review_task_id": "IxqNcG3mQYO6Oefb3bEorg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "13ec60faef1f23918284bf5d16337b18c473db12",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050588/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-01T06:17:31.896321Z"
}