List and retrieve diffs with detailed revision information

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

{
    "id": 1036018,
    "revision": {
        "id": 475323,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "92a90ab1cdaedff3c274cee9a409d45e7d912ca8",
        "head_changeset": "d46205f8effe6fe7a5924cc818f5b317b35191e1",
        "phabricator_id": 249758,
        "phabricator_phid": "PHID-DREV-nyevwazee6zpzkfop5qa",
        "title": "Bug 1966889 - Remove some more complex deprecated GTK API usage in nsPrintDialogGTK. r=stransky",
        "bugzilla_id": 1966889,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475323/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475323/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249758"
    },
    "phid": "PHID-DIFF-uzjpx5prsirskrb7evhf",
    "review_task_id": "N3pUs6EeRh6UGqyDAL9sUw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "80d80bd7ba03d9dfe8260555dcff90f8dd70b641",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1036018/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-18T16:27:53.097400Z"
}