List and retrieve diffs with detailed revision information

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

{
    "id": 1048754,
    "revision": {
        "id": 437553,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e8a0c7b11d2f988e747ce3112470236e8d434891",
        "head_changeset": "02ccd24b5460e61e54aac0efcfb223a72ef3bae0",
        "phabricator_id": 235748,
        "phabricator_phid": "PHID-DREV-j2dozgenqti32t2uzig2",
        "title": "Bug 1313185 - Fix response ordering violation when a transaction contains requests with and without preprocessing; r=#dom-storage",
        "bugzilla_id": 1313185,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/437553/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/437553/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D235748"
    },
    "phid": "PHID-DIFF-mp6gafqj3onfydhzb4l7",
    "review_task_id": "LnAHgdq-Ru6PzYJ2dt7ScA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "efe6bd348265b67f32f7666d9f487de980513833",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048754/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T21:23:48.843798Z"
}