Skip to main content

Check file’s content for view

Check file content for view.

HEAD /api/v1/files/{fileId}/view HTTP/1.1
  1. Path parameters
ParameterDescription
fileIdThe ID of the file.
  1. Example request
$ curl 'http://localhost:8080/api/v1/files/caceec1b-a16d-499c-bf95-d6a42799e265/view' -i -X HEAD \
-H 'X-co-auth-token: 6a1306c1f9909b64eebe186ff5700131'
  1. Example response
HTTP/1.1 204 204 NO_CONTENT
X-co-request-id: pn7Yqg5y6VudAVwc4qA8s3MU9WaAw0Jb
Accept-Ranges: bytes
Content-Type: text/plain
Content-Range: bytes 0-20/20
[ content of the response is skipped ]