List and retrieve diffs with detailed revision information

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

{
    "id": 1073715,
    "revision": {
        "id": 485194,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "199c8abcb7a4bf24e87c7cc4d894a293f212c5db",
        "head_changeset": "800b84067d3990c637640b80ca63a87f16921b2e",
        "phabricator_id": 254961,
        "phabricator_phid": "PHID-DREV-f3dyplagpkhqi744icej",
        "title": "WIP: Bug 1973335 - Can't reorder pinned tabs anymore r?sidebar-reviewers",
        "bugzilla_id": 1973335,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485194/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485194/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254961"
    },
    "phid": "PHID-DIFF-4n7rniccnrppsgcfeknf",
    "review_task_id": "B3Kf9OJ6Q6qTUBLuZpqwSQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "310961250029da857874942121bbeec928a624ed",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073715/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T20:12:44.357567Z"
}