STAR API - Complete Endpoints Reference

📋 Overview

This document provides a comprehensive reference of ALL STAR API endpoints, organized by controller and functionality. This is the definitive guide for all available endpoints in the STAR Web API.

🔗 Base URLs

Development

https://localhost:5004/api

Production

https://star-api.oasisplatform.world/api

🔐 Authentication

API Key Authentication

Authorization: Bearer YOUR_STAR_API_KEY

Avatar Authentication

Authorization: Avatar YOUR_AVATAR_ID

📚 Complete API Endpoints

Avatar Controller

STAR Controller

OAPPs Controller

Quests Controller

NFTs Controller

Inventory Items Controller

Celestial Bodies Controller

Celestial Spaces Controller

GeoNFTs Controller

GeoHotSpots Controller

Chapters Controller

Zomes Controller

Holons Controller

Parks Controller

Templates Controller

Libraries Controller

Runtimes Controller

Plugins Controller

Competition Controller

Eggs Controller

Missions Controller

Quests Controller

Chapters Controller

NFTs Controller

GeoNFTs Controller

Inventory Items Controller

Celestial Bodies Controller

Celestial Spaces Controller

Zomes Controller

Holons Controller

Templates Controller

Libraries Controller

Runtimes Controller

Plugins Controller

OAPPs Controller

Parks Controller

GeoHotSpots Controller

STAR Controller

🔧 Metadata Controllers

Celestial Bodies MetaData Controller

Zomes MetaData Controller

Holons MetaData Controller

🎯 Common Operations

CRUD Operations

All controllers support the standard CRUD operations:

  • Create: POST /api/{controller}

  • Read: GET /api/{controller} and GET /api/{controller}/{id}

  • Update: PUT /api/{controller}/{id}

  • Delete: DELETE /api/{controller}/{id}

STARNET Operations

All controllers support STARNET operations:

  • Publish: POST /api/{controller}/{id}/publish

  • Download: POST /api/{controller}/{id}/download

  • Clone: POST /api/{controller}/{id}/clone

  • Search: POST /api/{controller}/search

  • Versions: GET /api/{controller}/{id}/versions

  • Edit: POST /api/{controller}/{id}/edit

  • Unpublish: POST /api/{controller}/{id}/unpublish

  • Republish: POST /api/{controller}/{id}/republish

  • Activate: POST /api/{controller}/{id}/activate

  • Deactivate: POST /api/{controller}/{id}/deactivate

📊 Response Format

All endpoints return responses in the following format:

🔐 Error Handling

All endpoints include comprehensive error handling:

  • 400 Bad Request: Invalid request data

  • 401 Unauthorized: Authentication required

  • 403 Forbidden: Insufficient permissions

  • 404 Not Found: Resource not found

  • 500 Internal Server Error: Server error

📱 SDKs

JavaScript/Node.js

C#/.NET

Python

🚀 Getting Started

  1. Get API Key: Sign up for a STAR API key

  2. Choose SDK: Select your preferred SDK

  3. Start Building: Use the endpoints to create amazing applications

📞 Support


This is the complete reference for all STAR API endpoints. For detailed documentation of each endpoint, see the individual controller documentation.

Last updated