List and retrieve diffs with detailed revision information

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

{
    "id": 1088722,
    "revision": {
        "id": 497583,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e197f18cacc4c4821521c17da640466658f04703",
        "head_changeset": "ae13259b7b9041296267931af48f5b8a052cb6d8",
        "phabricator_id": 257803,
        "phabricator_phid": "PHID-DREV-6esbjuur7ncyzxjuagdw",
        "title": "Bug 1964564 - Add documentation on how to use Gecko Profiler custom options action task. r?#perftest",
        "bugzilla_id": 1964564,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497583/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497583/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257803"
    },
    "phid": "PHID-DIFF-yzsdhqur67abtitrn6mq",
    "review_task_id": "F_zKq0kWSPiq4sd52XsBBA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "25a3f2405f704a6cd263b53277c8c9a5acf56cd6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088722/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-18T15:38:49.345624Z"
}