List and retrieve diffs with detailed revision information

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

{
    "id": 1051705,
    "revision": {
        "id": 477217,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "83282e03aeada23bfaffed73d63643c41fa21949",
        "head_changeset": "f3f9113c1c0d5b23267032dc642c00b51ec3282a",
        "phabricator_id": 252306,
        "phabricator_phid": "PHID-DREV-ft44zi53j7oso3sbrvhj",
        "title": "Bug 1969175 - QM: Update localstorage.database.request_allow_to_close_response_time to never expire; r=#dom-storage",
        "bugzilla_id": 1969175,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477217/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477217/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252306"
    },
    "phid": "PHID-DIFF-dkyfqvhfmy4a63gva3f3",
    "review_task_id": "S0wp8DpOQ-CPGwGiMQsN_w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f3f9113c1c0d5b23267032dc642c00b51ec3282a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051705/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T10:43:40.208471Z"
}