List and retrieve diffs with detailed revision information

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

{
    "id": 1049129,
    "revision": {
        "id": 476525,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "beaa88dbfd9386cd95ebc56b035cc807c0338888",
        "head_changeset": "5598eeb0f0d4e1636837bd766a7e68243f485fbd",
        "phabricator_id": 251483,
        "phabricator_phid": "PHID-DREV-6yn7ofbunobhgpqorsie",
        "title": "Bug 1968848 - Inline single use of EnigmailMsgRead.searchQuotedPgp(). r=edicharry",
        "bugzilla_id": 1968848,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476525/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476525/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251483"
    },
    "phid": "PHID-DIFF-cw4u7skmdccf6xgcm7iu",
    "review_task_id": "SPmIq3RWTcaTeFB92b24iw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "2de641d6bafe0fed3bf3abf6f92ad38bbbabf29d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049129/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T11:11:45.104137Z"
}