Read one own application operation and its node answer
curl --request GET \
--url https://api.kombify.io/v1/homelab/api/v1/services/{serviceId}/own-application/operations/{jobId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.kombify.io/v1/homelab/api/v1/services/{serviceId}/own-application/operations/{jobId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.kombify.io/v1/homelab/api/v1/services/{serviceId}/own-application/operations/{jobId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.kombify.io/v1/homelab/api/v1/services/{serviceId}/own-application/operations/{jobId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.kombify.io/v1/homelab/api/v1/services/{serviceId}/own-application/operations/{jobId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.kombify.io/v1/homelab/api/v1/services/{serviceId}/own-application/operations/{jobId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kombify.io/v1/homelab/api/v1/services/{serviceId}/own-application/operations/{jobId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"job_id": "<string>",
"service_id": "<string>",
"operation": "<string>",
"status": "<string>",
"error": "<string>",
"result": {
"operation": "<string>",
"outcome": "<string>",
"reason_code": "<string>",
"review_digest": "<string>",
"reviewed_action": "<string>",
"state": "<string>",
"image": "<string>",
"logs": "<string>",
"allow_major": true,
"target_check": "not_checked_by_kombify",
"prior": {},
"target": {},
"checkpoint": {
"operation_id": "<string>",
"state": "planned",
"retained_bytes": 123,
"at": "2023-11-07T05:31:56Z"
},
"replaces_checkpoint": {
"operation_id": "<string>",
"state": "planned",
"retained_bytes": 123,
"at": "2023-11-07T05:31:56Z"
},
"snapshot_id": "<string>"
}
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}Services
Read one own application operation and its node answer
Returns the job status and the projected node answer: outcome and reason code, review digest, the prior and target image of a tag update (target_check is always not_checked_by_kombify), the data checkpoint with its retained size and, for logs, the redacted tail.
GET
/
api
/
v1
/
services
/
{serviceId}
/
own-application
/
operations
/
{jobId}
Read one own application operation and its node answer
curl --request GET \
--url https://api.kombify.io/v1/homelab/api/v1/services/{serviceId}/own-application/operations/{jobId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.kombify.io/v1/homelab/api/v1/services/{serviceId}/own-application/operations/{jobId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.kombify.io/v1/homelab/api/v1/services/{serviceId}/own-application/operations/{jobId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.kombify.io/v1/homelab/api/v1/services/{serviceId}/own-application/operations/{jobId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.kombify.io/v1/homelab/api/v1/services/{serviceId}/own-application/operations/{jobId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.kombify.io/v1/homelab/api/v1/services/{serviceId}/own-application/operations/{jobId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kombify.io/v1/homelab/api/v1/services/{serviceId}/own-application/operations/{jobId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"job_id": "<string>",
"service_id": "<string>",
"operation": "<string>",
"status": "<string>",
"error": "<string>",
"result": {
"operation": "<string>",
"outcome": "<string>",
"reason_code": "<string>",
"review_digest": "<string>",
"reviewed_action": "<string>",
"state": "<string>",
"image": "<string>",
"logs": "<string>",
"allow_major": true,
"target_check": "not_checked_by_kombify",
"prior": {},
"target": {},
"checkpoint": {
"operation_id": "<string>",
"state": "planned",
"retained_bytes": 123,
"at": "2023-11-07T05:31:56Z"
},
"replaces_checkpoint": {
"operation_id": "<string>",
"state": "planned",
"retained_bytes": 123,
"at": "2023-11-07T05:31:56Z"
},
"snapshot_id": "<string>"
}
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}