List and retrieve diffs with detailed revision information

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

{
    "id": 1074963,
    "revision": {
        "id": 469449,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6fa17a3bab86becb8ab79919cf412916e0fa4e03",
        "head_changeset": "9281b91966cdd996cbe3ecd5268e4f9d0361b7b2",
        "phabricator_id": 229649,
        "phabricator_phid": "PHID-DREV-dubwu2u5tx2lvsneqmx2",
        "title": "Bug 1820594 - Part 33: Remove ModuleLoader::ResolveImportedModule and ModuleLoader::ImportModuleDynamically in JS Shell",
        "bugzilla_id": 1820594,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/469449/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/469449/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D229649"
    },
    "phid": "PHID-DIFF-5jpo7bd53lvhp7vdis3n",
    "review_task_id": "GCnOsthXSa6HfCEjMuLk1w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "073cf6a3a32508e759dca0acd65ad15f45c16765",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074963/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T07:15:19.973161Z"
}