Skip to content
Pile
Esc
navigateopen⌘Jpreview

Create image from url

POST/workspaces/{organizationId}/images/from-url
Path parameters
organizationIdstringrequired
Request body
application/json
urlstring<uri>required
filenamestring
Responses
201Image uploaded
idstringrequired
keystringrequired
urlstringrequired
contentTypestringrequired
sizeintegerrequired
503File storage not configured
Try it
Server
Parameters
Bodyapplication/json
Request
curl -X POST "/workspaces/string/images/from-url" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "http://example.com",
  "filename": "string"
}'
Response
{
  "id": "string",
  "key": "string",
  "url": "string",
  "contentType": "string",
  "size": 0
}