List and retrieve diffs with detailed revision information

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

{
    "id": 1099707,
    "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-tzjprfdciodeykdqtkir",
    "review_task_id": "DGH17qdLQUCvztxnFjZB1g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6525a1ebd07a69d4a451ca2c31fcd9158c24ab7b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099707/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T16:41:47.401414Z"
}