List and retrieve diffs with detailed revision information

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

{
    "id": 1038363,
    "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-ls5lanvpsp4tmth5mzl2",
    "review_task_id": "RRZ9OBI2SAmQnIVF_xLyuA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3a99f8c5e85c10cd46b2f5f91d770f8943df078d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1038363/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T13:36:29.442234Z"
}