List and retrieve diffs with detailed revision information

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

{
    "id": 1053487,
    "revision": {
        "id": 477564,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5d81b94eed5370610d796912b0de4740cee8934d",
        "head_changeset": "342d9ed10494261f5899c109f3ef1a8f0b0c9b69",
        "phabricator_id": 252662,
        "phabricator_phid": "PHID-DREV-ut53s4fuhgzhcu7iuelt",
        "title": "No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes ct-logs - a=repo-update",
        "bugzilla_id": null,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477564/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477564/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252662"
    },
    "phid": "PHID-DIFF-wg5tzj34b242eza5t775",
    "review_task_id": "I4J5M898R0q697bj9fuDjA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "342d9ed10494261f5899c109f3ef1a8f0b0c9b69",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053487/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T13:24:53.735845Z"
}