List and retrieve diffs with detailed revision information

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

{
    "id": 1052186,
    "revision": {
        "id": 476787,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c54483f266580073915a8baa7d9fc0aca12ba4bd",
        "head_changeset": "57c2f5d1150b06adb311cde04d21de763f129b01",
        "phabricator_id": 251739,
        "phabricator_phid": "PHID-DREV-i5xit6k7lcnw2fhhcw52",
        "title": "Bug 1914388 - part1 : revert changes from D209249 in order to remove the support of 'logging.config.modules'.",
        "bugzilla_id": 1914388,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476787/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476787/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251739"
    },
    "phid": "PHID-DIFF-pzqvfrjap6rxigl2xmf2",
    "review_task_id": "B_C2SXG3R9KgAN6p1MTv-A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a505426c3c75e74fabdef15db34c2aeef6f01630",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052186/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T20:01:42.587700Z"
}