Templates
/v3/templates
In: header
Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.vibengine.app/v3/templates" \ -H "Content-Type: application/json" \ -d '{}'{
"templateID": "string",
"buildID": "string",
"public": true,
"names": [
"string"
],
"tags": [
"string"
],
"aliases": [
"string"
]
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}/v2/templates
In: header
Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.vibengine.app/v2/templates" \ -H "Content-Type: application/json" \ -d '{ "alias": "string" }'{
"templateID": "string",
"buildID": "string",
"cpuCount": 1,
"memoryMB": 128,
"diskSizeMB": 0,
"public": true,
"aliases": [
"string"
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"createdBy": null,
"lastSpawnedAt": "2019-08-24T14:15:22Z",
"spawnCount": 0,
"buildCount": 0,
"envdVersion": "string"
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}/templates/{templateID}/files/{hash}
In: header
Path Parameters
Hash of the files
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.vibengine.app/templates/string/files/string"{
"present": true,
"url": "string"
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}/templates
In: header
Query Parameters
Identifier of the team
Response Body
application/json
application/json
application/json
curl -X GET "https://api.vibengine.app/templates"[
null
]{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}/templates
In: header
Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.vibengine.app/templates" \ -H "Content-Type: application/json" \ -d '{ "dockerfile": "string" }'{
"templateID": "string",
"buildID": "string",
"cpuCount": 1,
"memoryMB": 128,
"diskSizeMB": 0,
"public": true,
"aliases": [
"string"
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"createdBy": null,
"lastSpawnedAt": "2019-08-24T14:15:22Z",
"spawnCount": 0,
"buildCount": 0,
"envdVersion": "string"
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}/templates/{templateID}
In: header
Path Parameters
Query Parameters
Cursor to start the list from
Maximum number of items to return per page
100int321 <= value <= 100Response Body
application/json
application/json
application/json
curl -X GET "https://api.vibengine.app/templates/string"{
"templateID": "string",
"public": true,
"aliases": [
"string"
],
"names": [
"string"
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"lastSpawnedAt": "2019-08-24T14:15:22Z",
"spawnCount": 0,
"builds": [
{
"buildID": "9abc211d-7cca-4fea-818a-9faf1e5c8219",
"status": "building",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"finishedAt": "2019-08-24T14:15:22Z",
"cpuCount": 1,
"memoryMB": 128,
"diskSizeMB": 0,
"envdVersion": "string"
}
]
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}/templates/{templateID}
In: header
Path Parameters
Request Body
application/json
Response Body
application/json
application/json
application/json
curl -X POST "https://api.vibengine.app/templates/string" \ -H "Content-Type: application/json" \ -d '{ "dockerfile": "string" }'{
"templateID": "string",
"buildID": "string",
"cpuCount": 1,
"memoryMB": 128,
"diskSizeMB": 0,
"public": true,
"aliases": [
"string"
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"createdBy": null,
"lastSpawnedAt": "2019-08-24T14:15:22Z",
"spawnCount": 0,
"buildCount": 0,
"envdVersion": "string"
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}/templates/{templateID}
In: header
Path Parameters
Request Body
application/json
Response Body
application/json
application/json
application/json
curl -X PATCH "https://api.vibengine.app/templates/string" \ -H "Content-Type: application/json" \ -d '{}'{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}/templates/{templateID}
In: header
Path Parameters
Response Body
application/json
application/json
curl -X DELETE "https://api.vibengine.app/templates/string"{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}/templates/{templateID}/builds/{buildID}
In: header
Path Parameters
Response Body
application/json
application/json
curl -X POST "https://api.vibengine.app/templates/string/builds/string"{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}/v2/templates/{templateID}/builds/{buildID}
In: header
Path Parameters
Request Body
application/json
Image to use as a base for the template build
Template to use as a base for the template build
Whether the whole build should be forced to run regardless of the cache
falseList of steps to execute in the template build
[]Start command to execute in the template after the build
Ready check command to execute in the template after the build
Response Body
application/json
application/json
curl -X POST "https://api.vibengine.app/v2/templates/string/builds/string" \ -H "Content-Type: application/json" \ -d '{}'{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}/v2/templates/{templateID}
In: header
Path Parameters
Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://api.vibengine.app/v2/templates/string" \ -H "Content-Type: application/json" \ -d '{}'{
"names": [
"string"
]
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}/templates/{templateID}/builds/{buildID}/status
In: header
Path Parameters
Query Parameters
Index of the starting build log that should be returned with the template
0int320 <= valueMaximum number of logs that should be returned
100int320 <= value <= 100State of the sandbox
"debug" | "info" | "warn" | "error"Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.vibengine.app/templates/string/builds/string/status"{
"logs": [],
"logEntries": [],
"templateID": "string",
"buildID": "string",
"status": "building",
"reason": {
"message": "string",
"step": "string",
"logEntries": []
}
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}/templates/{templateID}/builds/{buildID}/logs
In: header
Path Parameters
Query Parameters
Starting timestamp of the logs that should be returned in milliseconds
int640 <= valueMaximum number of logs that should be returned
100int320 <= value <= 100Direction of the logs that should be returned
"forward" | "backward"State of the sandbox
"debug" | "info" | "warn" | "error"Source of the logs that should be returned from
"temporary" | "persistent"Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.vibengine.app/templates/string/builds/string/logs"{
"logs": []
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}/templates/aliases/{alias}
In: header
Path Parameters
Template alias
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.vibengine.app/templates/aliases/string"{
"templateID": "string",
"public": true
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}{
"code": 0,
"message": "string"
}