List and retrieve diffs with detailed revision information

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

{
    "id": 1042876,
    "revision": {
        "id": 473048,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "80c65e8cafbd4c4a21c80da1b6756d5592f1f319",
        "head_changeset": "f2852d96284fc1a2657b655c811719f2933c01cc",
        "phabricator_id": 246181,
        "phabricator_phid": "PHID-DREV-7myrl5mrghz5tjlhev2d",
        "title": "Bug 1961757 - Fix handling of RTL SpannableStringBuilder in URLStringUtils toDisplayUrl Android component. r=tthibaud",
        "bugzilla_id": 1961757,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473048/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473048/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D246181"
    },
    "phid": "PHID-DIFF-rlembzrfc43q3kmcbawh",
    "review_task_id": "IARfKEpLQPWGIWhD_AQ__g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1a5f49efc4e687d5d973a98e9b9f3a71a626d8b0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1042876/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-26T12:09:59.694358Z"
}