Files

Upload a file

multipart/form-data with a file part. Returns the file metadata; put the returned id on the entity’s file/image column.

post/files

Request

  • Base URL: https://sdukstudio.com/api
  • URL: https://sdukstudio.com/api/files
  • Auth: HTTP bearer

Query parameters

entitystring

Target entity slug — applies that field’s declared limits.

fieldstring

Target file/image field slug.

Response

File metadata

idinteger
originalNamestring
mimeTypestring
sizeBytesinteger
entitySlugstring nullable
fieldSlugstring nullable
ownerUserIdinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.