List and retrieve diffs with detailed revision information

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

{
    "id": 1098007,
    "revision": {
        "id": 492796,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5581df48e4d2aac763d1096b717cb2ff9c2ef6f5",
        "head_changeset": "31498c20cab2b8233c79fcb4bd6ea1ca75e6fef2",
        "phabricator_id": 256646,
        "phabricator_phid": "PHID-DREV-kubiraqjwles7lb7aaia",
        "title": "WIP: Bug 1976490 - Update `addon-install-error-file-access` string to not include the add-on name. r?rpl!",
        "bugzilla_id": 1976490,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492796/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492796/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256646"
    },
    "phid": "PHID-DIFF-f47ebzt2yhw4kzcre5kx",
    "review_task_id": "DNi1dEApTgOOz3CoMM3qbQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7dcc970b2b0635447848ac55c6b6ce63df589768",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1098007/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-30T10:03:34.729456Z"
}