GET / discovery
基本信息
Note: 此端点在Alfresco 5.2和更高版本中可用。
从存储库中检索功能和详细的版本信息。
请求方式 :GET
请求API :/ discovery
响应等级(状态200)
成功回应
{ "entry": { "repository": { "id": "string", "edition": "string", "version": { "major": "string", "minor": "string", "patch": "string", "hotfix": "string", "schema": 0, "label": "string", "display": "string" }, "status": { "isReadOnly": false, "isAuditEnabled": true, "isQuickShareEnabled": true, "isThumbnailGenerationEnabled": true }, "license": { "issuedAt": "2021-01-15T07:37:49.479Z", "expiresAt": "2021-01-15T07:37:49.479Z", "remainingDays": 0, "holder": "string", "mode": "string", "entitlements": { "maxUsers": 0, "maxDocs": 0, "isClusterEnabled": false, "isCryptodocEnabled": false } }, "modules": [ { "id": "string", "title": "string", "description": "string", "version": "string", "installDate": "2021-01-15T07:37:49.479Z", "installState": "string", "versionMin": "string", "versionMax": "string" } ] } } }
响应内容类型 applicaiton/json
错误信息描述
状态码 | 原因 |
501 | 系统禁用发现 |
default | 意外错误 |
返回结果示例
{ "error": { "errorKey": "string", "statusCode": 0, "briefSummary": "string", "stackTrace": "string", "descriptionURL": "string", "logId": "string" } }