List and retrieve diffs with detailed revision information

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

{
    "id": 1107649,
    "revision": {
        "id": 514297,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "26a4b3bbf1f2411870927b34a12ecbd0b0f51bda",
        "head_changeset": "effaf3109d2b827f03ddb237e29d3541bd64654f",
        "phabricator_id": 261390,
        "phabricator_phid": "PHID-DREV-4ynb5dgerjfhcjilfysn",
        "title": "Bug 1983509 - Reduce some code duplication in LoadInfo using a macro. r?#necko-reviewers",
        "bugzilla_id": 1983509,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/514297/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/514297/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261390"
    },
    "phid": "PHID-DIFF-y5zs2dfafmpbthim4ow5",
    "review_task_id": "aV3mUJ21SrWP5hdEVA8KtQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "20dd51f9422bcd04274254751d6e7aa5dbb160a3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107649/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T09:11:29.197854Z"
}