mtlynch-picoshare
- Description:
Simplify file sharing with PicoShare! Instantly create direct download links without ads, file restrictions, or resizing hassles. Share any file, any size, effortlessly and securely. Try PicoShare today!
- Copyright:
- 2025 Eyevinn Technology AB
- See:
-
- Online docs for further information
Methods
(async, static) createMtlynchPicoshareInstance(context, body) → {MtlynchPicoshare}
- Description:
Create a new PicoShare instance
Example
import { Context } from '@osaas/client-core';
import { createMtlynchPicoshareInstance } from '@osaas/client-services';
const ctx = new Context();
const body: MtlynchPicoshareConfig = { name: 'myinstance', ... };
const instance = await createMtlynchPicoshareInstance(ctx, body);
console.log(instance.url);
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
body |
MtlynchPicoshareConfig | Service instance configuration |
Returns:
- Service instance
- Type
- MtlynchPicoshare
(async, static) getMtlynchPicoshareInstance(context, name) → {MtlynchPicoshare}
- Description:
Get a PicoShare instance
Example
import { Context } from '@osaas/client-core';
import { getMtlynchPicoshareInstance } from '@osaas/client-services';
const ctx = new Context();
const instance = await getMtlynchPicoshareInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the picoshare to be retrieved |
Returns:
- Service instance
- Type
- MtlynchPicoshare
(async, static) removeMtlynchPicoshareInstance(context, name)
- Description:
Remove a PicoShare instance
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the picoshare to be removed |