List and retrieve diffs with detailed revision information

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

{
    "id": 1079246,
    "revision": {
        "id": 491972,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "08d96e7a03326c5001220ed52b07232b31ba84cb",
        "head_changeset": "1dc59c3f221aca2fd943028b385e2d585fc8fe0b",
        "phabricator_id": 256394,
        "phabricator_phid": "PHID-DREV-6jnlwln6pryeilijihhr",
        "title": "Bug 1976169 - Enable data collection in GeckoView on all channels.  r?#geckoview-reviewers!",
        "bugzilla_id": 1976169,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491972/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491972/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256394"
    },
    "phid": "PHID-DIFF-qtssrptkxtif563mkcm6",
    "review_task_id": "JeLRUlPNRxS4JwG9tCPRgA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1dc59c3f221aca2fd943028b385e2d585fc8fe0b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079246/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T07:22:12.278778Z"
}