List and retrieve diffs with detailed revision information

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

{
    "id": 1029907,
    "revision": {
        "id": 474059,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3039adeec8ef000da7aad1fd672298805e7b0f2c",
        "head_changeset": "1cacd6eef050d49066d6c1c06cced1c029cae7d3",
        "phabricator_id": 247863,
        "phabricator_phid": "PHID-DREV-wgzoqmll7fyvazddpqfr",
        "title": "Bug 1963173 - Ensure the group profile is always set, so we can always update the default profile path. r?mossop!,#profiles-reviewers",
        "bugzilla_id": 1963173,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474059/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474059/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247863"
    },
    "phid": "PHID-DIFF-o2jnsci5k7azofzonogd",
    "review_task_id": "a4isw505Q561sdLOJihe7Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e8bfa0814a79af10978d586a81203f393c49595b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1029907/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-08T18:36:43.278667Z"
}