英文:
Extract metadata for all documents in Clio
问题
Clio Service Desk指引我前往API以提取关键文档元数据,如文档ID、名称、创建日期和修改日期。是否有人已经这样做了?
英文:
Clio Service desk have pointed me in the direction of the API for extracting key document metadata such as doc ID, name, creation date, modified date. Has anyone done this?
答案1
得分: 1
根据API文档:
您可以使用文档端点来请求与存储在CLIO中的文件相关的文档信息,例如ID、创建日期、更新日期、文件名以及其他各种信息:
"data": [
{
"id": 0,
"etag": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"type": "Document",
"locked": true,
"name": "string",
"received_at": "2019-08-24T14:15:22Z",
"filename": "string",
"size": 0,
"content_type": "string",
"parent": { },
"matter": { },
"contact": { },
"document_category": { },
"creator": { },
"latest_document_version": { },
"group": { },
"external_properties": [ ],
"document_versions": [ ]
}
]
如果您尝试获取文件内部的元数据,比如PDF或Word文档... API不具备这个功能。然而,API可以用来检索文件,然后可以通过Python(Word PDF)、PHP等进行解析。
英文:
You can use the documents endpoint to request document information such as ID, created date, updated date, filename, and various other information related to the file being stored in CLIO:
"data": [
{
"id": 0,
"etag": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"type": "Document",
"locked": true,
"name": "string",
"received_at": "2019-08-24T14:15:22Z",
"filename": "string",
"size": 0,
"content_type": "string",
"parent": { },
"matter": {},
"contact": {},
"document_category": {},
"creator": {},
"latest_document_version": {},
"group": {},
"external_properties": [],
"document_versions": []
If you are trying to get to metadata contained within the file like a PDF or Word Document... The API doesn't have the ability. However, the API could be used to retrieve the file, which could then be parsed via Python (Word PDF), PHP, etc.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论