List and retrieve diffs with detailed revision information

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

{
    "id": 1054089,
    "revision": {
        "id": 477676,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e1dc56ae7277b29a3ecbd5ec3cd8612a3697b57a",
        "head_changeset": "b5ae59bbc052c3dcc8a7a71e15aa0b46e2748635",
        "phabricator_id": 252798,
        "phabricator_phid": "PHID-DREV-letkz6v5hx6da6cf6bp2",
        "title": "Bug 1970378: browser_test_display_contents.js: Wait for the cached bounds to be up to date.",
        "bugzilla_id": 1970378,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477676/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477676/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252798"
    },
    "phid": "PHID-DIFF-lz6v4brsmppvhk5rah4b",
    "review_task_id": "Go3NmX5xS5m2NjvaIF1pdA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b5ae59bbc052c3dcc8a7a71e15aa0b46e2748635",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054089/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T06:58:54.336731Z"
}