Create Entity Directory File
PUT /file/v1/{file_type}/{entity_type}/{entity_id}/{file_name}
PUT
/file/v1/{file_type}/{entity_type}/{entity_id}/{file_name}
Upload a file to entity storage for the provided entity_id. This endpoint will accept a multipart/form-data by default when the request’s content-type is not provided. When a content-type is provided, the request body will be as raw bytes.
Authorizations
Parameters
Path Parameters
file_type
required
string
file_name
required
string
entity_type
required
string
entity_id
required
string
Request Body required
object
file
string format: binary
string format: binary
Responses
204
Successful Response
403
Error Codes:
auth_invalid_key_id
- Invalid Authorization - Invalid Key ID in Access Tokenauth_invalid_version
- Invalid Authorization - versionauth_malformed_access
- Invalid Authorization - malformed access tokenauth_not_jwt
- Invalid Authorizationauth_token_expired
- Token is expiredauth_token_format
- Invalid Authorization - {}auth_token_invalid_claim
- Token contained invalid claim value: {}auth_token_invalid_type
- Invalid Authorization - Invalid Token Typeauth_token_sig_invalid
- Token Signature is invalidauth_token_unknown
- Failed to parse tokeninsufficient_permissions
- Insufficient Permissions
object
auth_success
boolean
error_code
required
string
desc
required
string
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string