List and retrieve diffs with detailed revision information

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

{
    "id": 1050321,
    "revision": {
        "id": 397584,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ef784b73994b27ba0ec6984e0b6126c1234d8be4",
        "head_changeset": "2127b5fe18bb0d951c29f10322a5fbcee693779f",
        "phabricator_id": 229079,
        "phabricator_phid": "PHID-DREV-avm2gcns5z5c3cmo7gry",
        "title": "Bug 1885221, part 8 - Implement basic message type checking. WIP",
        "bugzilla_id": 1885221,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/397584/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/397584/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D229079"
    },
    "phid": "PHID-DIFF-s5kmp5dgajvgehtiwj7q",
    "review_task_id": "SIRUl1bsRYK2fF0CjTKKew",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8c5cb0aa41d739e2ce797c24e999eb979541aaea",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050321/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-31T00:16:31.945142Z"
}