List and retrieve diffs with detailed revision information

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

{
    "id": 1059177,
    "revision": {
        "id": 477416,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "572d1620d5bdbf357372e30530eb0e6047f8197c",
        "head_changeset": "544ae64e6fcb70e8a8d8698ced8b6badb72b73d1",
        "phabricator_id": 252490,
        "phabricator_phid": "PHID-DREV-pwr6sp747crh2s4wu3je",
        "title": "Bug 1956172 - The downloaded file should be completely deleted from the phone.",
        "bugzilla_id": 1956172,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477416/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477416/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252490"
    },
    "phid": "PHID-DIFF-aodhj3acrxtlixr6ropy",
    "review_task_id": "cRjJ4j74RmGvFJLd7kMxvA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "dbc485d332d469d99da3d16817b4fc7ae848f1f6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059177/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T11:39:20.070799Z"
}