List and retrieve diffs with detailed revision information

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

{
    "id": 1052807,
    "revision": {
        "id": 396228,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7ac8585e3c02763662a597f94e0676111667aa60",
        "head_changeset": "842f92482d423ae1faa09bab817b16891f33c7ad",
        "phabricator_id": 228854,
        "phabricator_phid": "PHID-DREV-2naignhlytq6kb3qzrs4",
        "title": "Bug 1820594 - Part 16: Introduce ModuleScriptRequest struct and store it in mFetchedModules",
        "bugzilla_id": 1820594,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/396228/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/396228/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D228854"
    },
    "phid": "PHID-DIFF-cxx3xohiwct7p6ifqv3j",
    "review_task_id": "J46zS-jZRAmGv6KpEQtiQw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d26ad6d65772b46305ad73161f963f24e0eebd22",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052807/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T15:57:53.726914Z"
}