1
0
Fork 0
mirror of synced 2024-09-20 03:17:30 +12:00

Change SDK request type to multipart

This commit is contained in:
Khushboo Verma 2024-08-28 18:58:35 +05:30
parent 5c58ef2691
commit cb38f2c8e1

View file

@ -1713,7 +1713,7 @@ App::post('/v1/functions/:functionId/executions')
->label('sdk.response.code', Response::STATUS_CODE_CREATED)
->label('sdk.response.type', Response::CONTENT_TYPE_MULTIPART)
->label('sdk.response.model', Response::MODEL_EXECUTION)
->label('sdk.request.type', Response::CONTENT_TYPE_JSON)
->label('sdk.request.type', Response::CONTENT_TYPE_MULTIPART)
->param('functionId', '', new UID(), 'Function ID.')
->param('body', '', new Text(10485760, 0), 'HTTP body of execution. Default value is empty string.', true)
->param('async', false, new Boolean(), 'Execute code in the background. Default value is false.', true)