List and retrieve diffs with detailed revision information

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

{
    "id": 1035427,
    "revision": {
        "id": 472318,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "225df4261b1c4cd2083ef3f5951cbe14c9145a77",
        "head_changeset": "edbed2dd76029ef741a93316ab02398a0f6da211",
        "phabricator_id": 245293,
        "phabricator_phid": "PHID-DREV-eszf2nt6a4ctqwl75qji",
        "title": "Parse and store Integrity-Policy(-Report-Only) header(s)",
        "bugzilla_id": null,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/472318/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/472318/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D245293"
    },
    "phid": "PHID-DIFF-txv36n3fwurgati2izux",
    "review_task_id": "O_4yH4pyRDqXam5PsAnTvw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1af59ce0b3783bfe5522ad084b5e198e8db15a53",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035427/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T16:37:39.004059Z"
}