List and retrieve diffs with detailed revision information

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

{
    "id": 1099571,
    "revision": {
        "id": 503327,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a02fc1b7da89c030dff2424e950d512a044b698b",
        "head_changeset": "106be83ece4dafb004de776007d5bb8bb8e5af31",
        "phabricator_id": 259096,
        "phabricator_phid": "PHID-DREV-maezlic3hx55wzi4zhwi",
        "title": "WIP: Bug 1979854 - Implement javascript side for important date suggestions. r?adw",
        "bugzilla_id": 1979854,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/503327/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/503327/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259096"
    },
    "phid": "PHID-DIFF-tqbfofhhtztnpbkwn7n4",
    "review_task_id": "LaF9M3dbSGeN9INZ9UJ0BQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f2ee93b151b3395bedb20a260da64a3cb0fb5c75",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099571/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T13:24:52.798515Z"
}