Attachments
Create an attachment from a URL
Changed onFetch a file from a remote URL and store it as an attachment. Unlike attachments.create, the server downloads and uploads the file, so the returned attachment is immediately available.
post/attachments.createFromUrl
Request
- Base URLhttps://app.getoutline.com/api
- URLhttps://app.getoutline.com/api/attachments.createFromUrl
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://app.getoutline.com/oauth/authorizeToken URL: https://app.getoutline.com/oauth/token scopes: read, write
Request body
Response
OK
Example response
{
"data": {
"contentType": "image/png"
}
}Changes
- info
endpoint added
- info