List and retrieve diffs with detailed revision information

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

{
    "id": 1039502,
    "revision": {
        "id": 471476,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d47114ff07ee32fd9d30075f0b7271a53ce30956",
        "head_changeset": "df018427e18413b4eebf67ed95a419b1a741e5d6",
        "phabricator_id": 244141,
        "phabricator_phid": "PHID-DREV-fr2kga2s3co4it2rmk5i",
        "title": "Bug 1957633 - QM: Introduce OpenClientDirectoryInfo to support handle-based origin access tracking; r=#dom-storage",
        "bugzilla_id": 1957633,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/471476/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/471476/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D244141"
    },
    "phid": "PHID-DIFF-vhaktthp3rm6wdi3ypjb",
    "review_task_id": "BTMrBEymQ8GccRHDDZryjQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8158a04b88a2c210485efd712d17fc3188a4d9f6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039502/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T08:04:05.789255Z"
}