List and retrieve diffs with detailed revision information

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

{
    "id": 1039877,
    "revision": {
        "id": 475221,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3c7a1a76d7f0d1f864e107a597f590a3ff309434",
        "head_changeset": "c0cf2ada490e4ac337a7d9bd594d3ae81e82011e",
        "phabricator_id": 249534,
        "phabricator_phid": "PHID-DREV-mrkxgctfuj5orttcs27x",
        "title": "Bug 1591337 - Spoof outer and screen measurements. r?#anti-tracking",
        "bugzilla_id": 1591337,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475221/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475221/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249534"
    },
    "phid": "PHID-DIFF-uiasdyiz5h2teznwpfyd",
    "review_task_id": "cY5yaJwpQSCCLBoYfDBS6g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "08ce7a782740958105d056fff27723fd0f75a7c9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039877/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T16:19:57.214371Z"
}