List and retrieve diffs with detailed revision information

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

{
    "id": 1049671,
    "revision": {
        "id": 476780,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3c5d3554fd1442fecb807861a914d3d34ab4937b",
        "head_changeset": "1d72d8ac19111693b02a1f3ea28eceb76ca3105a",
        "phabricator_id": 251730,
        "phabricator_phid": "PHID-DREV-cwl7w65bws6cnxfocyp2",
        "title": "Bug 1960089 - Add documentation explaining how to download signing cert/key and enable a provisioning profile with Xcode",
        "bugzilla_id": 1960089,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476780/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476780/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251730"
    },
    "phid": "PHID-DIFF-rsnpjaazxjqgkotdzcro",
    "review_task_id": "JkRGw7QlQleLyUSMtr7U9g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "622876ca8fde9340c33f830727f55ae242ff9bff",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049671/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T01:07:03.549621Z"
}