GET https://workbox.apigw.ntruss.com/file-api/workbox-file-server/file-api/v1/files/{fileId}
Request headers
Header
Description
x-ncp-apigw-timestamp
It indicates the time elapsed in milliseconds since January 1, 1970, 00:00:00 UTC and the request is considered invalid if the time difference with the API Gateway server is greater than 5 minutes x-ncp-apigw-timestamp:{Timestamp}
x-ncp-iam-access-key
Access key ID value issued from the NAVER Cloud Platform portal x-ncp-iam-access-key:{Account Access Key}
x-ncp-apigw-signature-v2
Signature encrypted with access key ID value and secret key x-ncp-apigw-signature-v2:{API Gateway Signature}
x-ncp-workbox-loginId
Login email address for WORKBOX x-ncp-workbox-loginId:{Login ID}
Content-Type
Set the request body content type to application/json Content-Type: application/json
Request path parameters
Parameter
Type
Requirement status
Description
fileId
long
Y
File ID
Request examples
GET https://workbox.apigw.ntruss.com/file-api/workbox-file-server/file-api/v1/files/18614377
GET file-api/workbox-file-server/file-api/v1/files/18614377
HOST: workbox.apigw.ntruss.com
Content-Type: application/json
x-ncp-apigw-timestamp : 1649054672370
x-ncp-iam-access-key: toAvmFdP1rtPTMz2dpdy
x-ncp-apigw-signature-v2 : sks3TlqeoWnd08TkfdmfAjrdjTekRhRlAhRhWlvmeka=
x-ncp-workbox-loginId : gildong@sample.co.kr
It indicates the time elapsed in milliseconds since January 1, 1970, 00:00:00 UTC and the request is considered invalid if the time difference with the API Gateway server is greater than 5 minutes x-ncp-apigw-timestamp:{Timestamp}
x-ncp-iam-access-key
Access key ID value issued from the NAVER Cloud Platform portal x-ncp-iam-access-key:{Account Access Key}
x-ncp-apigw-signature-v2
Signature encrypted with access key ID value and secret key x-ncp-apigw-signature-v2:{API Gateway Signature}
x-ncp-workbox-loginId
Login email address for WORKBOX x-ncp-workbox-loginId:{Login ID}
Content-Type
Set the request body content type to application/json Content-Type: application/json
It indicates the time elapsed in milliseconds since January 1, 1970, 00:00:00 UTC and the request is considered invalid if the time difference with the API Gateway server is greater than 5 minutes x-ncp-apigw-timestamp:{Timestamp}
x-ncp-iam-access-key
Access key ID value issued from the NAVER Cloud Platform portal x-ncp-iam-access-key:{Account Access Key}
x-ncp-apigw-signature-v2
Signature encrypted with access key ID value and secret key x-ncp-apigw-signature-v2:{API Gateway Signature}
x-ncp-workbox-loginId
Login email address for WORKBOX x-ncp-workbox-loginId:{Login ID}
Content-Type
Set the request body content type to application/json Content-Type: application/json
GET https://workbox.apigw.ntruss.com/file-api/workbox-file-server/file-api/v1/files/{fileId}/download
Request headers
Header
Description
x-ncp-apigw-timestamp
It indicates the time elapsed in milliseconds since January 1, 1970, 00:00:00 UTC and the request is considered invalid if the time difference with the API Gateway server is greater than 5 minutes x-ncp-apigw-timestamp:{Timestamp}
x-ncp-iam-access-key
Access key ID value issued from the NAVER Cloud Platform portal x-ncp-iam-access-key:{Account Access Key}
x-ncp-apigw-signature-v2
Signature encrypted with access key ID value and secret key x-ncp-apigw-signature-v2:{API Gateway Signature}
x-ncp-workbox-loginId
Login email address for WORKBOX x-ncp-workbox-loginId:{Login ID}
Content-Type
Set the request body content type to application/json Content-Type: application/json
Request path parameters
Parameter
Type
Requirement status
Description
fileId
Long
Y
File ID
Request examples
GET https://workbox.apigw.ntruss.com/file-api/workbox-file-server/file-api/v1/files/18618459/download
GET /file-api/workbox-file-server/file-api/v1/files/18618459/download
HOST: workbox.apigw.ntruss.com
Content-Type: application/json
x-ncp-apigw-timestamp : 1649054672370
x-ncp-iam-access-key: toAvmFdP1rtPTMz2dpdy
x-ncp-apigw-signature-v2 : sks3TlqeoWnd08TkfdmfAjrdjTekRhRlAhRhWlvmeka=
x-ncp-workbox-loginId : gildong@sample.co.kr
POST https://workbox.apigw.ntruss.com/file-api/workbox-file-server/file-api/v1/files
Request headers
Header
Description
x-ncp-apigw-timestamp
It indicates the time elapsed in milliseconds since January 1, 1970, 00:00:00 UTC and the request is considered invalid if the time difference with the API Gateway server is greater than 5 minutes x-ncp-apigw-timestamp:{Timestamp}
x-ncp-iam-access-key
Access key ID value issued from the NAVER Cloud Platform portal x-ncp-iam-access-key:{Account Access Key}
x-ncp-apigw-signature-v2
Signature encrypted with access key ID value and secret key x-ncp-apigw-signature-v2:{API Gateway Signature}
x-ncp-workbox-loginId
Login email address for WORKBOX x-ncp-workbox-loginId:{Login ID}
Content-Type
Set the request body content type to application/json multipart/form-data Content-Type: multipart/form-data
Request query parameters
Parameter
Type
Requirement status
Description
action
int
Y
1:Nomal 2:Overwrite 3:Rename
size
int
Y
File size
actionForm
formData
N
formData to be used when sending via a form
file
formData
Y
File to be uploaded
Request examples
POST https://workbox.apigw.ntruss.com/file-api/workbox-file-server/file-api/v1/files?action=1&folderId=2485554&size=5076
POST /file-api/workbox-file-server/file-api/v1/files?action=1&folderId=2485554&size=5076
HOST: workbox.apigw.ntruss.com
Content-Type: multipart/form-data
x-ncp-apigw-timestamp : 1649054672370
x-ncp-iam-access-key: toAvmFdP1rtPTMz2dpdy
x-ncp-apigw-signature-v2 : sks3TlqeoWnd08TkfdmfAjrdjTekRhRlAhRhWlvmeka=
x-ncp-workbox-loginId : gildong@sample.co.kr
POST https://workbox.apigw.ntruss.com/file-api/workbox-file-server/file-api/v1/files/copy-batch
Request headers
Header
Description
x-ncp-apigw-timestamp
It indicates the time elapsed in milliseconds since January 1, 1970, 00:00:00 UTC and the request is considered invalid if the time difference with the API Gateway server is greater than 5 minutes x-ncp-apigw-timestamp:{Timestamp}
x-ncp-iam-access-key
Access key ID value issued from the NAVER Cloud Platform portal x-ncp-iam-access-key:{Account Access Key}
x-ncp-apigw-signature-v2
Signature encrypted with access key ID value and secret key x-ncp-apigw-signature-v2:{API Gateway Signature}
x-ncp-workbox-loginId
Login email address for WORKBOX x-ncp-workbox-loginId:{Login ID}
Content-Type
Set the request body content type to application/json Content-Type: application/json
POST https://workbox.apigw.ntruss.com/file-api/workbox-file-server/file-api/v1/files/move-batch
Request headers
Header
Description
x-ncp-apigw-timestamp
It indicates the time elapsed in milliseconds since January 1, 1970, 00:00:00 UTC and the request is considered invalid if the time difference with the API Gateway server is greater than 5 minutes x-ncp-apigw-timestamp:{Timestamp}
x-ncp-iam-access-key
Access key ID value issued from the NAVER Cloud Platform portal x-ncp-iam-access-key:{Account Access Key}
x-ncp-apigw-signature-v2
Signature encrypted with access key ID value and secret key x-ncp-apigw-signature-v2:{API Gateway Signature}
x-ncp-workbox-loginId
Login email address for WORKBOX x-ncp-workbox-loginId:{Login ID}
Content-Type
Set the request body content type to application/json Content-Type: application/json