List and retrieve diffs with detailed revision information

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

{
    "id": 1035984,
    "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-v4ugxs2zbnsqdr527qut",
    "review_task_id": "G1KR-oJDQjm929gOaX41hw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "63bdbf1d7933c4b7c192407da0ab28238544e108",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035984/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-18T14:55:50.009906Z"
}