{ "opencollection": "1.0.0", "info": { "name": "LawVu Account Auth Files API", "version": "1.0" }, "items": [ { "info": { "name": "Files", "type": "folder" }, "items": [ { "info": { "name": "Get file", "type": "http" }, "http": { "method": "GET", "url": "https://api-sandbox.lawvu.com/account-apis/v2/files/:fileId", "params": [ { "name": "fileId", "value": "9456", "type": "path", "description": "The system identifier for the file" } ] }, "docs": "Retrieve details for a file resource by identifier (File, Folder, ContractDocument)" }, { "info": { "name": "Upload file version", "type": "http" }, "http": { "method": "POST", "url": "https://api-sandbox.lawvu.com/account-apis/v2/files/:fileId", "params": [ { "name": "fileId", "value": "9456", "type": "path", "description": "The system identifier for the file" } ], "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" } ] } }, "docs": "Upload a new version of a file resource (File, ContractDocument)" }, { "info": { "name": "Update file", "type": "http" }, "http": { "method": "PATCH", "url": "https://api-sandbox.lawvu.com/account-apis/v2/files/:fileId", "params": [ { "name": "fileId", "value": "9456", "type": "path", "description": "The system identifier for the file" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a file resource (File, Folder, ContractDocument)" }, { "info": { "name": "Delete file", "type": "http" }, "http": { "method": "DELETE", "url": "https://api-sandbox.lawvu.com/account-apis/v2/files/:fileId", "params": [ { "name": "fileId", "value": "9456", "type": "path", "description": "The system identifier for the file" } ] }, "docs": "Delete a file resource (File, Folder, ContractDocument)" }, { "info": { "name": "Get file content", "type": "http" }, "http": { "method": "GET", "url": "https://api-sandbox.lawvu.com/account-apis/v2/files/:fileId/content", "params": [ { "name": "fileId", "value": "9456", "type": "path", "description": "The system identifier for the file" } ] }, "docs": "Retrieve the binary content of a file" }, { "info": { "name": "Create file", "type": "http" }, "http": { "method": "POST", "url": "https://api-sandbox.lawvu.com/account-apis/v2/files", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a file resource (File, Folder, ContractDocument).\n- File or ContractDocument upload: Use `Content-Type: multipart/form-data`\n- Folder creation: Use `Content-Type: application/json`" }, { "info": { "name": "Get files", "type": "http" }, "http": { "method": "GET", "url": "https://api-sandbox.lawvu.com/account-apis/v1/files", "params": [ { "name": "recordType", "value": "", "type": "query", "description": "The record type the file in linked to (Matter, Contract, Organisation etc)
Options:
Default: 50
" }, { "name": "recursive", "value": "", "type": "query", "description": "Set to true in order to include subdirectories and nested filesDefault: False
" } ] }, "docs": "Gets a list of files in LawVu (with filters)" }, { "info": { "name": "Get file", "type": "http" }, "http": { "method": "GET", "url": "https://api-sandbox.lawvu.com/account-apis/v1/files/:fileId", "params": [ { "name": "fileId", "value": "", "type": "path", "description": "The Id of the file" } ] }, "docs": "Get file meta from LawVu" }, { "info": { "name": "Patch file", "type": "http" }, "http": { "method": "PATCH", "url": "https://api-sandbox.lawvu.com/account-apis/v1/files/:fileId", "params": [ { "name": "fileId", "value": "", "type": "path", "description": "The Id of the file" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a file" }, { "info": { "name": "Delete file", "type": "http" }, "http": { "method": "DELETE", "url": "https://api-sandbox.lawvu.com/account-apis/v1/files/:fileId", "params": [ { "name": "fileId", "value": "", "type": "path", "description": "The Id of the file" } ] }, "docs": "Deletes a file in LawVu" }, { "info": { "name": "Download file", "type": "http" }, "http": { "method": "GET", "url": "https://api-sandbox.lawvu.com/account-apis/v1/files/:fileId/download", "params": [ { "name": "fileId", "value": "", "type": "path", "description": "The Id of the file" } ] }, "docs": "Download file" }, { "info": { "name": "Move file", "type": "http" }, "http": { "method": "POST", "url": "https://api-sandbox.lawvu.com/account-apis/v1/files/:fileId/move/:destinationId", "params": [ { "name": "fileId", "value": "", "type": "path", "description": "The Id of the file" }, { "name": "conflictResolution", "value": "", "type": "query", "description": "Conflict handlingOptions:
Options:
Options: