1.0.7 • Published 4 years ago

mkm-service-formauthoring v1.0.7

Weekly downloads
23
License
ISC
Repository
-
Last release
4 years ago

Introduction

Service to support retrieving and creating file resources

Getting Started

Install via npm

npm install mkm-service-resource

Build and Test

Run build

npm run build

Run tests

npm test

Usage

Example usage:

import { ResourceService } from 'mkm-service-resource';

const resourceServiceConfig = {
    apiUrl: 'http://localhost:59299/api/',
    authToken: 'dHSD6bsdds....',
    roleToken: '45HS5645bd....'
};

const resourceService = new ResourceService(resourceServiceConfig);

Methods

  • createResource(resource)
  • createUrlResource(resource)
  • getResource(id)
  • getUrlResource(id)

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago