List and retrieve diffs with detailed revision information

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

{
    "id": 1112387,
    "revision": {
        "id": 521460,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b7573b229c2d2e6a660decc4e3ed7183c761f8e1",
        "head_changeset": "236828fa37350ff7c8963b6b6269de1715ce788c",
        "phabricator_id": 262698,
        "phabricator_phid": "PHID-DREV-hmcllun6fiq4egftfu7i",
        "title": "Bug 1984736 - Enable fun icons in the app icon selection screen",
        "bugzilla_id": 1984736,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521460/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521460/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262698"
    },
    "phid": "PHID-DIFF-idvj2zgc7ewp5mugvz2q",
    "review_task_id": "WLi3gLuoQcCOQVWJzMZhnA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "236828fa37350ff7c8963b6b6269de1715ce788c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112387/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T23:01:07.081358Z"
}