List and retrieve diffs with detailed revision information

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

{
    "id": 1052935,
    "revision": {
        "id": 477373,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d1c95aad03f939c8c0f2225a6ce1fbe210d05fac",
        "head_changeset": "0dd5c26c9f25f78a6e0ad7f0c75e21c1d1395918",
        "phabricator_id": 250606,
        "phabricator_phid": "PHID-DREV-h5homg4gdcixmbp37xjl",
        "title": "Bug 1960551 - Enable data collection in GeckoView (Nightly only).  r?#geckoview-reviewers!",
        "bugzilla_id": 1960551,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477373/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477373/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250606"
    },
    "phid": "PHID-DIFF-3df64cokvk6iui4ztmpg",
    "review_task_id": "X6dS0NJeQae1ttTdtVajhA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4533d6ab7f6b502ae9cdf2bed43d99638f0f4994",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052935/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T19:15:38.851301Z"
}