POST
/
v2
/
workspaces
/
{workspaceId}
/
files
curl --request POST \
  --url https://api.eda.prisme.ai/v2/workspaces/{workspaceId}/files \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-Prismeai-API-Key: <api-key>' \
  --form 'expiresAfter=<string>' \
  --form 'public=<string>' \
  --form 'shareToken=<string>'
[
  {
    "name": "<string>",
    "url": "<string>",
    "mimetype": "<string>",
    "size": 123,
    "workspaceId": "<string>",
    "path": "<string>",
    "expiresAt": "<string>",
    "expiresAfter": 123,
    "metadata": {},
    "public": true,
    "shareToken": "<string>"
  }
]

Authorizations

X-Prismeai-API-Key
string
header
required
connect.sid
string
cookie
required

Path Parameters

workspaceId
string
required

Workspace id

Body

multipart/form-data

Response

200
application/json

Success Response

The response is of type object[].