List your containers
All container definitions of your account. A container that inherits from another one (a child) names its master in parent.
Example request
curl -H "Authorization: Bearer $CC_TOKEN" "$CC_BASE/containers"
Example response · 200
[
{
"uuid": "3e82594b-f3e1-4040-9fbe-372f9a50973c",
"name": "My App",
"php": "PHP84",
"distro": "rocky9",
"cpu": "x86_64",
"parent": null
},
{
"uuid": "9a1c7d02-5b6e-4f3a-8c21-0d4e6f7a8b90",
"name": "my-app-dev",
"php": "PHP84",
"distro": "rocky9",
"cpu": "x86_64",
"parent": "3e82594b-f3e1-4040-9fbe-372f9a50973c"
}
]
Responses
| Status | Body | Meaning |
200 |
array of ContainerSummary |
Your containers. An empty list if you have none.
|
401 |
Error |
No API key, an unknown or replaced key, or a locked account.
|
429 |
Error |
Rate limit exceeded. Wait the number of seconds given in Retry-After.
|
GET
/containers/{containerUuid}
#
Get one container
The current definition of a container and the image reference to pull. reference always points at the newest build; it is null until the container has been built once.
For a child container, PHP version, distribution, CPU, flags and locales come from its master, and extensions contains the inherited ones plus its own.
Parameters
| Name | In | Type | Description |
containerUuidrequired |
path |
string (uuid) |
The container's uuid, as returned by the list.
|
Example request
curl -H "Authorization: Bearer $CC_TOKEN" "$CC_BASE/containers/<containerUuid>"
# pull exactly the version the API reports
podman pull "$(curl -s -H "Authorization: Bearer $CC_TOKEN" "$CC_BASE/containers/<containerUuid>" | jq -r .reference)"
Example response · 200
{
"uuid": "3e82594b-f3e1-4040-9fbe-372f9a50973c",
"name": "My App",
"php": "PHP84",
"distro": "rocky9",
"cpu": "x86_64",
"parent": null,
"cli": true,
"fpm": true,
"shell": false,
"timezone": true,
"extensions": [
"gd",
"intl",
"pdo_mysql"
],
"locales": [
"de"
],
"description": "Production image of the shop",
"webEntryPath": "/app/public",
"image": "a1b2c3d.registry.customcontainer.io/my-app",
"version": "2.3.1",
"reference": "a1b2c3d.registry.customcontainer.io/my-app:2.3.1"
}
Responses
| Status | Body | Meaning |
200 |
ContainerDetail |
The container.
|
401 |
Error |
No API key, an unknown or replaced key, or a locked account.
|
404 |
Error |
The container does not exist or belongs to another account.
|
429 |
Error |
Rate limit exceeded. Wait the number of seconds given in Retry-After.
|
GET
/containers/{containerUuid}/history
#
Get the build history
Every build of the container, newest first. Each build records its release tag, the installed packages and the layers it consists of. Builds made before mid-2026 did not record the selection, so cli, fpm, extensions and locales are null there.
Parameters
| Name | In | Type | Description |
containerUuidrequired |
path |
string (uuid) |
The container's uuid, as returned by the list.
|
Example request
curl -H "Authorization: Bearer $CC_TOKEN" "$CC_BASE/containers/<containerUuid>/history"
Example response · 200
[
{
"number": 7,
"tag": "2.3.1",
"created": "2026-11-18 09:12:44",
"architecture": "amd64",
"layerCount": 14,
"totalSize": 48210944,
"packages": {
"php84-php-common": "8.4.23-1.el9.remi",
"php84-php-intl": "8.4.23-1.el9.remi"
},
"layers": [
{
"name": "php84-php-intl",
"size": 412160,
"digest": "sha256:5f2d…"
}
],
"cli": true,
"fpm": true,
"extensions": [
"gd",
"intl",
"pdo_mysql"
],
"locales": [
"de"
]
}
]
Responses
| Status | Body | Meaning |
200 |
array of Build |
The builds, newest first. An empty list if the container was never built.
|
401 |
Error |
No API key, an unknown or replaced key, or a locked account.
|
404 |
Error |
The container does not exist or belongs to another account.
|
429 |
Error |
Rate limit exceeded. Wait the number of seconds given in Retry-After.
|
GET
/containers/{containerUuid}/diff
#
Compare two builds
What changed between two builds of the same container: extensions, locales, packages (added, removed, new version), layers and size. Take the build numbers from the history.
Parameters
| Name | In | Type | Description |
containerUuidrequired |
path |
string (uuid) |
The container's uuid, as returned by the list.
|
fromrequired |
query |
integer |
Build number to compare from (usually the older one).
|
torequired |
query |
integer |
Build number to compare to.
|
Example request
curl -H "Authorization: Bearer $CC_TOKEN" "$CC_BASE/containers/<containerUuid>/diff?from=6&to=7"
Example response · 200
{
"from": 6,
"to": 7,
"extensions": {
"added": [
"intl"
],
"removed": []
},
"locales": {
"added": [],
"removed": []
},
"packages": {
"added": [
{
"name": "php84-php-intl",
"version": "8.4.23-1.el9.remi"
}
],
"removed": [],
"changed": [
{
"name": "php84-php-common",
"from": "8.4.22-1.el9.remi",
"to": "8.4.23-1.el9.remi"
}
]
},
"layers": {
"added": [
{
"name": "php84-php-intl",
"size": 412160,
"digest": "sha256:5f2d…"
}
],
"removed": []
},
"size": {
"from": 47798784,
"to": 48210944,
"delta": 412160
}
}
Responses
| Status | Body | Meaning |
200 |
BuildDiff |
The differences from from to to.
|
400 |
Error |
from or to is missing or not a number.
|
401 |
Error |
No API key, an unknown or replaced key, or a locked account.
|
404 |
Error |
The container is not yours or does not exist (container not found), or one of the build numbers is not in its history (build number not found).
|
429 |
Error |
Rate limit exceeded. Wait the number of seconds given in Retry-After.
|
Detect required PHP extensions
Reads a composer.lock and returns every PHP extension it asks for, together with the reason: the packages that require or suggest it, or platform / platform-dev for requirements of your own composer.json. Nothing is stored.
{
"lock": {
"packages": [
{
"name": "symfony/intl",
"require": {
"php": ">=8.2",
"ext-intl": "*"
}
}
],
"packages-dev": [],
"platform": {
"ext-pdo": "*"
}
},
"no-dev": true
}
Example request
jq '{lock: ., "no-dev": true}' composer.lock \
| curl -H "Authorization: Bearer $CC_TOKEN" -H "Content-Type: application/json" \
--data-binary @- "$CC_BASE/why"
Example response · 200
{
"intl": [
"symfony/intl"
],
"pdo": [
"platform"
]
}
Responses
| Status | Body | Meaning |
200 |
WhyResult |
The extensions and why each one is needed. An empty list if the lock file asks for none.
|
401 |
Error |
No API key, an unknown or replaced key, or a locked account.
|
406 |
Error |
The body has no lock.
|
429 |
Error |
Rate limit exceeded. Wait the number of seconds given in Retry-After.
|