List and retrieve diffs with detailed revision information

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

{
    "id": 1057747,
    "revision": {
        "id": 478104,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "25fcd6dd9dd53e78986357433541f732cc57bdbd",
        "head_changeset": "cfe087a8b0bfe07d783e9a2c95be0f4f153473c1",
        "phabricator_id": 253298,
        "phabricator_phid": "PHID-DREV-wyz5hycicxdkqa2b3wgy",
        "title": "Bug 1963843 - Bump vendored `aiohttp` to version `3.12.12` r?ahal",
        "bugzilla_id": 1963843,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478104/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478104/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253298"
    },
    "phid": "PHID-DIFF-5dpbhjyxzhosw5vjtg4q",
    "review_task_id": "AnkGW-rmQcaGzL82wrQ2kg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "da51c087fe79ff3568f663b6ceac155bffb44656",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057747/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T16:07:03.304292Z"
}