List and retrieve diffs with detailed revision information

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

{
    "id": 1076161,
    "revision": {
        "id": 489086,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8cb342bd5b0ba7d9234a7502066ddb973fa46b4f",
        "head_changeset": "32772f1f7d17e108c43db43048be216594944a5f",
        "phabricator_id": 255676,
        "phabricator_phid": "PHID-DREV-suuisecesc4vno6ip74w",
        "title": "WIP: Bug 1793279 - Only consider GIFS animated if they have more than one frame.",
        "bugzilla_id": 1793279,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489086/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489086/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255676"
    },
    "phid": "PHID-DIFF-mt7b66xglbfhs45rxjqv",
    "review_task_id": "F4inLNT3Ql2bCDYAKJe5eA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "32772f1f7d17e108c43db43048be216594944a5f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076161/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T17:04:08.083726Z"
}