Skip to content

saturninoabril/mattermost-openapi-insomnia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mattermost Open API for Insomnia CircleCI branch

A complete set of Mattermost Open API route specifications that can be imported straight into Insomnia REST Client.

This script directly downloads mattermost-openapi-v4.yaml and then generate Insomnia-compatible resources out of it.

Build the resource

$ npm install
$ npm run build

Usage

Import directly into Insomnia, via Workspace ➡️ Import/Export ➡️ Import Data ➡️ From URL and entering https://raw.githubusercontent.com/saturninoabril/mattermost-openapi-insomnia/master/dist/mattermost_openapi_v4_insomnia.json:

  • mattermost_token: Add your personal access or session token to authorize access to routes. See documention on how to create personal access token.
  • mattermost_api_root: Set by default to http://localhost:8065/api/v4 but can also change to remotely access your Mattermost instance.
  • modify other parameters/environment variable as needed.

Releases

No releases published

Packages

No packages published