XCloudEx API

Quick Stats

Endpoints42
Methods4
Version3.0.0

XCloudEx API Documentation

Complete reference for the XCloudEx API v3.0. Build scalable applications with our Firebase-like backend services.

Fast

Low latency, high throughput

Secure

End-to-end encryption

Scalable

Auto-scales with your needs

Getting Started

Base URL

https://api.ulibtech.org

Authentication

Most endpoints require authentication. Include your API key or JWT token in the request headers.

// With Bearer Token
Authorization: Bearer <your-jwt-token>

// With API Key
X-API-Key: <your-api-key>

Quick Example

// Create a new document
curl -X POST 'https://api.ulibtech.org/api/projects/{projectId}/collections/{collectionId}/documents' \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json' \
  -d '{
    "data": {
      "title": "Hello World",
      "content": "This is my first document"
    }
  }'

All API Endpoints

Health & Status

MethodEndpointDescriptionAction
GET/healthHealth check
GET/api/statusSystem status

Authentication

MethodEndpointDescriptionAction
POST/api/auth/registerRegister user
POST/api/auth/loginLogin
POST/api/auth/logoutLogout
GET/api/auth/meGet current user
PATCH/api/auth/update-profileUpdate profile

Projects

MethodEndpointDescriptionAction
GET/api/projectsList projects
POST/api/projectsCreate project
GET/api/projects/{id}Get project
PUT/api/projects/{id}Update project
DELETE/api/projects/{id}Delete project
GET/api/projects/{id}/membersList members
DELETE/api/projects/{id}/members/{userId}Remove member

Collections

MethodEndpointDescriptionAction
GET/api/projects/{id}/collectionsList collections
POST/api/projects/{id}/collectionsCreate collection
GET/api/projects/{id}/collections/{collectionId}Get collection
PUT/api/projects/{id}/collections/{collectionId}Update collection
DELETE/api/projects/{id}/collections/{collectionId}Delete collection

Documents

MethodEndpointDescriptionAction
GET/api/projects/{id}/collections/{collectionId}/documentsList documents
POST/api/projects/{id}/collections/{collectionId}/documentsCreate document
GET/api/projects/{id}/collections/{collectionId}/documents/{docId}Get document
PUT/api/projects/{id}/collections/{collectionId}/documents/{docId}Update document
DELETE/api/projects/{id}/collections/{collectionId}/documents/{docId}Delete document
GET/api/projects/{id}/collections/{collectionId}/documents/{docId}/historyDocument history

Files

MethodEndpointDescriptionAction
GET/api/filesList files
GET/api/files/{id}Get file info

API Keys

MethodEndpointDescriptionAction
GET/api/keysList API keys
POST/api/keysCreate API key
DELETE/api/keys/{id}Revoke API key

Analytics

MethodEndpointDescriptionAction
GET/api/stats/usageUsage statistics
GET/api/stats/collectionsCollection statistics
GET/api/stats/performancePerformance metrics

Admin

MethodEndpointDescriptionAction
GET/api/admin/stats/overviewAdmin overview