curl --request GET \
--url https://app.base44.com/api/app-catalog-items/catalog/{item_id}/pending-changes \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.base44.com/api/app-catalog-items/catalog/{item_id}/pending-changes"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.base44.com/api/app-catalog-items/catalog/{item_id}/pending-changes', 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://app.base44.com/api/app-catalog-items/catalog/{item_id}/pending-changes",
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://app.base44.com/api/app-catalog-items/catalog/{item_id}/pending-changes"
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://app.base44.com/api/app-catalog-items/catalog/{item_id}/pending-changes")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/app-catalog-items/catalog/{item_id}/pending-changes")
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{
"has_pending_update": true,
"has_code_changes": true,
"has_metadata_changes": true,
"metadata_diff": {
"version": {
"new": "1.1.0",
"old": "1.0.0"
}
}
}Get template listing pending update
Shows whether an update to a template listing is waiting for review, and which listing details it changes. Check it after you submit an update to a public template. A workspace template never has one waiting, because its updates apply right away.
Get it from catalog_items in Check app delete impact.
You need to be an owner or admin of the app’s workspace. For a listing shared only within a workspace, you need to be an owner or admin of that workspace.
This endpoint is limited to 60 requests a minute per caller.
curl --request GET \
--url https://app.base44.com/api/app-catalog-items/catalog/{item_id}/pending-changes \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.base44.com/api/app-catalog-items/catalog/{item_id}/pending-changes"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.base44.com/api/app-catalog-items/catalog/{item_id}/pending-changes', 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://app.base44.com/api/app-catalog-items/catalog/{item_id}/pending-changes",
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://app.base44.com/api/app-catalog-items/catalog/{item_id}/pending-changes"
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://app.base44.com/api/app-catalog-items/catalog/{item_id}/pending-changes")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/app-catalog-items/catalog/{item_id}/pending-changes")
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{
"has_pending_update": true,
"has_code_changes": true,
"has_metadata_changes": true,
"metadata_diff": {
"version": {
"new": "1.1.0",
"old": "1.0.0"
}
}
}Authorizations
Personal access token, sent as Authorization: Bearer <token>.
Path Parameters
ID of the template listing. Get it from catalog_items in Check app delete impact.
Response
What's waiting for review.
What's waiting for review on a template listing.
Whether an update is waiting for review.
true
Whether the pending update includes a new copy of the app.
true
Whether the pending update changes listing details.
true
Each listing detail the update changes, keyed by field name. Empty when it changes none.
Show child attributes
Show child attributes
{
"version": { "new": "1.1.0", "old": "1.0.0" }
}
Was this page helpful?