POST
/
fm
/
api
/
v1
/
contents
/
{destination}
curl --request POST \
  --url https://your-engine-url/fm/api/v1/contents/{destination} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: multipart/form-data'
{
  "content_info": {
    "name": "",
    "format": "<string>",
    "path": "",
    "type": "file",
    "size": 123,
    "writable": true,
    "content": "<any>",
    "created_at": "0001-01-01T00:00:00",
    "updated_at": "0001-01-01T00:00:00"
  },
  "root": "/home/jovyan"
}

Authorizations

Authorization
string
header
required

Enter: 'Bearer <JWT>', where JWT is the access token. Example: Bearer access_token_comes_here

Path Parameters

destination
string
required

Body

multipart/form-data
file
file

Response

200
application/json
Successful Response
content_info
object
root
string
default:/home/jovyan