List and retrieve diffs with detailed revision information

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

{
    "id": 1050591,
    "revision": {
        "id": 477022,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c0ab043f205785ee90f8adf1966a5e7384364704",
        "head_changeset": "da92d7c4f25eea069ef055055791ec53abfb3fb4",
        "phabricator_id": 252008,
        "phabricator_phid": "PHID-DREV-rjtm53xxyypyi56uy72h",
        "title": "Bug 1969775 - Remove usages of \"six\" from testing/awsy/mach_commands.py r?#build",
        "bugzilla_id": 1969775,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477022/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477022/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252008"
    },
    "phid": "PHID-DIFF-oevdvqpkk65hszsblwp4",
    "review_task_id": "QbjOLOaSSd-6Bnb1Rzzi6w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "da92d7c4f25eea069ef055055791ec53abfb3fb4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050591/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-01T08:40:56.738928Z"
}