Templates API
Templates management endpoints
Auto-generated from OpenAPI spec on 2025-10-02
GET /templates/deploy
GET deploy
🔒 Authentication Required: Bearer token
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
orgId | query | Yes | Organization ID |
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X GET https://api.syaala.com/templates/deploy \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"POST /templates/deploy
POST deploy
🔒 Authentication Required: Bearer token
Request Body
{}Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X POST https://api.syaala.com/templates/deploy \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json" \\
-d '{}'GET /templates/{id}/versions
GET versions
🔒 Authentication Required: Bearer token
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | path | Yes | id identifier |
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X GET https://api.syaala.com/templates/abc123/versions \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"GET /templates/{id}/star
GET star
🔒 Authentication Required: Bearer token
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | path | Yes | id identifier |
orgId | query | Yes | Organization ID |
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X GET https://api.syaala.com/templates/abc123/star \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"POST /templates/{id}/star
POST star
🔒 Authentication Required: Bearer token
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | path | Yes | id identifier |
Request Body
{}Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X POST https://api.syaala.com/templates/abc123/star \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json" \\
-d '{}'DELETE /templates/{id}/star
DELETE star
🔒 Authentication Required: Bearer token
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | path | Yes | id identifier |
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X DELETE https://api.syaala.com/templates/abc123/star \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"POST /templates/{id}/new-version
POST new-version
🔒 Authentication Required: Bearer token
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | path | Yes | id identifier |
Request Body
{}Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X POST https://api.syaala.com/templates/abc123/new-version \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json" \\
-d '{}'GET /templates/{id}/deploy
GET deploy
🔒 Authentication Required: Bearer token
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | path | Yes | id identifier |
orgId | query | Yes | Organization ID |
Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X GET https://api.syaala.com/templates/abc123/deploy \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json"POST /templates/{id}/deploy
POST deploy
🔒 Authentication Required: Bearer token
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | path | Yes | id identifier |
Request Body
{}Responses
200 - Successful response
{}400 - Bad request
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}401 - Unauthorized
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}404 - Not found
{
"error": "string",
"message": "string",
"code": "string",
"statusCode": 0
}Examples
curl -X POST https://api.syaala.com/templates/abc123/deploy \\
-H "Authorization: Bearer ${SYAALA_API_KEY}" \\
-H "Content-Type: application/json" \\
-d '{}'