POST /step/{step_key}/media
Save Step Media
POST
/step/{step_key}/media
Upload a media file and attach it to a process step.
Saves the uploaded file to the step's media folder on disk and returns the
stored filename. The file is associated with step_key via the folder
hierarchy used by search_step_media.
Emits: (direct file write — no event class)
Required scope: process:template:update
Authorizations
OAuth2PasswordBearer
password Flow
Token URL
"/api/auth"Scopes:
"admin"User can access and edit users and system settings"library"User can access and edit products"production"User can access and edit production plans"operator"User can access the operator panel and make production declarations
Parameters
Path Parameters
step_key*
Type
Requiredstring
Request Body
multipart/form-data
media_file
string
Required
Responses
Successful Response
application/json
"string"