List and retrieve diffs with detailed revision information

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

{
    "id": 1072317,
    "revision": {
        "id": 476937,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a2e2399f4064e58d33664d664310d8c12b7d10a2",
        "head_changeset": "3bd1463fdbcf1fdd3b43e56c8b5d6e57fe64b32d",
        "phabricator_id": 251949,
        "phabricator_phid": "PHID-DREV-bccmnvkcuot4uzhlob37",
        "title": "Bug 1946130: Made ComputeWakeupTimeFromTimers() handle the empty timer list case so that the caller doesn't have to r=smaug,#xpcom-reviewers",
        "bugzilla_id": 1946130,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476937/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476937/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251949"
    },
    "phid": "PHID-DIFF-w7r6onaelwwn2qj6qpf2",
    "review_task_id": "bus71nZHQmSAGevkUJr0PQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ffc450d037b319eccdf7eb14db59f8a583bce485",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072317/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T14:47:35.035120Z"
}