List and retrieve diffs with detailed revision information

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

{
    "id": 1038588,
    "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-2ooedjcxzhiwl6h6qcn4",
    "review_task_id": "YUbY4SGNSjKo0rzKyvxyOA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e1e700d46caa6a7aaf253e0850c94ab53de58109",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1038588/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T17:08:41.347858Z"
}