List and retrieve diffs with detailed revision information

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

{
    "id": 1052017,
    "revision": {
        "id": 477268,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "964b74547e49f173c01dd9b770c0acdc5bb2cc3d",
        "head_changeset": "74161bbd76921aa3e38f9644f7bc79749d71d669",
        "phabricator_id": 252351,
        "phabricator_phid": "PHID-DREV-x4wks34wpwtfrutox3bj",
        "title": "Bug 1970167 - Remove bottom divider under Private browsing menu",
        "bugzilla_id": 1970167,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477268/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477268/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252351"
    },
    "phid": "PHID-DIFF-jjg62hsassmxo42mferm",
    "review_task_id": "XJHfER0qSEiVYUrS9ceL0g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "dc2bc2f0c1ff4054c9d9e469e998ddb9483cf4a5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052017/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T17:19:41.030377Z"
}