Γllycc API Reference

Programmatic access to Γllycc services. Authenticate with a token and interact with our deployment, configuration, and analytics systems.

Authentication

All API requests require an authentication token in the Authorization header. Generate API keys from your account settings in the dashboard.

curl -H "Authorization: Bearer YOUR_TOKEN" 
https://api.glycc.net/v2/account
                    

Available Endpoints

GET /api/v2/deployments

Retrieve a list of all active deployments for your projects.

Request Parameters:

Parameter Description
page Page number for pagination
filter Status filter (active, draft, archived)

POST /api/v2/build/triggers

Trigger a new build for a specific project configuration.

Request Body:

{
  "branch": "main",
  "config": "override.yaml"
}

DELETE /api/v2/caches/{id}

Purge cached assets for a specific deployment.

Path Parameters:

Parameter Description
id Cache entry identifier from /api/v2/caches

Response Format

All responses follow standard HTTP status codes and return JSON-formatted data. For error details, check the "message" field in the response body.

{
  "status": "success",
  "data": { ... },
  "meta": {
    "page": 1,
    "total": 125,
    "limit": 20
  }
}
```