List and retrieve diffs with detailed revision information

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

{
    "id": 1049204,
    "revision": {
        "id": 476759,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fbc885550e92a86ea9f457bc0ddf57d206fb5cfb",
        "head_changeset": "e7df7db6aa44867f0de34fcca6f03a13b6d81986",
        "phabricator_id": 251711,
        "phabricator_phid": "PHID-DREV-lfmqffmgaq5lrkm45bdg",
        "title": "Bug 1967517 - Added engine enablement changes to choose what to sync telemetry",
        "bugzilla_id": 1967517,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476759/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476759/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251711"
    },
    "phid": "PHID-DIFF-kwvkgjgfqf6sv67mkemy",
    "review_task_id": "Mh7geJKwRb6wmlB8D2g-gA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e7df7db6aa44867f0de34fcca6f03a13b6d81986",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049204/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T13:46:30.083108Z"
}