List and retrieve diffs with detailed revision information

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

{
    "id": 1035546,
    "revision": {
        "id": 449531,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ca3ce1c36b37ef2cd0f060a079f5864f3fd89e96",
        "head_changeset": "c3d2082858c21dc004e9616905e1e69173e91f5d",
        "phabricator_id": 187606,
        "phabricator_phid": "PHID-DREV-2xpqnkvw5ugvkgtbn53b",
        "title": "WIP: Bug 1827914 - Get script and shape from BaselineFrame in generated code",
        "bugzilla_id": 1827914,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/449531/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/449531/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D187606"
    },
    "phid": "PHID-DIFF-bjxkdsp4fwh3vlvfinhd",
    "review_task_id": "TxtpxyhsRy6JVIg4KKjZ5g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "979f4d758a150a23960037edbfb8ab98682782fc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035546/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T18:36:11.439488Z"
}