Skip to content

Downloads

Download documentation and tools to help you integrate with Lunar Stream API.

Postman Collection

Complete Postman Collection to help you test and integrate the API quickly.

Features

  • ✅ All API endpoints organized by folders
  • ✅ Pre-request scripts automatically set variables
  • ✅ Test scripts validate responses
  • ✅ Examples for success and error cases
  • ✅ Environment variables template

Download Files

Postman Collection

📦 lunar-stream-partner-api.postman_collection.json

Includes all API endpoints:

  • Livestream Management (Create, List, Get, Update, End, Delete)
  • Media Servers
  • Public Endpoints

Postman Environment

🔧 lunar-stream-partner.postman_environment.json

Environment variables template with:

  • baseUrl: API base URL
  • apiKey: Your API Key (needs to be filled)
  • streamId: Auto-populated from responses
  • streamKey: Auto-populated from responses
  • mediaServerId: Default media server ID

Partner Integration Guide

Comprehensive integration documentation for partners.

📖 Partner Integration Guide - Complete documentation for integrating Lunar Stream

Contents include:

  • Quick Start (5 minutes)
  • Authentication & API Key Management
  • Complete API Reference
  • Code Examples (Node.js, Python, Mobile)
  • Advanced Topics (Stream Key, Push Token, CDN Failover)
  • Troubleshooting Guide

Contact: partners@lunarstream.io to receive full documentation

Postman Collection Usage Guide

Step 1: Import Collection

  1. Open Postman
  2. Click Import button (top left corner)
  3. Select file lunar-stream-partner-api.postman_collection.json
  4. Click Import

Step 2: Import Environment

  1. Click Import button
  2. Select file lunar-stream-partner.postman_environment.json
  3. Click Import
  4. Select environment "Lunar Stream Partner Environment" from dropdown

Step 3: Configure API Key

  1. Click on Environment icon (top right corner)
  2. Select "Lunar Stream Partner Environment"
  3. Fill in apiKey with your API Key
  4. Click Save

Step 4: Test API

Run requests in order:

  1. Get Available Media Servers → Auto-set mediaServerId
  2. Create Livestream → Auto-set streamId and streamKey
  3. Get Livestream Details → Verify stream info
  4. End Livestream → End stream (IRREVERSIBLE)
  5. Delete Livestream → Cleanup

Collection Structure

Lunar Stream Partner API
├── 1. Livestream Management
│   ├── Create Livestream
│   ├── Get All Livestreams
│   ├── Get Livestream Details
│   ├── Update Livestream
│   ├── End Livestream (IRREVERSIBLE)
│   └── Delete Livestream
├── 2. Media Servers
│   └── Get Available Media Servers
└── 3. Public Endpoints
    └── Get Stream Info by Stream Key

Support

If you have issues using the Postman Collection, please refer to:

Released under the MIT License.