List and retrieve diffs with detailed revision information

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

{
    "id": 1052819,
    "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-k5h7ogtesqb7x7x4mthh",
    "review_task_id": "Z_mH3RFoRCCJdP-3f0v4bg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6227acad87f7a37d6951f50d9a04a5e94e274fd0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052819/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T15:58:46.529126Z"
}