提取Clio中所有文档的元数据。

huangapple go评论51阅读模式
英文:

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等进行解析。

英文:

Per the API Documentation:

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.

huangapple
  • 本文由 发表于 2023年2月16日 05:27:02
  • 转载请务必保留本文链接:https://go.coder-hub.com/75465591.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定