List and retrieve diffs with detailed revision information

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

{
    "id": 1054291,
    "revision": {
        "id": 477660,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f1aa8c54040bec072d65fdf95379df132204410c",
        "head_changeset": "65ebc5dff25786ae6bc8131470e9c0e68d261117",
        "phabricator_id": 252791,
        "phabricator_phid": "PHID-DREV-cxut46ary2thuoakl4rr",
        "title": "Bug 1968920 - Add an internal -moz-symbolic-icon image that draws a symbolic icon respecting the context fill. r=#theme!,stransky!",
        "bugzilla_id": 1968920,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477660/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477660/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252791"
    },
    "phid": "PHID-DIFF-ppcg6vtys63cqdekq4jt",
    "review_task_id": "LKvPPM50S46P0LCm8V68TA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ebd33dd7921c44ab280191a04fe3fbd1efb650fa",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054291/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T13:28:31.428677Z"
}