Using the REST API interface on z/os (POST /cmod-rest/v1/hits/{folderName}), is it possible to retrieve the size of the requested AFPout file? Alternatively, is there any method available to obtain the AFPout file size through the REST API hosted on z/os?"
The size will be returned when the document is retrieved. Specifically, via the "Content-Length" header as shown in the example here:
https://www.ibm.com/docs/en/cmofm/10.5.0?topic=document-retrieve
Document sizes are not shown in the search results.
Arnold, Thank you very much for your resposne. For Example "Content-Length: 5553" means 5553 Bytes. Correct me if Iam wrong