Kukuri API Reference
REST API for Goto10 HQ
API Endpoint
https://kukuri.goto10.cz/
Contact: frohikey@goto10.cz
Schemes: https
Version: v1
Authentication
api-key
API Key Authentication
Generic
Get status of API
Just a simple method for testing (health probe) purposes
Everything's alright
Internal server error
Cloudinary
Generate thumbnail
Generates a thumbnail. Provide binary data or URL parameter in query.
Public URL of source image
Width
Height
scale, fit, mfit, fill, lfill, limit, pad, lpad, mpad, crop, thumb
Format of output file (extension with or without leading period)
Success
Unauthorized
Forbidden
Internal server error
Response Content-Types: image/png, image/gif, image/jpeg, application/json
QR
Generate QR Image
Generates QR image.
Text
Pixels per module in QR image
Success
Unauthorized
Forbidden
Internal server error
Response Content-Types: image/png, application/json
Generate PDF document
Generates PDF document.
Url of html document
Content of document (html)
Success
Unauthorized
Forbidden
Internal server error
Response Content-Types: application/pdf, application/json
Kubernetes
Run job
Run a job in kubernetes cluster.
undefined
Project name (for bundling purposes)
Registry container (e.g. whatever.azurecr.io)
Image name
Human-readable description of job
Request Content-Types: application/json-patch+json, application/json, text/json, application/*+json
Request Example
{
"env": [
{
"key": "string",
"value": "string"
}
]
}
Success
Unauthorized
Forbidden
Internal server error
Response Content-Types: text/plain, application/json, text/json
Discord
Send simple message
Send simple message (string) through Discord webhook
Discord message
Webhook Id
Webhook token
Request Content-Types: text/plain
Request Example
"string"
Success
Unauthorized
Forbidden
Internal server error
Response Content-Types: application/json
Send complex message
Send complex message with embeds through Discord webhook
Discord message
Webhook Id
Webhook token
Request Content-Types: application/json-patch+json, application/json, text/json, application/*+json
Request Example
{
"text": "string",
"embeds": [
{
"title": "string",
"description": "string",
"imageUrl": "string",
"thumbnailUrl": "string",
"url": "string"
}
]
}
Success
Unauthorized
Forbidden
Internal server error
Response Content-Types: application/json
Schema Definitions
DiscordComplexMessage: object
- text: string
- embeds: DiscordEmbed
-
DiscordEmbed
Example
{
"text": "string",
"embeds": [
{
"title": "string",
"description": "string",
"imageUrl": "string",
"thumbnailUrl": "string",
"url": "string"
}
]
}