メインコンテンツへスキップ
POST
/
file
/
create
ファイル作成
curl --request POST \
  --url https://api.example.com/file/create \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'project_id=<string>' \
  --form file='@example-file'
{
  "digest": "<string>"
}

承認

Authorization
string
header
必須

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

ボディ

multipart/form-data
project_id
string
必須
file
file
必須

レスポンス

正常なレスポンス

digest
string
必須