Is it possible in KYCaaS to expose API about the type(pdf/png) of KYC document
Currently KYCaaS API expose KYC document metadata but it doesn't contain document type(technical type: pdf png), see below swagger information taken from KYCaaS swagger5.3.json
-----------------------------------------------------------------------------------------------------------
"/image/{image_id}": { "get": { "tags": [ "image" ], "summary": "Get information about the image", "description": "Retrieve the basic metadata associated with the image.", "operationId": "getImage", "produces": [ "application/json" ], "parameters": [ { "name": "image_id", "in": "path", "required": true, "type": "string" } ], "responses": { "200": { "description": "successful operation", "schema": { "$ref": "#/definitions/ImageSummary" } } } } }
"ImageSummary": { "type": "object", "properties": { "image_id": { "type": "integer" }, "entity_id": { "type": "integer" }, "image_type": { "$ref": "#/definitions/ImageType" }, "image_date": { "type": "integer" }, "expiry_date": { "type": "integer" }, "description": { "type": "string", "maxLength": 255 } }, "required": [ "image_id", "entity_id", "image_type" ], "additionalProperties": false }
----------------------------------------------------------------------------------------------------------------------
In current version of rest api, technical meta data of document is acciable only when user tries to download the document("/image/{image_id}/download").
Is it possible to include file name and type information in ImageSummary ?