mario-hattie
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Getting Started with Channel Management API

Introduction

example image

Before beginning work it is necessary that:

  • Your organization is registered and activated
  • You have participated in a kick­off meeting
  • The opening questionnaire has been filled out
  • You have your login and password. (Using it you get a unique session token that must be used in every request to API as param jwt)

Contact us to be registered and get your credentials.

All responses are returned as JSON.

This document covers all the API calls and other methods that can be used to complete Razor-Cloud integration. It is important to note that all parameters are case sensitive in this document and should be used as documented.

Responses: When a request is successful, a response body will typically be sent back in the form of a JSON object. An exception to this is when a DELETE request is processed, which will result in a successful 200 status and an empty response body.

Install the Package

Run the following command from your project directory to install the package from npm:

npm install mario-hattie@1.0.0

Initialize the API Client

Note: Documentation for the client can be found here.

The following parameters are configurable for the API Client:

Parameter Type Description
timeout number Timeout for API calls.
Default: 0
jwt string Token which need to be passed in every request as GET parameter. You will get this token in authorization response. Token is valid 1 hour.

The API client can be initialized as follows:

const client = new Client({
  timeout: 0,
  jwt: 'jwt',
})

Authorization

This API uses Custom Query Parameter.

List of APIs

Classes Documentation

Readme

Keywords

none

Package Sidebar

Install

npm i mario-hattie

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

202 kB

Total Files

166

Last publish

Collaborators

  • mujjazi