Documents
以前の版に戻す
指定した版の内容で新しい版を作る。If-Match は任意
post/knowledge/documents/{document_id}/revisions/{revision_id}/restore
Request
- Base URL: https://api.leafchat.app/api/v1
- URL: https://api.leafchat.app/api/v1/knowledge/documents/{document_id}/revisions/{revision_id}/restore
- Auth: HTTP bearer
Path parameters
document_idstring required
Example:p3l8n1b6v9c2x5z7m0q4w8e1
revision_idstring required
Example:r7t2y5u8i1o4p6a9s3d0f2g5
Headers
if-matchstring
Example:"r7t2y5u8i1o4p6a9s3d0f2g5"
GET で受け取った ETag("<版の ID>")。強い比較の 1 つの値だけを受ける
Response
今の版と同じ内容で、版を作らなかった
Changes
No recorded changes to this operation across all 1 revision of this API.