List Scaleway Namespaces
curl --request GET \
--url https://api.example.com/integrations/scaleway/container-registry/project/{projectId}/credentials/{credentialId}/namespacesimport requests
url = "https://api.example.com/integrations/scaleway/container-registry/project/{projectId}/credentials/{credentialId}/namespaces"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/integrations/scaleway/container-registry/project/{projectId}/credentials/{credentialId}/namespaces', 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.example.com/integrations/scaleway/container-registry/project/{projectId}/credentials/{credentialId}/namespaces",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/integrations/scaleway/container-registry/project/{projectId}/credentials/{credentialId}/namespaces"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/integrations/scaleway/container-registry/project/{projectId}/credentials/{credentialId}/namespaces")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/integrations/scaleway/container-registry/project/{projectId}/credentials/{credentialId}/namespaces")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"namespaces": [
{
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"name": "production-registry",
"region": "fr-par",
"endpoint": "rg.fr-par.scw.cloud/production-registry",
"imageCount": 12,
"size": 5368709120,
"status": "ready",
"createdAt": "2026-01-15T08:00:00.000Z",
"updatedAt": "2026-03-17T10:30:00.000Z"
}
],
"totalCount": 1,
"page": 1,
"pageSize": 20
}
}
Scaleway
List Scaleway Namespaces
List container registry namespaces accessible with stored credentials
GET
/
integrations
/
scaleway
/
container-registry
/
project
/
{projectId}
/
credentials
/
{credentialId}
/
namespaces
List Scaleway Namespaces
curl --request GET \
--url https://api.example.com/integrations/scaleway/container-registry/project/{projectId}/credentials/{credentialId}/namespacesimport requests
url = "https://api.example.com/integrations/scaleway/container-registry/project/{projectId}/credentials/{credentialId}/namespaces"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/integrations/scaleway/container-registry/project/{projectId}/credentials/{credentialId}/namespaces', 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.example.com/integrations/scaleway/container-registry/project/{projectId}/credentials/{credentialId}/namespaces",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/integrations/scaleway/container-registry/project/{projectId}/credentials/{credentialId}/namespaces"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/integrations/scaleway/container-registry/project/{projectId}/credentials/{credentialId}/namespaces")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/integrations/scaleway/container-registry/project/{projectId}/credentials/{credentialId}/namespaces")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"namespaces": [
{
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"name": "production-registry",
"region": "fr-par",
"endpoint": "rg.fr-par.scw.cloud/production-registry",
"imageCount": 12,
"size": 5368709120,
"status": "ready",
"createdAt": "2026-01-15T08:00:00.000Z",
"updatedAt": "2026-03-17T10:30:00.000Z"
}
],
"totalCount": 1,
"page": 1,
"pageSize": 20
}
}
Path Parameters
string
required
The UUID of the project
string
required
The UUID of the stored credential
Query Parameters
number
Page number (1-based). Default:
1number
Number of items per page. Default:
20Authorization
Requiresread permission on the project.
Response
boolean
Whether the request succeeded
object
Show Namespaces Response
Show Namespaces Response
array
Show Namespace Item
Show Namespace Item
number
Total number of namespaces
number
Current page number
number
Items per page
{
"success": true,
"data": {
"namespaces": [
{
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"name": "production-registry",
"region": "fr-par",
"endpoint": "rg.fr-par.scw.cloud/production-registry",
"imageCount": 12,
"size": 5368709120,
"status": "ready",
"createdAt": "2026-01-15T08:00:00.000Z",
"updatedAt": "2026-03-17T10:30:00.000Z"
}
],
"totalCount": 1,
"page": 1,
"pageSize": 20
}
}
⌘I