Skip to content

list images

POST
/api/v1/container/images

Controller:

github.com/raghavyuva/nixopus-api/internal/features/container/controller.(*ContainerController).ListImages

Middlewares:

  • github.com/go-fuego/fuego.defaultLogger.middleware
  • github.com/raghavyuva/nixopus-api/internal/routes.(*Router).SetupRoutes.(*Router).setupAuthentication.func2
  • github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func1
  • github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func2
  • github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func3

Parameters

Header Parameters

Accept
Typestring

Responses

OK
JSON
{
"data": [
{
"created": 0,
"id": "string",
"labels": {
},
"repo_digests": [
"string"
],
"repo_tags": [
"string"
],
"shared_size": 0,
"size": 0,
"virtual_size": 0
}
],
"message": "string",
"status": "string"
}

Samples

cURL
curl -X POST http://localhost/api/v1/container/images
JavaScript
fetch("http://localhost/api/v1/container/images", { method: "POST" })
  .then(response => response.json())
  .then(data => console.log(data));
PHP
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://localhost/api/v1/container/images");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
Python
import requests
response = requests.post("http://localhost/api/v1/container/images")
print(response.json())
Powered by VitePress OpenAPI

Made with love
Released under the Functional Source License (FSL)