@plasma-platform/tm-service-uploads

1.0.5 • Public • Published

Product Service API

Documentation

Table of Contents

UploadsService

Uploads Micro Service API

Parameters

  • url string service url
  • token (string | null) user access tocken if available (optional, default null)

messages

Object with class service messages

getTypes

Get Types

Examples

Get topics

(async () => {
  const uploads = new UploadsService('//api.templatemonsterdev.com/uploads/v1/');
  const topics = await uploads.getTopics();
})();

Returns array topics list

getMe

Get Topics

Examples

Get topics

(async () => {
  const uploads = new UploadsService('//api.templatemonsterdev.com/uploads/v1/');
  const topics = await uploads.getTopics();
})();

Returns array topics list

Dependencies (2)

Dev Dependencies (24)

Package Sidebar

Install

npm i @plasma-platform/tm-service-uploads

Weekly Downloads

1

Version

1.0.5

License

CC-BY-4.0

Last publish

Collaborators

  • alienmonster
  • ch-tm
  • viram