List and retrieve diffs with detailed revision information

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

{
    "id": 1075504,
    "revision": {
        "id": 413518,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9358b6a02a04f62e0c9c7fcba4877700076a28f5",
        "head_changeset": "0fe1c2904a075a891bf0f9a02bb18a8eaf187f2a",
        "phabricator_id": 214570,
        "phabricator_phid": "PHID-DREV-ttvm77dbkt4pbqjocndb",
        "title": "Bug 1820594 - Part 5: Implement GetImportedModule.",
        "bugzilla_id": 1820594,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/413518/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/413518/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D214570"
    },
    "phid": "PHID-DIFF-4djvjzrlsomfvxxnamp5",
    "review_task_id": "SBV91pPqSguEJnIGaCIKFw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c7f0709bff88d47cdceca71f0becc1d7db816b3f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075504/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T21:12:29.848889Z"
}