List and retrieve diffs with detailed revision information

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

{
    "id": 1064305,
    "revision": {
        "id": 480786,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4e627844eb83e8a7d523dce33416974019a60f8c",
        "head_changeset": "9157d3b354c8546db52aa4407690d3d6ab083aed",
        "phabricator_id": 254049,
        "phabricator_phid": "PHID-DREV-v5si65dperxld2r2oops",
        "title": "Bug 1961286 - Use consistent \"add folder\" content description",
        "bugzilla_id": 1961286,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/480786/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/480786/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254049"
    },
    "phid": "PHID-DIFF-hplflxgv47wotxeoed3q",
    "review_task_id": "UoWZOQ9DTGSz-SjbMkrBMQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9157d3b354c8546db52aa4407690d3d6ab083aed",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064305/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T17:53:35.833698Z"
}