paperclip_get_document_revisions
Retrieve the full revision history of an issue document to audit changes or find a revisionId for document restoration.
Instructions
Get the full revision history for an issue document.
Args:
issueId: string — Issue ID or identifier (example: "PAP-42")
key: string — Document key (example: "plan")
Returns: Array of revision objects: revisionId, authorId, createdAt, changeSummary.
Examples:
Use when: auditing who changed a document or finding a revisionId to pass to paperclip_upsert_document
Don't use when: you need the current document body — use paperclip_get_document instead
Error Handling:
401: authentication failed → check PAPERCLIP_API_KEY
404: document or issue not found → verify both issueId and key with paperclip_list_documents
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueId | Yes | Issue ID or identifier (e.g. PAP-22) | |
| key | Yes | Document key (e.g. `plan`) | |
| response_format | Yes | Output format: 'markdown' (default, human-readable) or 'json' (structured) | markdown |