List and retrieve diffs with detailed revision information

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

{
    "id": 1050554,
    "revision": {
        "id": 477013,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7222fa7893e74127b868b4363472b7962ff902f8",
        "head_changeset": "518af7ad8230ae29020e927fed9ccb571f6f0e7a",
        "phabricator_id": 252000,
        "phabricator_phid": "PHID-DREV-uqyvnxltu5gyvjv755g6",
        "title": "Bug 1969430 - Part 3: Mark the required inheritors of NestableControl as MOZ_STACK_CLASS. r?arai!",
        "bugzilla_id": 1969430,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477013/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477013/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252000"
    },
    "phid": "PHID-DIFF-3bqrwex7wkqvlylxye3x",
    "review_task_id": "GrOVgPxmST6DR_nxXGWzAQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "518af7ad8230ae29020e927fed9ccb571f6f0e7a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050554/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-31T21:13:14.232397Z"
}