diff --git a/core/testing.go b/core/testing.go index 62043aee44..14f1e72b6c 100644 --- a/core/testing.go +++ b/core/testing.go @@ -7,12 +7,14 @@ import ( "flag" "fmt" "io" + "math/rand/v2" "net/http" "os" "os/exec" "path" "path/filepath" "regexp" + "strconv" "strings" "testing" "text/template" @@ -64,7 +66,7 @@ type CheckFuncCtx struct { Result interface{} // Meta bag - Meta testMetadata + Meta TestMetadata // Scaleway client Client *scw.Client @@ -78,14 +80,20 @@ type CheckFuncCtx struct { LogBuffer string } -// testMetadata contains arbitrary data that can be passed along a test lifecycle. -type testMetadata map[string]interface{} +var testRenderHelpers = map[string]any{ + "randint": func() string { + return strconv.FormatUint(rand.Uint64(), 10) //nolint:gosec // Use weak random for a non-important use + }, +} + +// TestMetadata contains arbitrary data that can be passed along a test lifecycle. +type TestMetadata map[string]interface{} -// render renders a go template using where content of Meta can be used -func (meta testMetadata) render(strTpl string) string { +// Render renders a go template using where content of Meta can be used +func (meta TestMetadata) Render(strTpl string) string { t := meta["t"].(*testing.T) buf := &bytes.Buffer{} - require.NoError(t, template.Must(template.New("tpl").Parse(strTpl)).Execute(buf, meta)) + require.NoError(t, template.Must(template.New("tpl").Funcs(testRenderHelpers).Parse(strTpl)).Execute(buf, meta)) return buf.String() } @@ -105,7 +113,7 @@ type AfterFunc func(ctx *AfterFuncCtx) error type ExecFuncCtx struct { T *testing.T - Meta testMetadata + Meta TestMetadata Client *scw.Client } @@ -115,7 +123,7 @@ type BeforeFuncCtx struct { T *testing.T Client *scw.Client ExecuteCmd func(args []string) interface{} - Meta testMetadata + Meta TestMetadata OverrideEnv map[string]string Logger *Logger } @@ -124,7 +132,7 @@ type AfterFuncCtx struct { T *testing.T Client *scw.Client ExecuteCmd func(args []string) interface{} - Meta testMetadata + Meta TestMetadata CmdResult interface{} OverrideEnv map[string]string Logger *Logger @@ -326,7 +334,7 @@ func Test(config *TestConfig) func(t *testing.T) { client = createTestClient(t, config, httpClient) } - meta := testMetadata{ + meta := TestMetadata{ "t": t, } @@ -412,7 +420,7 @@ func Test(config *TestConfig) func(t *testing.T) { Meta: meta, OverrideEnv: overrideEnv, Logger: testLogger, - })) + }), "error executing BeforeFunc") testLogger.Debug("End BeforeFunc") } @@ -424,9 +432,9 @@ func Test(config *TestConfig) func(t *testing.T) { if config.Cmd != "" { renderedArgs = cmdToArgs(meta, config.Cmd) } else { - // We render raw arguments from meta + // We Render raw arguments from meta for _, arg := range rawArgs { - renderedArgs = append(renderedArgs, meta.render(arg)) + renderedArgs = append(renderedArgs, meta.Render(arg)) } } @@ -491,8 +499,8 @@ func Test(config *TestConfig) func(t *testing.T) { } } -func cmdToArgs(meta testMetadata, s string) []string { - return strings.Split(meta.render(s), " ") +func cmdToArgs(meta TestMetadata, s string) []string { + return strings.Split(meta.Render(s), " ") } // BeforeFuncCombine combines multiple before functions into one. @@ -553,7 +561,13 @@ func ExecStoreBeforeCmd(metaKey, cmd string) BeforeFunc { func BeforeFuncOsExec(cmd string, args ...string) BeforeFunc { return func(ctx *BeforeFuncCtx) error { ctx.Logger.Debugf("BeforeFuncOsExec: cmd=%s args=%s\n", cmd, args) - return exec.Command(cmd, args...).Run() + err := exec.Command(cmd, args...).Run() + if err != nil { + formattedCmd := strings.Join(append([]string{cmd}, args...), " ") + return fmt.Errorf("failed to execute cmd %q: %w", formattedCmd, err) + } + + return nil } } @@ -571,7 +585,7 @@ func ExecBeforeCmd(cmd string) BeforeFunc { func ExecBeforeCmdArgs(args []string) BeforeFunc { return func(ctx *BeforeFuncCtx) error { for i := range args { - args[i] = ctx.Meta.render(args[i]) + args[i] = ctx.Meta.Render(args[i]) } ctx.Logger.Debugf("ExecBeforeCmdArgs: args=%s\n", args) ctx.ExecuteCmd(args) @@ -734,7 +748,7 @@ func TestCheckStdout(stdout string) TestCheck { func OverrideExecSimple(cmdStr string, exitCode int) OverrideExecTestFunc { return func(ctx *ExecFuncCtx, cmd *exec.Cmd) (int, error) { - assert.Equal(ctx.T, ctx.Meta.render(cmdStr), strings.Join(cmd.Args, " ")) + assert.Equal(ctx.T, ctx.Meta.Render(cmdStr), strings.Join(cmd.Args, " ")) return exitCode, nil } } diff --git a/internal/namespaces/registry/v1/custom_image_test.go b/internal/namespaces/registry/v1/custom_image_test.go index 297f82e6db..cc84b1c94f 100644 --- a/internal/namespaces/registry/v1/custom_image_test.go +++ b/internal/namespaces/registry/v1/custom_image_test.go @@ -13,8 +13,8 @@ func Test_ImageList(t *testing.T) { t.Run("Simple", core.Test(&core.TestConfig{ Commands: registry.GetCommands(), BeforeFunc: core.BeforeFuncCombine( - core.ExecStoreBeforeCmd("PublicNamespace", "scw registry namespace create name=cli-public-namespace is-public=true"), - core.ExecStoreBeforeCmd("PrivateNamespace", "scw registry namespace create name=cli-private-namespace is-public=false"), + core.ExecStoreBeforeCmd("PublicNamespace", "scw registry namespace create name=cli-public-namespace-{{randint}} is-public=true"), + core.ExecStoreBeforeCmd("PrivateNamespace", "scw registry namespace create name=cli-private-namespace-{{randint}} is-public=false"), core.BeforeFuncWhenUpdatingCassette( core.ExecBeforeCmd("scw registry login"), ), @@ -23,35 +23,35 @@ func Test_ImageList(t *testing.T) { core.BeforeFuncCombine( setupImage( "busybox:1.31", - "rg.fr-par.scw.cloud/cli-public-namespace", + "{{ .PublicNamespace.Endpoint }}", fmt.Sprintf("visibility_%s", registrySDK.ImageVisibilityPublic), registrySDK.ImageVisibilityPublic, ), setupImage( "busybox:1.30", - "rg.fr-par.scw.cloud/cli-public-namespace", + "{{ .PublicNamespace.Endpoint }}", fmt.Sprintf("visibility_%s", registrySDK.ImageVisibilityPrivate), registrySDK.ImageVisibilityPrivate, ), setupImage( "busybox:1.29", - "rg.fr-par.scw.cloud/cli-public-namespace", + "{{ .PublicNamespace.Endpoint }}", fmt.Sprintf("visibility_%s", registrySDK.ImageVisibilityInherit), registrySDK.ImageVisibilityInherit, ), setupImage( "busybox:1.28", - "rg.fr-par.scw.cloud/cli-private-namespace", + "{{ .PrivateNamespace.Endpoint }}", fmt.Sprintf("visibility_%s", registrySDK.ImageVisibilityPublic), registrySDK.ImageVisibilityPublic, ), setupImage( "busybox:1.27", - "rg.fr-par.scw.cloud/cli-private-namespace", + "{{ .PrivateNamespace.Endpoint }}", fmt.Sprintf("visibility_%s", registrySDK.ImageVisibilityPrivate), registrySDK.ImageVisibilityPrivate, ), @@ -59,7 +59,7 @@ func Test_ImageList(t *testing.T) { // namespace_policy: private, image_policy:inherit setupImage( "busybox:1.26", - "rg.fr-par.scw.cloud/cli-private-namespace", + "{{ .PrivateNamespace.Endpoint }}", fmt.Sprintf("visibility_%s", registrySDK.ImageVisibilityInherit), registrySDK.ImageVisibilityInherit, ), @@ -79,12 +79,16 @@ func Test_ImageList(t *testing.T) { } func setupImage(dockerImage string, namespaceEndpoint string, imageName string, visibility registrySDK.ImageVisibility) core.BeforeFunc { - remote := fmt.Sprintf("%s/%s:latest", namespaceEndpoint, imageName) - return core.BeforeFuncCombine( - core.BeforeFuncOsExec("docker", "pull", dockerImage), - core.BeforeFuncOsExec("docker", "tag", dockerImage, remote), - core.BeforeFuncOsExec("docker", "push", remote), - core.ExecStoreBeforeCmd("ImageListResult", "scw registry image list name="+imageName), - core.ExecBeforeCmd("scw registry image update {{ (index .ImageListResult 0).ID }} visibility="+visibility.String()), - ) + return func(ctx *core.BeforeFuncCtx) error { + namespaceEndpoint := ctx.Meta.Render(namespaceEndpoint) + remote := fmt.Sprintf("%s/%s:latest", namespaceEndpoint, imageName) + + return core.BeforeFuncCombine( + core.BeforeFuncOsExec("docker", "pull", dockerImage), + core.BeforeFuncOsExec("docker", "tag", dockerImage, remote), + core.BeforeFuncOsExec("docker", "push", remote), + core.ExecStoreBeforeCmd("ImageListResult", "scw registry image list name="+imageName), + core.ExecBeforeCmd("scw registry image update {{ (index .ImageListResult 0).ID }} visibility="+visibility.String()), + )(ctx) + } } diff --git a/internal/namespaces/registry/v1/testdata/test-image-list-simple.cassette.yaml b/internal/namespaces/registry/v1/testdata/test-image-list-simple.cassette.yaml index 0dd6168d37..715325ffbb 100644 --- a/internal/namespaces/registry/v1/testdata/test-image-list-simple.cassette.yaml +++ b/internal/namespaces/registry/v1/testdata/test-image-list-simple.cassette.yaml @@ -2,28 +2,38 @@ version: 1 interactions: - request: - body: '{"name":"cli-public-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","is_public":true}' + body: '{"id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "name":"cli-public-namespace-1692550640656725191", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191", "is_public":true, + "size":0, "created_at":"2024-12-23T09:32:48.337043997Z", "updated_at":"2024-12-23T09:32:48.337043997Z", + "image_count":0, "region":"fr-par"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces method: POST response: - body: '{"id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","name":"cli-public-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/cli-public-namespace","is_public":true,"size":0,"created_at":"2020-06-03T16:53:16.197893165Z","updated_at":"2020-06-03T16:53:16.197893165Z","image_count":0,"region":"fr-par"}' + body: '{"id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "name":"cli-public-namespace-1692550640656725191", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191", "is_public":true, + "size":0, "created_at":"2024-12-23T09:32:48.337043997Z", "updated_at":"2024-12-23T09:32:48.337043997Z", + "image_count":0, "region":"fr-par"}' headers: Content-Length: - - "392" + - "497" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:16 GMT + - Mon, 23 Dec 2024 09:32:48 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -31,33 +41,43 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7b8646cd-1843-41d4-89f6-ac995b39f7c4 + - 67cd5228-376a-4849-80e1-a9b336e9a129 status: 200 OK code: 200 duration: "" - request: - body: '{"name":"cli-private-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","is_public":false}' + body: '{"id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", "name":"cli-private-namespace-15460830706535999219", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219", + "is_public":false, "size":0, "created_at":"2024-12-23T09:32:48.528248077Z", + "updated_at":"2024-12-23T09:32:48.528248077Z", "image_count":0, "region":"fr-par"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces method: POST response: - body: '{"id":"91665e85-422e-480c-921c-560d0f1b2184","name":"cli-private-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/cli-private-namespace","is_public":false,"size":0,"created_at":"2020-06-03T16:53:16.304459838Z","updated_at":"2020-06-03T16:53:16.304459838Z","image_count":0,"region":"fr-par"}' + body: '{"id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", "name":"cli-private-namespace-15460830706535999219", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219", + "is_public":false, "size":0, "created_at":"2024-12-23T09:32:48.528248077Z", + "updated_at":"2024-12-23T09:32:48.528248077Z", "image_count":0, "region":"fr-par"}' headers: Content-Length: - - "395" + - "502" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:16 GMT + - Mon, 23 Dec 2024 09:32:48 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -65,31 +85,37 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0b2e0e84-05fb-4024-955f-6781afd3e411 + - 6ff588f6-42b6-4635-8b82-c1c972bf5350 status: 200 OK code: 200 duration: "" - request: - body: "" + body: '{"images":[{"id":"2d8149ff-2924-45b9-90e4-554315289d0d", "name":"visibility_public", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"inherit", "size":848871, "created_at":"2024-12-23T09:32:56.212645Z", + "updated_at":"2024-12-23T09:32:56.563118Z", "tags":["latest"]}], "total_count":1}' form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test url: https://api.scaleway.com/registry/v1/regions/fr-par/images?name=visibility_public&order_by=created_at_asc&page=1 method: GET response: - body: '{"images":[{"id":"5edd2996-d00c-4d64-9629-e8ffe1c52ae1","name":"visibility_public","namespace_id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","status":"ready","status_message":"","visibility":"inherit","size":0,"created_at":"2020-06-03T16:53:23.406431Z","updated_at":"2020-06-03T16:53:23.406431Z","tags":["latest"]}],"total_count":1}' + body: '{"images":[{"id":"2d8149ff-2924-45b9-90e4-554315289d0d", "name":"visibility_public", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"inherit", "size":848871, "created_at":"2024-12-23T09:32:56.212645Z", + "updated_at":"2024-12-23T09:32:56.563118Z", "tags":["latest"]}], "total_count":1}' headers: Content-Length: - - "328" + - "343" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:23 GMT + - Mon, 23 Dec 2024 09:32:56 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,31 +123,231 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0391f903-8e17-41c2-9add-27a5734aba92 + - d5b51ea0-4914-445f-93ef-d189766a5ebe status: 200 OK code: 200 duration: "" - request: - body: "" + body: '{"namespaces":[{"id":"3803f8ff-bede-4a01-b4c7-0835fcf9361e", "name":"cli-public-namespace-7939799000782016162", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7939799000782016162", "is_public":true, + "size":0, "created_at":"2024-12-23T09:15:11.455785Z", "updated_at":"2024-12-23T09:15:11.455785Z", + "image_count":0, "region":"fr-par"}, {"id":"7f7c1a42-1319-41a8-b8d6-22c1395ecbfd", + "name":"cli-private-namespace-17241109529365830947", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17241109529365830947", + "is_public":false, "size":0, "created_at":"2024-12-23T09:15:11.622539Z", "updated_at":"2024-12-23T09:15:11.622539Z", + "image_count":0, "region":"fr-par"}, {"id":"626eb667-bbf7-46ee-9b41-3479c47d9251", + "name":"cli-public-namespace-893235992334772097", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-893235992334772097", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:15.990451Z", "updated_at":"2024-12-23T09:16:15.990451Z", + "image_count":0, "region":"fr-par"}, {"id":"654afd81-ad28-4d90-b05c-4cf5b5545f86", + "name":"cli-private-namespace-2098919150215436606", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-2098919150215436606", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:16.118909Z", "updated_at":"2024-12-23T09:16:16.118909Z", + "image_count":0, "region":"fr-par"}, {"id":"17ddedad-3b1c-4226-b019-55e08e9fbd5e", + "name":"cli-public-namespace-16473882534148688581", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-16473882534148688581", + "is_public":true, "size":0, "created_at":"2024-12-23T09:16:35.461866Z", "updated_at":"2024-12-23T09:16:35.461866Z", + "image_count":0, "region":"fr-par"}, {"id":"d4a9385b-3b09-40c8-8379-bc7dc7319550", + "name":"cli-private-namespace-1983047767360990524", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-1983047767360990524", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:35.577828Z", "updated_at":"2024-12-23T09:16:35.577828Z", + "image_count":0, "region":"fr-par"}, {"id":"e77b908c-b8c3-4654-991f-304c9265141f", + "name":"cli-public-namespace-7890496127073292675", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7890496127073292675", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:52.705622Z", "updated_at":"2024-12-23T09:16:52.705622Z", + "image_count":0, "region":"fr-par"}, {"id":"df286dbc-ff92-47a2-99bc-716d10655fbd", + "name":"cli-private-namespace-8115662929909885246", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8115662929909885246", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:52.846735Z", "updated_at":"2024-12-23T09:16:52.846735Z", + "image_count":0, "region":"fr-par"}, {"id":"12a64759-bd69-4b44-9bf2-cadb1b05ecae", + "name":"cli-public-namespace-13885717329464517262", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-13885717329464517262", + "is_public":true, "size":0, "created_at":"2024-12-23T09:17:29.670441Z", "updated_at":"2024-12-23T09:17:29.670441Z", + "image_count":0, "region":"fr-par"}, {"id":"947e1cd4-e6a1-4676-a28a-3ca385aa08fa", + "name":"cli-private-namespace-15380825806382233430", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15380825806382233430", + "is_public":false, "size":0, "created_at":"2024-12-23T09:17:29.785005Z", "updated_at":"2024-12-23T09:17:29.785005Z", + "image_count":0, "region":"fr-par"}, {"id":"32a8e346-c689-43b0-ab4c-6bb45531b17b", + "name":"cli-public-namespace-404611571659832400", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-404611571659832400", "is_public":true, + "size":0, "created_at":"2024-12-23T09:19:26.039289Z", "updated_at":"2024-12-23T09:19:26.039289Z", + "image_count":0, "region":"fr-par"}, {"id":"3201e6bb-6def-40f9-b053-dd13bd4fec4d", + "name":"cli-private-namespace-18011672248641714332", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-18011672248641714332", + "is_public":false, "size":0, "created_at":"2024-12-23T09:19:26.173731Z", "updated_at":"2024-12-23T09:19:26.173731Z", + "image_count":0, "region":"fr-par"}, {"id":"833fbd64-58f3-480c-8a9d-9b8f90e9e9c0", + "name":"cli-public-namespace-11379894662406056841", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-11379894662406056841", + "is_public":true, "size":0, "created_at":"2024-12-23T09:20:21.816840Z", "updated_at":"2024-12-23T09:20:21.816840Z", + "image_count":0, "region":"fr-par"}, {"id":"43e4c648-b377-40ad-be03-1e6a2714baf1", + "name":"cli-private-namespace-8869400768078969395", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8869400768078969395", + "is_public":false, "size":0, "created_at":"2024-12-23T09:20:21.965388Z", "updated_at":"2024-12-23T09:20:21.965388Z", + "image_count":0, "region":"fr-par"}, {"id":"4b0c26db-fd1d-4c7d-a065-18d4d82ff3df", + "name":"cli-public-namespace-7307228644657219749", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7307228644657219749", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:16.091790Z", "updated_at":"2024-12-23T09:21:16.091790Z", + "image_count":0, "region":"fr-par"}, {"id":"2566ded6-8c48-4c17-82c8-11c35f3f6d35", + "name":"cli-private-namespace-17034149517499994654", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17034149517499994654", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:16.226534Z", "updated_at":"2024-12-23T09:21:16.226534Z", + "image_count":0, "region":"fr-par"}, {"id":"f1af0337-94a9-4614-855f-5355c02a319d", + "name":"cli-public-namespace-2309305523627284095", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-2309305523627284095", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:45.787137Z", "updated_at":"2024-12-23T09:21:45.787137Z", + "image_count":0, "region":"fr-par"}, {"id":"f638bfbd-9915-4937-894f-5d86e73fc0f8", + "name":"cli-private-namespace-17185252734039414340", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17185252734039414340", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:45.911944Z", "updated_at":"2024-12-23T09:21:45.911944Z", + "image_count":0, "region":"fr-par"}, {"id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", + "name":"cli-public-namespace-1692550640656725191", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191", "is_public":true, + "size":848871, "created_at":"2024-12-23T09:32:48.337044Z", "updated_at":"2024-12-23T09:32:56.574746Z", + "image_count":1, "region":"fr-par"}, {"id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "name":"cli-private-namespace-15460830706535999219", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219", + "is_public":false, "size":0, "created_at":"2024-12-23T09:32:48.528248Z", "updated_at":"2024-12-23T09:32:48.528248Z", + "image_count":0, "region":"fr-par"}], "total_count":20}' form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces?order_by=created_at_asc&page=1 method: GET response: - body: '{"namespaces":[{"id":"9c7ad6f7-326d-44e6-a920-aea196ac897e","name":"jquere01","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/jquere01","is_public":false,"size":2797541,"created_at":"2020-06-01T17:39:33.333350Z","updated_at":"2020-06-01T17:46:30.407834Z","image_count":1,"region":"fr-par"},{"id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","name":"cli-public-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/cli-public-namespace","is_public":true,"size":0,"created_at":"2020-06-03T16:53:16.197893Z","updated_at":"2020-06-03T16:53:16.197893Z","image_count":1,"region":"fr-par"},{"id":"91665e85-422e-480c-921c-560d0f1b2184","name":"cli-private-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/cli-private-namespace","is_public":false,"size":0,"created_at":"2020-06-03T16:53:16.304460Z","updated_at":"2020-06-03T16:53:16.304460Z","image_count":0,"region":"fr-par"}],"total_count":3}' + body: '{"namespaces":[{"id":"3803f8ff-bede-4a01-b4c7-0835fcf9361e", "name":"cli-public-namespace-7939799000782016162", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7939799000782016162", "is_public":true, + "size":0, "created_at":"2024-12-23T09:15:11.455785Z", "updated_at":"2024-12-23T09:15:11.455785Z", + "image_count":0, "region":"fr-par"}, {"id":"7f7c1a42-1319-41a8-b8d6-22c1395ecbfd", + "name":"cli-private-namespace-17241109529365830947", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17241109529365830947", + "is_public":false, "size":0, "created_at":"2024-12-23T09:15:11.622539Z", "updated_at":"2024-12-23T09:15:11.622539Z", + "image_count":0, "region":"fr-par"}, {"id":"626eb667-bbf7-46ee-9b41-3479c47d9251", + "name":"cli-public-namespace-893235992334772097", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-893235992334772097", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:15.990451Z", "updated_at":"2024-12-23T09:16:15.990451Z", + "image_count":0, "region":"fr-par"}, {"id":"654afd81-ad28-4d90-b05c-4cf5b5545f86", + "name":"cli-private-namespace-2098919150215436606", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-2098919150215436606", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:16.118909Z", "updated_at":"2024-12-23T09:16:16.118909Z", + "image_count":0, "region":"fr-par"}, {"id":"17ddedad-3b1c-4226-b019-55e08e9fbd5e", + "name":"cli-public-namespace-16473882534148688581", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-16473882534148688581", + "is_public":true, "size":0, "created_at":"2024-12-23T09:16:35.461866Z", "updated_at":"2024-12-23T09:16:35.461866Z", + "image_count":0, "region":"fr-par"}, {"id":"d4a9385b-3b09-40c8-8379-bc7dc7319550", + "name":"cli-private-namespace-1983047767360990524", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-1983047767360990524", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:35.577828Z", "updated_at":"2024-12-23T09:16:35.577828Z", + "image_count":0, "region":"fr-par"}, {"id":"e77b908c-b8c3-4654-991f-304c9265141f", + "name":"cli-public-namespace-7890496127073292675", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7890496127073292675", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:52.705622Z", "updated_at":"2024-12-23T09:16:52.705622Z", + "image_count":0, "region":"fr-par"}, {"id":"df286dbc-ff92-47a2-99bc-716d10655fbd", + "name":"cli-private-namespace-8115662929909885246", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8115662929909885246", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:52.846735Z", "updated_at":"2024-12-23T09:16:52.846735Z", + "image_count":0, "region":"fr-par"}, {"id":"12a64759-bd69-4b44-9bf2-cadb1b05ecae", + "name":"cli-public-namespace-13885717329464517262", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-13885717329464517262", + "is_public":true, "size":0, "created_at":"2024-12-23T09:17:29.670441Z", "updated_at":"2024-12-23T09:17:29.670441Z", + "image_count":0, "region":"fr-par"}, {"id":"947e1cd4-e6a1-4676-a28a-3ca385aa08fa", + "name":"cli-private-namespace-15380825806382233430", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15380825806382233430", + "is_public":false, "size":0, "created_at":"2024-12-23T09:17:29.785005Z", "updated_at":"2024-12-23T09:17:29.785005Z", + "image_count":0, "region":"fr-par"}, {"id":"32a8e346-c689-43b0-ab4c-6bb45531b17b", + "name":"cli-public-namespace-404611571659832400", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-404611571659832400", "is_public":true, + "size":0, "created_at":"2024-12-23T09:19:26.039289Z", "updated_at":"2024-12-23T09:19:26.039289Z", + "image_count":0, "region":"fr-par"}, {"id":"3201e6bb-6def-40f9-b053-dd13bd4fec4d", + "name":"cli-private-namespace-18011672248641714332", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-18011672248641714332", + "is_public":false, "size":0, "created_at":"2024-12-23T09:19:26.173731Z", "updated_at":"2024-12-23T09:19:26.173731Z", + "image_count":0, "region":"fr-par"}, {"id":"833fbd64-58f3-480c-8a9d-9b8f90e9e9c0", + "name":"cli-public-namespace-11379894662406056841", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-11379894662406056841", + "is_public":true, "size":0, "created_at":"2024-12-23T09:20:21.816840Z", "updated_at":"2024-12-23T09:20:21.816840Z", + "image_count":0, "region":"fr-par"}, {"id":"43e4c648-b377-40ad-be03-1e6a2714baf1", + "name":"cli-private-namespace-8869400768078969395", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8869400768078969395", + "is_public":false, "size":0, "created_at":"2024-12-23T09:20:21.965388Z", "updated_at":"2024-12-23T09:20:21.965388Z", + "image_count":0, "region":"fr-par"}, {"id":"4b0c26db-fd1d-4c7d-a065-18d4d82ff3df", + "name":"cli-public-namespace-7307228644657219749", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7307228644657219749", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:16.091790Z", "updated_at":"2024-12-23T09:21:16.091790Z", + "image_count":0, "region":"fr-par"}, {"id":"2566ded6-8c48-4c17-82c8-11c35f3f6d35", + "name":"cli-private-namespace-17034149517499994654", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17034149517499994654", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:16.226534Z", "updated_at":"2024-12-23T09:21:16.226534Z", + "image_count":0, "region":"fr-par"}, {"id":"f1af0337-94a9-4614-855f-5355c02a319d", + "name":"cli-public-namespace-2309305523627284095", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-2309305523627284095", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:45.787137Z", "updated_at":"2024-12-23T09:21:45.787137Z", + "image_count":0, "region":"fr-par"}, {"id":"f638bfbd-9915-4937-894f-5d86e73fc0f8", + "name":"cli-private-namespace-17185252734039414340", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17185252734039414340", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:45.911944Z", "updated_at":"2024-12-23T09:21:45.911944Z", + "image_count":0, "region":"fr-par"}, {"id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", + "name":"cli-public-namespace-1692550640656725191", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191", "is_public":true, + "size":848871, "created_at":"2024-12-23T09:32:48.337044Z", "updated_at":"2024-12-23T09:32:56.574746Z", + "image_count":1, "region":"fr-par"}, {"id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "name":"cli-private-namespace-15460830706535999219", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219", + "is_public":false, "size":0, "created_at":"2024-12-23T09:32:48.528248Z", "updated_at":"2024-12-23T09:32:48.528248Z", + "image_count":0, "region":"fr-par"}], "total_count":20}' headers: Content-Length: - - "1179" + - "9942" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:23 GMT + - Mon, 23 Dec 2024 09:32:56 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -129,33 +355,39 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 761aa24c-593e-4c9d-b7bc-0fc8406ff63e + - 54b0fbee-f9bc-4818-8a90-59d2e4aa598d status: 200 OK code: 200 duration: "" - request: - body: '{"visibility":"public"}' + body: '{"id":"2d8149ff-2924-45b9-90e4-554315289d0d", "name":"visibility_public", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"public", "size":848871, "created_at":"2024-12-23T09:32:56.212645Z", + "updated_at":"2024-12-23T09:32:56.863317279Z", "tags":["latest"]}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/registry/v1/regions/fr-par/images/5edd2996-d00c-4d64-9629-e8ffe1c52ae1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test + url: https://api.scaleway.com/registry/v1/regions/fr-par/images/2d8149ff-2924-45b9-90e4-554315289d0d method: PATCH response: - body: '{"id":"5edd2996-d00c-4d64-9629-e8ffe1c52ae1","name":"visibility_public","namespace_id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","status":"ready","status_message":"","visibility":"public","size":0,"created_at":"2020-06-03T16:53:23.406431Z","updated_at":"2020-06-03T16:53:23.664552801Z","tags":["latest"]}' + body: '{"id":"2d8149ff-2924-45b9-90e4-554315289d0d", "name":"visibility_public", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"public", "size":848871, "created_at":"2024-12-23T09:32:56.212645Z", + "updated_at":"2024-12-23T09:32:56.863317279Z", "tags":["latest"]}' headers: Content-Length: - - "301" + - "315" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:23 GMT + - Mon, 23 Dec 2024 09:32:56 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -163,31 +395,37 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 519da688-656d-4abe-b0f6-8a81982aea5b + - 769b4622-a93b-4bd9-b45f-a638bf4321f3 status: 200 OK code: 200 duration: "" - request: - body: "" + body: '{"images":[{"id":"a59160cd-17ab-434f-9cc3-2e9be1bc7421", "name":"visibility_private", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"inherit", "size":826573, "created_at":"2024-12-23T09:33:04.318972Z", + "updated_at":"2024-12-23T09:33:04.853056Z", "tags":["latest"]}], "total_count":1}' form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test url: https://api.scaleway.com/registry/v1/regions/fr-par/images?name=visibility_private&order_by=created_at_asc&page=1 method: GET response: - body: '{"images":[{"id":"16db06c2-2908-4a97-8dfa-35e1c7fa00ca","name":"visibility_private","namespace_id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","status":"ready","status_message":"","visibility":"inherit","size":0,"created_at":"2020-06-03T16:53:29.527984Z","updated_at":"2020-06-03T16:53:29.527984Z","tags":["latest"]}],"total_count":1}' + body: '{"images":[{"id":"a59160cd-17ab-434f-9cc3-2e9be1bc7421", "name":"visibility_private", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"inherit", "size":826573, "created_at":"2024-12-23T09:33:04.318972Z", + "updated_at":"2024-12-23T09:33:04.853056Z", "tags":["latest"]}], "total_count":1}' headers: Content-Length: - - "329" + - "344" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:29 GMT + - Mon, 23 Dec 2024 09:33:05 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -195,31 +433,231 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - db21622b-aaf0-45a9-8395-5898f3c5bbf8 + - a3733afa-beef-4c93-adcc-6a7b8da446a0 status: 200 OK code: 200 duration: "" - request: - body: "" + body: '{"namespaces":[{"id":"3803f8ff-bede-4a01-b4c7-0835fcf9361e", "name":"cli-public-namespace-7939799000782016162", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7939799000782016162", "is_public":true, + "size":0, "created_at":"2024-12-23T09:15:11.455785Z", "updated_at":"2024-12-23T09:15:11.455785Z", + "image_count":0, "region":"fr-par"}, {"id":"7f7c1a42-1319-41a8-b8d6-22c1395ecbfd", + "name":"cli-private-namespace-17241109529365830947", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17241109529365830947", + "is_public":false, "size":0, "created_at":"2024-12-23T09:15:11.622539Z", "updated_at":"2024-12-23T09:15:11.622539Z", + "image_count":0, "region":"fr-par"}, {"id":"626eb667-bbf7-46ee-9b41-3479c47d9251", + "name":"cli-public-namespace-893235992334772097", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-893235992334772097", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:15.990451Z", "updated_at":"2024-12-23T09:16:15.990451Z", + "image_count":0, "region":"fr-par"}, {"id":"654afd81-ad28-4d90-b05c-4cf5b5545f86", + "name":"cli-private-namespace-2098919150215436606", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-2098919150215436606", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:16.118909Z", "updated_at":"2024-12-23T09:16:16.118909Z", + "image_count":0, "region":"fr-par"}, {"id":"17ddedad-3b1c-4226-b019-55e08e9fbd5e", + "name":"cli-public-namespace-16473882534148688581", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-16473882534148688581", + "is_public":true, "size":0, "created_at":"2024-12-23T09:16:35.461866Z", "updated_at":"2024-12-23T09:16:35.461866Z", + "image_count":0, "region":"fr-par"}, {"id":"d4a9385b-3b09-40c8-8379-bc7dc7319550", + "name":"cli-private-namespace-1983047767360990524", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-1983047767360990524", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:35.577828Z", "updated_at":"2024-12-23T09:16:35.577828Z", + "image_count":0, "region":"fr-par"}, {"id":"e77b908c-b8c3-4654-991f-304c9265141f", + "name":"cli-public-namespace-7890496127073292675", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7890496127073292675", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:52.705622Z", "updated_at":"2024-12-23T09:16:52.705622Z", + "image_count":0, "region":"fr-par"}, {"id":"df286dbc-ff92-47a2-99bc-716d10655fbd", + "name":"cli-private-namespace-8115662929909885246", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8115662929909885246", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:52.846735Z", "updated_at":"2024-12-23T09:16:52.846735Z", + "image_count":0, "region":"fr-par"}, {"id":"12a64759-bd69-4b44-9bf2-cadb1b05ecae", + "name":"cli-public-namespace-13885717329464517262", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-13885717329464517262", + "is_public":true, "size":0, "created_at":"2024-12-23T09:17:29.670441Z", "updated_at":"2024-12-23T09:17:29.670441Z", + "image_count":0, "region":"fr-par"}, {"id":"947e1cd4-e6a1-4676-a28a-3ca385aa08fa", + "name":"cli-private-namespace-15380825806382233430", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15380825806382233430", + "is_public":false, "size":0, "created_at":"2024-12-23T09:17:29.785005Z", "updated_at":"2024-12-23T09:17:29.785005Z", + "image_count":0, "region":"fr-par"}, {"id":"32a8e346-c689-43b0-ab4c-6bb45531b17b", + "name":"cli-public-namespace-404611571659832400", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-404611571659832400", "is_public":true, + "size":0, "created_at":"2024-12-23T09:19:26.039289Z", "updated_at":"2024-12-23T09:19:26.039289Z", + "image_count":0, "region":"fr-par"}, {"id":"3201e6bb-6def-40f9-b053-dd13bd4fec4d", + "name":"cli-private-namespace-18011672248641714332", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-18011672248641714332", + "is_public":false, "size":0, "created_at":"2024-12-23T09:19:26.173731Z", "updated_at":"2024-12-23T09:19:26.173731Z", + "image_count":0, "region":"fr-par"}, {"id":"833fbd64-58f3-480c-8a9d-9b8f90e9e9c0", + "name":"cli-public-namespace-11379894662406056841", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-11379894662406056841", + "is_public":true, "size":0, "created_at":"2024-12-23T09:20:21.816840Z", "updated_at":"2024-12-23T09:20:21.816840Z", + "image_count":0, "region":"fr-par"}, {"id":"43e4c648-b377-40ad-be03-1e6a2714baf1", + "name":"cli-private-namespace-8869400768078969395", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8869400768078969395", + "is_public":false, "size":0, "created_at":"2024-12-23T09:20:21.965388Z", "updated_at":"2024-12-23T09:20:21.965388Z", + "image_count":0, "region":"fr-par"}, {"id":"4b0c26db-fd1d-4c7d-a065-18d4d82ff3df", + "name":"cli-public-namespace-7307228644657219749", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7307228644657219749", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:16.091790Z", "updated_at":"2024-12-23T09:21:16.091790Z", + "image_count":0, "region":"fr-par"}, {"id":"2566ded6-8c48-4c17-82c8-11c35f3f6d35", + "name":"cli-private-namespace-17034149517499994654", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17034149517499994654", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:16.226534Z", "updated_at":"2024-12-23T09:21:16.226534Z", + "image_count":0, "region":"fr-par"}, {"id":"f1af0337-94a9-4614-855f-5355c02a319d", + "name":"cli-public-namespace-2309305523627284095", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-2309305523627284095", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:45.787137Z", "updated_at":"2024-12-23T09:21:45.787137Z", + "image_count":0, "region":"fr-par"}, {"id":"f638bfbd-9915-4937-894f-5d86e73fc0f8", + "name":"cli-private-namespace-17185252734039414340", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17185252734039414340", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:45.911944Z", "updated_at":"2024-12-23T09:21:45.911944Z", + "image_count":0, "region":"fr-par"}, {"id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", + "name":"cli-public-namespace-1692550640656725191", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191", "is_public":true, + "size":1675444, "created_at":"2024-12-23T09:32:48.337044Z", "updated_at":"2024-12-23T09:33:04.861805Z", + "image_count":2, "region":"fr-par"}, {"id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "name":"cli-private-namespace-15460830706535999219", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219", + "is_public":false, "size":0, "created_at":"2024-12-23T09:32:48.528248Z", "updated_at":"2024-12-23T09:32:48.528248Z", + "image_count":0, "region":"fr-par"}], "total_count":20}' form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces?order_by=created_at_asc&page=1 method: GET response: - body: '{"namespaces":[{"id":"9c7ad6f7-326d-44e6-a920-aea196ac897e","name":"jquere01","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/jquere01","is_public":false,"size":2797541,"created_at":"2020-06-01T17:39:33.333350Z","updated_at":"2020-06-01T17:46:30.407834Z","image_count":1,"region":"fr-par"},{"id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","name":"cli-public-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/cli-public-namespace","is_public":true,"size":760455,"created_at":"2020-06-03T16:53:16.197893Z","updated_at":"2020-06-03T16:53:24.054842Z","image_count":2,"region":"fr-par"},{"id":"91665e85-422e-480c-921c-560d0f1b2184","name":"cli-private-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/cli-private-namespace","is_public":false,"size":0,"created_at":"2020-06-03T16:53:16.304460Z","updated_at":"2020-06-03T16:53:16.304460Z","image_count":0,"region":"fr-par"}],"total_count":3}' + body: '{"namespaces":[{"id":"3803f8ff-bede-4a01-b4c7-0835fcf9361e", "name":"cli-public-namespace-7939799000782016162", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7939799000782016162", "is_public":true, + "size":0, "created_at":"2024-12-23T09:15:11.455785Z", "updated_at":"2024-12-23T09:15:11.455785Z", + "image_count":0, "region":"fr-par"}, {"id":"7f7c1a42-1319-41a8-b8d6-22c1395ecbfd", + "name":"cli-private-namespace-17241109529365830947", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17241109529365830947", + "is_public":false, "size":0, "created_at":"2024-12-23T09:15:11.622539Z", "updated_at":"2024-12-23T09:15:11.622539Z", + "image_count":0, "region":"fr-par"}, {"id":"626eb667-bbf7-46ee-9b41-3479c47d9251", + "name":"cli-public-namespace-893235992334772097", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-893235992334772097", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:15.990451Z", "updated_at":"2024-12-23T09:16:15.990451Z", + "image_count":0, "region":"fr-par"}, {"id":"654afd81-ad28-4d90-b05c-4cf5b5545f86", + "name":"cli-private-namespace-2098919150215436606", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-2098919150215436606", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:16.118909Z", "updated_at":"2024-12-23T09:16:16.118909Z", + "image_count":0, "region":"fr-par"}, {"id":"17ddedad-3b1c-4226-b019-55e08e9fbd5e", + "name":"cli-public-namespace-16473882534148688581", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-16473882534148688581", + "is_public":true, "size":0, "created_at":"2024-12-23T09:16:35.461866Z", "updated_at":"2024-12-23T09:16:35.461866Z", + "image_count":0, "region":"fr-par"}, {"id":"d4a9385b-3b09-40c8-8379-bc7dc7319550", + "name":"cli-private-namespace-1983047767360990524", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-1983047767360990524", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:35.577828Z", "updated_at":"2024-12-23T09:16:35.577828Z", + "image_count":0, "region":"fr-par"}, {"id":"e77b908c-b8c3-4654-991f-304c9265141f", + "name":"cli-public-namespace-7890496127073292675", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7890496127073292675", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:52.705622Z", "updated_at":"2024-12-23T09:16:52.705622Z", + "image_count":0, "region":"fr-par"}, {"id":"df286dbc-ff92-47a2-99bc-716d10655fbd", + "name":"cli-private-namespace-8115662929909885246", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8115662929909885246", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:52.846735Z", "updated_at":"2024-12-23T09:16:52.846735Z", + "image_count":0, "region":"fr-par"}, {"id":"12a64759-bd69-4b44-9bf2-cadb1b05ecae", + "name":"cli-public-namespace-13885717329464517262", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-13885717329464517262", + "is_public":true, "size":0, "created_at":"2024-12-23T09:17:29.670441Z", "updated_at":"2024-12-23T09:17:29.670441Z", + "image_count":0, "region":"fr-par"}, {"id":"947e1cd4-e6a1-4676-a28a-3ca385aa08fa", + "name":"cli-private-namespace-15380825806382233430", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15380825806382233430", + "is_public":false, "size":0, "created_at":"2024-12-23T09:17:29.785005Z", "updated_at":"2024-12-23T09:17:29.785005Z", + "image_count":0, "region":"fr-par"}, {"id":"32a8e346-c689-43b0-ab4c-6bb45531b17b", + "name":"cli-public-namespace-404611571659832400", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-404611571659832400", "is_public":true, + "size":0, "created_at":"2024-12-23T09:19:26.039289Z", "updated_at":"2024-12-23T09:19:26.039289Z", + "image_count":0, "region":"fr-par"}, {"id":"3201e6bb-6def-40f9-b053-dd13bd4fec4d", + "name":"cli-private-namespace-18011672248641714332", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-18011672248641714332", + "is_public":false, "size":0, "created_at":"2024-12-23T09:19:26.173731Z", "updated_at":"2024-12-23T09:19:26.173731Z", + "image_count":0, "region":"fr-par"}, {"id":"833fbd64-58f3-480c-8a9d-9b8f90e9e9c0", + "name":"cli-public-namespace-11379894662406056841", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-11379894662406056841", + "is_public":true, "size":0, "created_at":"2024-12-23T09:20:21.816840Z", "updated_at":"2024-12-23T09:20:21.816840Z", + "image_count":0, "region":"fr-par"}, {"id":"43e4c648-b377-40ad-be03-1e6a2714baf1", + "name":"cli-private-namespace-8869400768078969395", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8869400768078969395", + "is_public":false, "size":0, "created_at":"2024-12-23T09:20:21.965388Z", "updated_at":"2024-12-23T09:20:21.965388Z", + "image_count":0, "region":"fr-par"}, {"id":"4b0c26db-fd1d-4c7d-a065-18d4d82ff3df", + "name":"cli-public-namespace-7307228644657219749", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7307228644657219749", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:16.091790Z", "updated_at":"2024-12-23T09:21:16.091790Z", + "image_count":0, "region":"fr-par"}, {"id":"2566ded6-8c48-4c17-82c8-11c35f3f6d35", + "name":"cli-private-namespace-17034149517499994654", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17034149517499994654", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:16.226534Z", "updated_at":"2024-12-23T09:21:16.226534Z", + "image_count":0, "region":"fr-par"}, {"id":"f1af0337-94a9-4614-855f-5355c02a319d", + "name":"cli-public-namespace-2309305523627284095", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-2309305523627284095", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:45.787137Z", "updated_at":"2024-12-23T09:21:45.787137Z", + "image_count":0, "region":"fr-par"}, {"id":"f638bfbd-9915-4937-894f-5d86e73fc0f8", + "name":"cli-private-namespace-17185252734039414340", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17185252734039414340", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:45.911944Z", "updated_at":"2024-12-23T09:21:45.911944Z", + "image_count":0, "region":"fr-par"}, {"id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", + "name":"cli-public-namespace-1692550640656725191", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191", "is_public":true, + "size":1675444, "created_at":"2024-12-23T09:32:48.337044Z", "updated_at":"2024-12-23T09:33:04.861805Z", + "image_count":2, "region":"fr-par"}, {"id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "name":"cli-private-namespace-15460830706535999219", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219", + "is_public":false, "size":0, "created_at":"2024-12-23T09:32:48.528248Z", "updated_at":"2024-12-23T09:32:48.528248Z", + "image_count":0, "region":"fr-par"}], "total_count":20}' headers: Content-Length: - - "1184" + - "9943" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:29 GMT + - Mon, 23 Dec 2024 09:33:05 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -227,33 +665,39 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d7e8dcc9-1df5-4aa2-9839-eae0b833c8c1 + - bf1f0ea3-fb49-4c27-b9b7-86766c02418c status: 200 OK code: 200 duration: "" - request: - body: '{"visibility":"private"}' + body: '{"id":"a59160cd-17ab-434f-9cc3-2e9be1bc7421", "name":"visibility_private", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"private", "size":826573, "created_at":"2024-12-23T09:33:04.318972Z", + "updated_at":"2024-12-23T09:33:05.177427699Z", "tags":["latest"]}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/registry/v1/regions/fr-par/images/16db06c2-2908-4a97-8dfa-35e1c7fa00ca + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test + url: https://api.scaleway.com/registry/v1/regions/fr-par/images/a59160cd-17ab-434f-9cc3-2e9be1bc7421 method: PATCH response: - body: '{"id":"16db06c2-2908-4a97-8dfa-35e1c7fa00ca","name":"visibility_private","namespace_id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","status":"ready","status_message":"","visibility":"private","size":0,"created_at":"2020-06-03T16:53:29.527984Z","updated_at":"2020-06-03T16:53:29.813090759Z","tags":["latest"]}' + body: '{"id":"a59160cd-17ab-434f-9cc3-2e9be1bc7421", "name":"visibility_private", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"private", "size":826573, "created_at":"2024-12-23T09:33:04.318972Z", + "updated_at":"2024-12-23T09:33:05.177427699Z", "tags":["latest"]}' headers: Content-Length: - - "303" + - "317" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:29 GMT + - Mon, 23 Dec 2024 09:33:05 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -261,31 +705,37 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a39b23c1-33e2-4b48-9f46-c51de73ae4cb + - 001cb6a2-c7fe-4f94-a0fb-639b520bb6ea status: 200 OK code: 200 duration: "" - request: - body: "" + body: '{"images":[{"id":"1b47179b-f83a-48ef-9053-0d552835b515", "name":"visibility_inherit", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"inherit", "size":781920, "created_at":"2024-12-23T09:33:13.266758Z", + "updated_at":"2024-12-23T09:33:13.790147Z", "tags":["latest"]}], "total_count":1}' form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test url: https://api.scaleway.com/registry/v1/regions/fr-par/images?name=visibility_inherit&order_by=created_at_asc&page=1 method: GET response: - body: '{"images":[{"id":"d7982e5f-bd5d-447e-89b6-7bfff824314b","name":"visibility_inherit","namespace_id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","status":"ready","status_message":"","visibility":"inherit","size":0,"created_at":"2020-06-03T16:53:34.012944Z","updated_at":"2020-06-03T16:53:34.012944Z","tags":["latest"]}],"total_count":1}' + body: '{"images":[{"id":"1b47179b-f83a-48ef-9053-0d552835b515", "name":"visibility_inherit", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"inherit", "size":781920, "created_at":"2024-12-23T09:33:13.266758Z", + "updated_at":"2024-12-23T09:33:13.790147Z", "tags":["latest"]}], "total_count":1}' headers: Content-Length: - - "329" + - "344" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:34 GMT + - Mon, 23 Dec 2024 09:33:13 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -293,31 +743,231 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 11e4be8a-fa8c-4372-9116-f3be49c548cc + - 3d46435c-89be-448a-bfac-bec02968599f status: 200 OK code: 200 duration: "" - request: - body: "" + body: '{"namespaces":[{"id":"3803f8ff-bede-4a01-b4c7-0835fcf9361e", "name":"cli-public-namespace-7939799000782016162", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7939799000782016162", "is_public":true, + "size":0, "created_at":"2024-12-23T09:15:11.455785Z", "updated_at":"2024-12-23T09:15:11.455785Z", + "image_count":0, "region":"fr-par"}, {"id":"7f7c1a42-1319-41a8-b8d6-22c1395ecbfd", + "name":"cli-private-namespace-17241109529365830947", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17241109529365830947", + "is_public":false, "size":0, "created_at":"2024-12-23T09:15:11.622539Z", "updated_at":"2024-12-23T09:15:11.622539Z", + "image_count":0, "region":"fr-par"}, {"id":"626eb667-bbf7-46ee-9b41-3479c47d9251", + "name":"cli-public-namespace-893235992334772097", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-893235992334772097", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:15.990451Z", "updated_at":"2024-12-23T09:16:15.990451Z", + "image_count":0, "region":"fr-par"}, {"id":"654afd81-ad28-4d90-b05c-4cf5b5545f86", + "name":"cli-private-namespace-2098919150215436606", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-2098919150215436606", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:16.118909Z", "updated_at":"2024-12-23T09:16:16.118909Z", + "image_count":0, "region":"fr-par"}, {"id":"17ddedad-3b1c-4226-b019-55e08e9fbd5e", + "name":"cli-public-namespace-16473882534148688581", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-16473882534148688581", + "is_public":true, "size":0, "created_at":"2024-12-23T09:16:35.461866Z", "updated_at":"2024-12-23T09:16:35.461866Z", + "image_count":0, "region":"fr-par"}, {"id":"d4a9385b-3b09-40c8-8379-bc7dc7319550", + "name":"cli-private-namespace-1983047767360990524", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-1983047767360990524", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:35.577828Z", "updated_at":"2024-12-23T09:16:35.577828Z", + "image_count":0, "region":"fr-par"}, {"id":"e77b908c-b8c3-4654-991f-304c9265141f", + "name":"cli-public-namespace-7890496127073292675", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7890496127073292675", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:52.705622Z", "updated_at":"2024-12-23T09:16:52.705622Z", + "image_count":0, "region":"fr-par"}, {"id":"df286dbc-ff92-47a2-99bc-716d10655fbd", + "name":"cli-private-namespace-8115662929909885246", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8115662929909885246", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:52.846735Z", "updated_at":"2024-12-23T09:16:52.846735Z", + "image_count":0, "region":"fr-par"}, {"id":"12a64759-bd69-4b44-9bf2-cadb1b05ecae", + "name":"cli-public-namespace-13885717329464517262", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-13885717329464517262", + "is_public":true, "size":0, "created_at":"2024-12-23T09:17:29.670441Z", "updated_at":"2024-12-23T09:17:29.670441Z", + "image_count":0, "region":"fr-par"}, {"id":"947e1cd4-e6a1-4676-a28a-3ca385aa08fa", + "name":"cli-private-namespace-15380825806382233430", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15380825806382233430", + "is_public":false, "size":0, "created_at":"2024-12-23T09:17:29.785005Z", "updated_at":"2024-12-23T09:17:29.785005Z", + "image_count":0, "region":"fr-par"}, {"id":"32a8e346-c689-43b0-ab4c-6bb45531b17b", + "name":"cli-public-namespace-404611571659832400", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-404611571659832400", "is_public":true, + "size":0, "created_at":"2024-12-23T09:19:26.039289Z", "updated_at":"2024-12-23T09:19:26.039289Z", + "image_count":0, "region":"fr-par"}, {"id":"3201e6bb-6def-40f9-b053-dd13bd4fec4d", + "name":"cli-private-namespace-18011672248641714332", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-18011672248641714332", + "is_public":false, "size":0, "created_at":"2024-12-23T09:19:26.173731Z", "updated_at":"2024-12-23T09:19:26.173731Z", + "image_count":0, "region":"fr-par"}, {"id":"833fbd64-58f3-480c-8a9d-9b8f90e9e9c0", + "name":"cli-public-namespace-11379894662406056841", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-11379894662406056841", + "is_public":true, "size":0, "created_at":"2024-12-23T09:20:21.816840Z", "updated_at":"2024-12-23T09:20:21.816840Z", + "image_count":0, "region":"fr-par"}, {"id":"43e4c648-b377-40ad-be03-1e6a2714baf1", + "name":"cli-private-namespace-8869400768078969395", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8869400768078969395", + "is_public":false, "size":0, "created_at":"2024-12-23T09:20:21.965388Z", "updated_at":"2024-12-23T09:20:21.965388Z", + "image_count":0, "region":"fr-par"}, {"id":"4b0c26db-fd1d-4c7d-a065-18d4d82ff3df", + "name":"cli-public-namespace-7307228644657219749", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7307228644657219749", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:16.091790Z", "updated_at":"2024-12-23T09:21:16.091790Z", + "image_count":0, "region":"fr-par"}, {"id":"2566ded6-8c48-4c17-82c8-11c35f3f6d35", + "name":"cli-private-namespace-17034149517499994654", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17034149517499994654", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:16.226534Z", "updated_at":"2024-12-23T09:21:16.226534Z", + "image_count":0, "region":"fr-par"}, {"id":"f1af0337-94a9-4614-855f-5355c02a319d", + "name":"cli-public-namespace-2309305523627284095", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-2309305523627284095", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:45.787137Z", "updated_at":"2024-12-23T09:21:45.787137Z", + "image_count":0, "region":"fr-par"}, {"id":"f638bfbd-9915-4937-894f-5d86e73fc0f8", + "name":"cli-private-namespace-17185252734039414340", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17185252734039414340", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:45.911944Z", "updated_at":"2024-12-23T09:21:45.911944Z", + "image_count":0, "region":"fr-par"}, {"id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", + "name":"cli-public-namespace-1692550640656725191", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191", "is_public":true, + "size":2457364, "created_at":"2024-12-23T09:32:48.337044Z", "updated_at":"2024-12-23T09:33:13.801784Z", + "image_count":3, "region":"fr-par"}, {"id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "name":"cli-private-namespace-15460830706535999219", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219", + "is_public":false, "size":0, "created_at":"2024-12-23T09:32:48.528248Z", "updated_at":"2024-12-23T09:32:48.528248Z", + "image_count":0, "region":"fr-par"}], "total_count":20}' form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces?order_by=created_at_asc&page=1 method: GET response: - body: '{"namespaces":[{"id":"9c7ad6f7-326d-44e6-a920-aea196ac897e","name":"jquere01","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/jquere01","is_public":false,"size":2797541,"created_at":"2020-06-01T17:39:33.333350Z","updated_at":"2020-06-01T17:46:30.407834Z","image_count":1,"region":"fr-par"},{"id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","name":"cli-public-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/cli-public-namespace","is_public":true,"size":1516268,"created_at":"2020-06-03T16:53:16.197893Z","updated_at":"2020-06-03T16:53:30.110078Z","image_count":3,"region":"fr-par"},{"id":"91665e85-422e-480c-921c-560d0f1b2184","name":"cli-private-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/cli-private-namespace","is_public":false,"size":0,"created_at":"2020-06-03T16:53:16.304460Z","updated_at":"2020-06-03T16:53:16.304460Z","image_count":0,"region":"fr-par"}],"total_count":3}' + body: '{"namespaces":[{"id":"3803f8ff-bede-4a01-b4c7-0835fcf9361e", "name":"cli-public-namespace-7939799000782016162", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7939799000782016162", "is_public":true, + "size":0, "created_at":"2024-12-23T09:15:11.455785Z", "updated_at":"2024-12-23T09:15:11.455785Z", + "image_count":0, "region":"fr-par"}, {"id":"7f7c1a42-1319-41a8-b8d6-22c1395ecbfd", + "name":"cli-private-namespace-17241109529365830947", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17241109529365830947", + "is_public":false, "size":0, "created_at":"2024-12-23T09:15:11.622539Z", "updated_at":"2024-12-23T09:15:11.622539Z", + "image_count":0, "region":"fr-par"}, {"id":"626eb667-bbf7-46ee-9b41-3479c47d9251", + "name":"cli-public-namespace-893235992334772097", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-893235992334772097", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:15.990451Z", "updated_at":"2024-12-23T09:16:15.990451Z", + "image_count":0, "region":"fr-par"}, {"id":"654afd81-ad28-4d90-b05c-4cf5b5545f86", + "name":"cli-private-namespace-2098919150215436606", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-2098919150215436606", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:16.118909Z", "updated_at":"2024-12-23T09:16:16.118909Z", + "image_count":0, "region":"fr-par"}, {"id":"17ddedad-3b1c-4226-b019-55e08e9fbd5e", + "name":"cli-public-namespace-16473882534148688581", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-16473882534148688581", + "is_public":true, "size":0, "created_at":"2024-12-23T09:16:35.461866Z", "updated_at":"2024-12-23T09:16:35.461866Z", + "image_count":0, "region":"fr-par"}, {"id":"d4a9385b-3b09-40c8-8379-bc7dc7319550", + "name":"cli-private-namespace-1983047767360990524", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-1983047767360990524", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:35.577828Z", "updated_at":"2024-12-23T09:16:35.577828Z", + "image_count":0, "region":"fr-par"}, {"id":"e77b908c-b8c3-4654-991f-304c9265141f", + "name":"cli-public-namespace-7890496127073292675", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7890496127073292675", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:52.705622Z", "updated_at":"2024-12-23T09:16:52.705622Z", + "image_count":0, "region":"fr-par"}, {"id":"df286dbc-ff92-47a2-99bc-716d10655fbd", + "name":"cli-private-namespace-8115662929909885246", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8115662929909885246", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:52.846735Z", "updated_at":"2024-12-23T09:16:52.846735Z", + "image_count":0, "region":"fr-par"}, {"id":"12a64759-bd69-4b44-9bf2-cadb1b05ecae", + "name":"cli-public-namespace-13885717329464517262", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-13885717329464517262", + "is_public":true, "size":0, "created_at":"2024-12-23T09:17:29.670441Z", "updated_at":"2024-12-23T09:17:29.670441Z", + "image_count":0, "region":"fr-par"}, {"id":"947e1cd4-e6a1-4676-a28a-3ca385aa08fa", + "name":"cli-private-namespace-15380825806382233430", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15380825806382233430", + "is_public":false, "size":0, "created_at":"2024-12-23T09:17:29.785005Z", "updated_at":"2024-12-23T09:17:29.785005Z", + "image_count":0, "region":"fr-par"}, {"id":"32a8e346-c689-43b0-ab4c-6bb45531b17b", + "name":"cli-public-namespace-404611571659832400", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-404611571659832400", "is_public":true, + "size":0, "created_at":"2024-12-23T09:19:26.039289Z", "updated_at":"2024-12-23T09:19:26.039289Z", + "image_count":0, "region":"fr-par"}, {"id":"3201e6bb-6def-40f9-b053-dd13bd4fec4d", + "name":"cli-private-namespace-18011672248641714332", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-18011672248641714332", + "is_public":false, "size":0, "created_at":"2024-12-23T09:19:26.173731Z", "updated_at":"2024-12-23T09:19:26.173731Z", + "image_count":0, "region":"fr-par"}, {"id":"833fbd64-58f3-480c-8a9d-9b8f90e9e9c0", + "name":"cli-public-namespace-11379894662406056841", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-11379894662406056841", + "is_public":true, "size":0, "created_at":"2024-12-23T09:20:21.816840Z", "updated_at":"2024-12-23T09:20:21.816840Z", + "image_count":0, "region":"fr-par"}, {"id":"43e4c648-b377-40ad-be03-1e6a2714baf1", + "name":"cli-private-namespace-8869400768078969395", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8869400768078969395", + "is_public":false, "size":0, "created_at":"2024-12-23T09:20:21.965388Z", "updated_at":"2024-12-23T09:20:21.965388Z", + "image_count":0, "region":"fr-par"}, {"id":"4b0c26db-fd1d-4c7d-a065-18d4d82ff3df", + "name":"cli-public-namespace-7307228644657219749", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7307228644657219749", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:16.091790Z", "updated_at":"2024-12-23T09:21:16.091790Z", + "image_count":0, "region":"fr-par"}, {"id":"2566ded6-8c48-4c17-82c8-11c35f3f6d35", + "name":"cli-private-namespace-17034149517499994654", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17034149517499994654", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:16.226534Z", "updated_at":"2024-12-23T09:21:16.226534Z", + "image_count":0, "region":"fr-par"}, {"id":"f1af0337-94a9-4614-855f-5355c02a319d", + "name":"cli-public-namespace-2309305523627284095", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-2309305523627284095", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:45.787137Z", "updated_at":"2024-12-23T09:21:45.787137Z", + "image_count":0, "region":"fr-par"}, {"id":"f638bfbd-9915-4937-894f-5d86e73fc0f8", + "name":"cli-private-namespace-17185252734039414340", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17185252734039414340", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:45.911944Z", "updated_at":"2024-12-23T09:21:45.911944Z", + "image_count":0, "region":"fr-par"}, {"id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", + "name":"cli-public-namespace-1692550640656725191", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191", "is_public":true, + "size":2457364, "created_at":"2024-12-23T09:32:48.337044Z", "updated_at":"2024-12-23T09:33:13.801784Z", + "image_count":3, "region":"fr-par"}, {"id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "name":"cli-private-namespace-15460830706535999219", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219", + "is_public":false, "size":0, "created_at":"2024-12-23T09:32:48.528248Z", "updated_at":"2024-12-23T09:32:48.528248Z", + "image_count":0, "region":"fr-par"}], "total_count":20}' headers: Content-Length: - - "1185" + - "9943" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:34 GMT + - Mon, 23 Dec 2024 09:33:13 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -325,33 +975,39 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2fafcbf4-56e7-4105-86a3-d177fad54f06 + - f7c63060-07e9-4d3f-be69-30d2ba8700db status: 200 OK code: 200 duration: "" - request: - body: '{"visibility":"inherit"}' + body: '{"id":"1b47179b-f83a-48ef-9053-0d552835b515", "name":"visibility_inherit", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"inherit", "size":781920, "created_at":"2024-12-23T09:33:13.266758Z", + "updated_at":"2024-12-23T09:33:14.035166253Z", "tags":["latest"]}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/registry/v1/regions/fr-par/images/d7982e5f-bd5d-447e-89b6-7bfff824314b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test + url: https://api.scaleway.com/registry/v1/regions/fr-par/images/1b47179b-f83a-48ef-9053-0d552835b515 method: PATCH response: - body: '{"id":"d7982e5f-bd5d-447e-89b6-7bfff824314b","name":"visibility_inherit","namespace_id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","status":"ready","status_message":"","visibility":"inherit","size":0,"created_at":"2020-06-03T16:53:34.012944Z","updated_at":"2020-06-03T16:53:34.322696466Z","tags":["latest"]}' + body: '{"id":"1b47179b-f83a-48ef-9053-0d552835b515", "name":"visibility_inherit", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"inherit", "size":781920, "created_at":"2024-12-23T09:33:13.266758Z", + "updated_at":"2024-12-23T09:33:14.035166253Z", "tags":["latest"]}' headers: Content-Length: - - "303" + - "317" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:34 GMT + - Mon, 23 Dec 2024 09:33:14 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -359,31 +1015,45 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a9ce91a6-2370-4900-9d0c-5b0f64e3787c + - 0ef5406b-2f20-40b0-be8f-53a364b8872d status: 200 OK code: 200 duration: "" - request: - body: "" + body: '{"images":[{"id":"2d8149ff-2924-45b9-90e4-554315289d0d", "name":"visibility_public", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"public", "size":848871, "created_at":"2024-12-23T09:32:56.212645Z", + "updated_at":"2024-12-23T09:32:56.863317Z", "tags":["latest"]}, {"id":"3473aa94-af49-4894-baee-8a2989a4efe3", + "name":"visibility_public", "namespace_id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "status":"ready", "status_message":"", "visibility":"inherit", "size":774338, + "created_at":"2024-12-23T09:33:20.800303Z", "updated_at":"2024-12-23T09:33:20.984067Z", + "tags":["latest"]}], "total_count":2}' form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test url: https://api.scaleway.com/registry/v1/regions/fr-par/images?name=visibility_public&order_by=created_at_asc&page=1 method: GET response: - body: '{"images":[{"id":"5edd2996-d00c-4d64-9629-e8ffe1c52ae1","name":"visibility_public","namespace_id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","status":"ready","status_message":"","visibility":"public","size":760455,"created_at":"2020-06-03T16:53:23.406431Z","updated_at":"2020-06-03T16:53:24.026616Z","tags":["latest"]},{"id":"8b0f4705-78bf-4784-afe2-3cad5520410a","name":"visibility_public","namespace_id":"91665e85-422e-480c-921c-560d0f1b2184","status":"ready","status_message":"","visibility":"inherit","size":0,"created_at":"2020-06-03T16:53:38.465730Z","updated_at":"2020-06-03T16:53:38.465730Z","tags":["latest"]}],"total_count":2}' + body: '{"images":[{"id":"2d8149ff-2924-45b9-90e4-554315289d0d", "name":"visibility_public", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"public", "size":848871, "created_at":"2024-12-23T09:32:56.212645Z", + "updated_at":"2024-12-23T09:32:56.863317Z", "tags":["latest"]}, {"id":"3473aa94-af49-4894-baee-8a2989a4efe3", + "name":"visibility_public", "namespace_id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "status":"ready", "status_message":"", "visibility":"inherit", "size":774338, + "created_at":"2024-12-23T09:33:20.800303Z", "updated_at":"2024-12-23T09:33:20.984067Z", + "tags":["latest"]}], "total_count":2}' headers: Content-Length: - - "632" + - "657" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:38 GMT + - Mon, 23 Dec 2024 09:33:21 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -391,31 +1061,233 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5ac93d6f-8413-41e5-865b-8247794a5471 + - 1146e872-0e7b-4c33-9f95-f940ecb29eb0 status: 200 OK code: 200 duration: "" - request: - body: "" + body: '{"namespaces":[{"id":"3803f8ff-bede-4a01-b4c7-0835fcf9361e", "name":"cli-public-namespace-7939799000782016162", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7939799000782016162", "is_public":true, + "size":0, "created_at":"2024-12-23T09:15:11.455785Z", "updated_at":"2024-12-23T09:15:11.455785Z", + "image_count":0, "region":"fr-par"}, {"id":"7f7c1a42-1319-41a8-b8d6-22c1395ecbfd", + "name":"cli-private-namespace-17241109529365830947", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17241109529365830947", + "is_public":false, "size":0, "created_at":"2024-12-23T09:15:11.622539Z", "updated_at":"2024-12-23T09:15:11.622539Z", + "image_count":0, "region":"fr-par"}, {"id":"626eb667-bbf7-46ee-9b41-3479c47d9251", + "name":"cli-public-namespace-893235992334772097", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-893235992334772097", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:15.990451Z", "updated_at":"2024-12-23T09:16:15.990451Z", + "image_count":0, "region":"fr-par"}, {"id":"654afd81-ad28-4d90-b05c-4cf5b5545f86", + "name":"cli-private-namespace-2098919150215436606", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-2098919150215436606", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:16.118909Z", "updated_at":"2024-12-23T09:16:16.118909Z", + "image_count":0, "region":"fr-par"}, {"id":"17ddedad-3b1c-4226-b019-55e08e9fbd5e", + "name":"cli-public-namespace-16473882534148688581", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-16473882534148688581", + "is_public":true, "size":0, "created_at":"2024-12-23T09:16:35.461866Z", "updated_at":"2024-12-23T09:16:35.461866Z", + "image_count":0, "region":"fr-par"}, {"id":"d4a9385b-3b09-40c8-8379-bc7dc7319550", + "name":"cli-private-namespace-1983047767360990524", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-1983047767360990524", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:35.577828Z", "updated_at":"2024-12-23T09:16:35.577828Z", + "image_count":0, "region":"fr-par"}, {"id":"e77b908c-b8c3-4654-991f-304c9265141f", + "name":"cli-public-namespace-7890496127073292675", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7890496127073292675", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:52.705622Z", "updated_at":"2024-12-23T09:16:52.705622Z", + "image_count":0, "region":"fr-par"}, {"id":"df286dbc-ff92-47a2-99bc-716d10655fbd", + "name":"cli-private-namespace-8115662929909885246", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8115662929909885246", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:52.846735Z", "updated_at":"2024-12-23T09:16:52.846735Z", + "image_count":0, "region":"fr-par"}, {"id":"12a64759-bd69-4b44-9bf2-cadb1b05ecae", + "name":"cli-public-namespace-13885717329464517262", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-13885717329464517262", + "is_public":true, "size":0, "created_at":"2024-12-23T09:17:29.670441Z", "updated_at":"2024-12-23T09:17:29.670441Z", + "image_count":0, "region":"fr-par"}, {"id":"947e1cd4-e6a1-4676-a28a-3ca385aa08fa", + "name":"cli-private-namespace-15380825806382233430", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15380825806382233430", + "is_public":false, "size":0, "created_at":"2024-12-23T09:17:29.785005Z", "updated_at":"2024-12-23T09:17:29.785005Z", + "image_count":0, "region":"fr-par"}, {"id":"32a8e346-c689-43b0-ab4c-6bb45531b17b", + "name":"cli-public-namespace-404611571659832400", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-404611571659832400", "is_public":true, + "size":0, "created_at":"2024-12-23T09:19:26.039289Z", "updated_at":"2024-12-23T09:19:26.039289Z", + "image_count":0, "region":"fr-par"}, {"id":"3201e6bb-6def-40f9-b053-dd13bd4fec4d", + "name":"cli-private-namespace-18011672248641714332", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-18011672248641714332", + "is_public":false, "size":0, "created_at":"2024-12-23T09:19:26.173731Z", "updated_at":"2024-12-23T09:19:26.173731Z", + "image_count":0, "region":"fr-par"}, {"id":"833fbd64-58f3-480c-8a9d-9b8f90e9e9c0", + "name":"cli-public-namespace-11379894662406056841", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-11379894662406056841", + "is_public":true, "size":0, "created_at":"2024-12-23T09:20:21.816840Z", "updated_at":"2024-12-23T09:20:21.816840Z", + "image_count":0, "region":"fr-par"}, {"id":"43e4c648-b377-40ad-be03-1e6a2714baf1", + "name":"cli-private-namespace-8869400768078969395", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8869400768078969395", + "is_public":false, "size":0, "created_at":"2024-12-23T09:20:21.965388Z", "updated_at":"2024-12-23T09:20:21.965388Z", + "image_count":0, "region":"fr-par"}, {"id":"4b0c26db-fd1d-4c7d-a065-18d4d82ff3df", + "name":"cli-public-namespace-7307228644657219749", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7307228644657219749", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:16.091790Z", "updated_at":"2024-12-23T09:21:16.091790Z", + "image_count":0, "region":"fr-par"}, {"id":"2566ded6-8c48-4c17-82c8-11c35f3f6d35", + "name":"cli-private-namespace-17034149517499994654", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17034149517499994654", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:16.226534Z", "updated_at":"2024-12-23T09:21:16.226534Z", + "image_count":0, "region":"fr-par"}, {"id":"f1af0337-94a9-4614-855f-5355c02a319d", + "name":"cli-public-namespace-2309305523627284095", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-2309305523627284095", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:45.787137Z", "updated_at":"2024-12-23T09:21:45.787137Z", + "image_count":0, "region":"fr-par"}, {"id":"f638bfbd-9915-4937-894f-5d86e73fc0f8", + "name":"cli-private-namespace-17185252734039414340", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17185252734039414340", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:45.911944Z", "updated_at":"2024-12-23T09:21:45.911944Z", + "image_count":0, "region":"fr-par"}, {"id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", + "name":"cli-public-namespace-1692550640656725191", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191", "is_public":true, + "size":2457364, "created_at":"2024-12-23T09:32:48.337044Z", "updated_at":"2024-12-23T09:33:13.801784Z", + "image_count":3, "region":"fr-par"}, {"id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "name":"cli-private-namespace-15460830706535999219", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219", + "is_public":false, "size":774338, "created_at":"2024-12-23T09:32:48.528248Z", + "updated_at":"2024-12-23T09:33:20.995689Z", "image_count":1, "region":"fr-par"}], + "total_count":20}' form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces?order_by=created_at_asc&page=1 method: GET response: - body: '{"namespaces":[{"id":"9c7ad6f7-326d-44e6-a920-aea196ac897e","name":"jquere01","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/jquere01","is_public":false,"size":2797541,"created_at":"2020-06-01T17:39:33.333350Z","updated_at":"2020-06-01T17:46:30.407834Z","image_count":1,"region":"fr-par"},{"id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","name":"cli-public-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/cli-public-namespace","is_public":true,"size":2244230,"created_at":"2020-06-03T16:53:16.197893Z","updated_at":"2020-06-03T16:53:34.617177Z","image_count":3,"region":"fr-par"},{"id":"91665e85-422e-480c-921c-560d0f1b2184","name":"cli-private-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/cli-private-namespace","is_public":false,"size":0,"created_at":"2020-06-03T16:53:16.304460Z","updated_at":"2020-06-03T16:53:16.304460Z","image_count":1,"region":"fr-par"}],"total_count":3}' + body: '{"namespaces":[{"id":"3803f8ff-bede-4a01-b4c7-0835fcf9361e", "name":"cli-public-namespace-7939799000782016162", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7939799000782016162", "is_public":true, + "size":0, "created_at":"2024-12-23T09:15:11.455785Z", "updated_at":"2024-12-23T09:15:11.455785Z", + "image_count":0, "region":"fr-par"}, {"id":"7f7c1a42-1319-41a8-b8d6-22c1395ecbfd", + "name":"cli-private-namespace-17241109529365830947", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17241109529365830947", + "is_public":false, "size":0, "created_at":"2024-12-23T09:15:11.622539Z", "updated_at":"2024-12-23T09:15:11.622539Z", + "image_count":0, "region":"fr-par"}, {"id":"626eb667-bbf7-46ee-9b41-3479c47d9251", + "name":"cli-public-namespace-893235992334772097", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-893235992334772097", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:15.990451Z", "updated_at":"2024-12-23T09:16:15.990451Z", + "image_count":0, "region":"fr-par"}, {"id":"654afd81-ad28-4d90-b05c-4cf5b5545f86", + "name":"cli-private-namespace-2098919150215436606", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-2098919150215436606", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:16.118909Z", "updated_at":"2024-12-23T09:16:16.118909Z", + "image_count":0, "region":"fr-par"}, {"id":"17ddedad-3b1c-4226-b019-55e08e9fbd5e", + "name":"cli-public-namespace-16473882534148688581", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-16473882534148688581", + "is_public":true, "size":0, "created_at":"2024-12-23T09:16:35.461866Z", "updated_at":"2024-12-23T09:16:35.461866Z", + "image_count":0, "region":"fr-par"}, {"id":"d4a9385b-3b09-40c8-8379-bc7dc7319550", + "name":"cli-private-namespace-1983047767360990524", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-1983047767360990524", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:35.577828Z", "updated_at":"2024-12-23T09:16:35.577828Z", + "image_count":0, "region":"fr-par"}, {"id":"e77b908c-b8c3-4654-991f-304c9265141f", + "name":"cli-public-namespace-7890496127073292675", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7890496127073292675", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:52.705622Z", "updated_at":"2024-12-23T09:16:52.705622Z", + "image_count":0, "region":"fr-par"}, {"id":"df286dbc-ff92-47a2-99bc-716d10655fbd", + "name":"cli-private-namespace-8115662929909885246", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8115662929909885246", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:52.846735Z", "updated_at":"2024-12-23T09:16:52.846735Z", + "image_count":0, "region":"fr-par"}, {"id":"12a64759-bd69-4b44-9bf2-cadb1b05ecae", + "name":"cli-public-namespace-13885717329464517262", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-13885717329464517262", + "is_public":true, "size":0, "created_at":"2024-12-23T09:17:29.670441Z", "updated_at":"2024-12-23T09:17:29.670441Z", + "image_count":0, "region":"fr-par"}, {"id":"947e1cd4-e6a1-4676-a28a-3ca385aa08fa", + "name":"cli-private-namespace-15380825806382233430", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15380825806382233430", + "is_public":false, "size":0, "created_at":"2024-12-23T09:17:29.785005Z", "updated_at":"2024-12-23T09:17:29.785005Z", + "image_count":0, "region":"fr-par"}, {"id":"32a8e346-c689-43b0-ab4c-6bb45531b17b", + "name":"cli-public-namespace-404611571659832400", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-404611571659832400", "is_public":true, + "size":0, "created_at":"2024-12-23T09:19:26.039289Z", "updated_at":"2024-12-23T09:19:26.039289Z", + "image_count":0, "region":"fr-par"}, {"id":"3201e6bb-6def-40f9-b053-dd13bd4fec4d", + "name":"cli-private-namespace-18011672248641714332", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-18011672248641714332", + "is_public":false, "size":0, "created_at":"2024-12-23T09:19:26.173731Z", "updated_at":"2024-12-23T09:19:26.173731Z", + "image_count":0, "region":"fr-par"}, {"id":"833fbd64-58f3-480c-8a9d-9b8f90e9e9c0", + "name":"cli-public-namespace-11379894662406056841", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-11379894662406056841", + "is_public":true, "size":0, "created_at":"2024-12-23T09:20:21.816840Z", "updated_at":"2024-12-23T09:20:21.816840Z", + "image_count":0, "region":"fr-par"}, {"id":"43e4c648-b377-40ad-be03-1e6a2714baf1", + "name":"cli-private-namespace-8869400768078969395", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8869400768078969395", + "is_public":false, "size":0, "created_at":"2024-12-23T09:20:21.965388Z", "updated_at":"2024-12-23T09:20:21.965388Z", + "image_count":0, "region":"fr-par"}, {"id":"4b0c26db-fd1d-4c7d-a065-18d4d82ff3df", + "name":"cli-public-namespace-7307228644657219749", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7307228644657219749", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:16.091790Z", "updated_at":"2024-12-23T09:21:16.091790Z", + "image_count":0, "region":"fr-par"}, {"id":"2566ded6-8c48-4c17-82c8-11c35f3f6d35", + "name":"cli-private-namespace-17034149517499994654", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17034149517499994654", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:16.226534Z", "updated_at":"2024-12-23T09:21:16.226534Z", + "image_count":0, "region":"fr-par"}, {"id":"f1af0337-94a9-4614-855f-5355c02a319d", + "name":"cli-public-namespace-2309305523627284095", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-2309305523627284095", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:45.787137Z", "updated_at":"2024-12-23T09:21:45.787137Z", + "image_count":0, "region":"fr-par"}, {"id":"f638bfbd-9915-4937-894f-5d86e73fc0f8", + "name":"cli-private-namespace-17185252734039414340", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17185252734039414340", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:45.911944Z", "updated_at":"2024-12-23T09:21:45.911944Z", + "image_count":0, "region":"fr-par"}, {"id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", + "name":"cli-public-namespace-1692550640656725191", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191", "is_public":true, + "size":2457364, "created_at":"2024-12-23T09:32:48.337044Z", "updated_at":"2024-12-23T09:33:13.801784Z", + "image_count":3, "region":"fr-par"}, {"id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "name":"cli-private-namespace-15460830706535999219", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219", + "is_public":false, "size":774338, "created_at":"2024-12-23T09:32:48.528248Z", + "updated_at":"2024-12-23T09:33:20.995689Z", "image_count":1, "region":"fr-par"}], + "total_count":20}' headers: Content-Length: - - "1185" + - "9948" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:38 GMT + - Mon, 23 Dec 2024 09:33:21 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -423,33 +1295,39 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9d82526e-6842-4a0f-a287-e2a674dda085 + - 427e10f3-d5b8-455e-a5e0-a98e8925b44b status: 200 OK code: 200 duration: "" - request: - body: '{"visibility":"public"}' + body: '{"id":"2d8149ff-2924-45b9-90e4-554315289d0d", "name":"visibility_public", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"public", "size":848871, "created_at":"2024-12-23T09:32:56.212645Z", + "updated_at":"2024-12-23T09:33:21.318033777Z", "tags":["latest"]}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/registry/v1/regions/fr-par/images/5edd2996-d00c-4d64-9629-e8ffe1c52ae1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test + url: https://api.scaleway.com/registry/v1/regions/fr-par/images/2d8149ff-2924-45b9-90e4-554315289d0d method: PATCH response: - body: '{"id":"5edd2996-d00c-4d64-9629-e8ffe1c52ae1","name":"visibility_public","namespace_id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","status":"ready","status_message":"","visibility":"public","size":760455,"created_at":"2020-06-03T16:53:23.406431Z","updated_at":"2020-06-03T16:53:38.774673972Z","tags":["latest"]}' + body: '{"id":"2d8149ff-2924-45b9-90e4-554315289d0d", "name":"visibility_public", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"public", "size":848871, "created_at":"2024-12-23T09:32:56.212645Z", + "updated_at":"2024-12-23T09:33:21.318033777Z", "tags":["latest"]}' headers: Content-Length: - - "306" + - "315" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:38 GMT + - Mon, 23 Dec 2024 09:33:21 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -457,31 +1335,45 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7f792cae-a4f7-4303-85be-6f772a67e3b1 + - 6e484990-6f25-4552-be5a-d37386c5703d status: 200 OK code: 200 duration: "" - request: - body: "" + body: '{"images":[{"id":"a59160cd-17ab-434f-9cc3-2e9be1bc7421", "name":"visibility_private", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"private", "size":826573, "created_at":"2024-12-23T09:33:04.318972Z", + "updated_at":"2024-12-23T09:33:05.177428Z", "tags":["latest"]}, {"id":"0503b229-8e2c-4637-92ed-265a0e300abb", + "name":"visibility_private", "namespace_id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "status":"ready", "status_message":"", "visibility":"inherit", "size":772733, + "created_at":"2024-12-23T09:33:38.125234Z", "updated_at":"2024-12-23T09:33:38.614045Z", + "tags":["latest"]}], "total_count":2}' form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test url: https://api.scaleway.com/registry/v1/regions/fr-par/images?name=visibility_private&order_by=created_at_asc&page=1 method: GET response: - body: '{"images":[{"id":"16db06c2-2908-4a97-8dfa-35e1c7fa00ca","name":"visibility_private","namespace_id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","status":"ready","status_message":"","visibility":"private","size":755813,"created_at":"2020-06-03T16:53:29.527984Z","updated_at":"2020-06-03T16:53:30.082349Z","tags":["latest"]},{"id":"fe9f6354-b407-4fba-a5a0-82b9303e33c7","name":"visibility_private","namespace_id":"91665e85-422e-480c-921c-560d0f1b2184","status":"ready","status_message":"","visibility":"inherit","size":0,"created_at":"2020-06-03T16:53:43.156790Z","updated_at":"2020-06-03T16:53:43.156790Z","tags":["latest"]}],"total_count":2}' + body: '{"images":[{"id":"a59160cd-17ab-434f-9cc3-2e9be1bc7421", "name":"visibility_private", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"private", "size":826573, "created_at":"2024-12-23T09:33:04.318972Z", + "updated_at":"2024-12-23T09:33:05.177428Z", "tags":["latest"]}, {"id":"0503b229-8e2c-4637-92ed-265a0e300abb", + "name":"visibility_private", "namespace_id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "status":"ready", "status_message":"", "visibility":"inherit", "size":772733, + "created_at":"2024-12-23T09:33:38.125234Z", "updated_at":"2024-12-23T09:33:38.614045Z", + "tags":["latest"]}], "total_count":2}' headers: Content-Length: - - "635" + - "660" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:43 GMT + - Mon, 23 Dec 2024 09:33:38 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -489,31 +1381,233 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 86aa1285-02aa-496e-9683-5c6b93c26253 + - 39fe14ff-9c2d-423f-a4c3-a6d060a808b8 status: 200 OK code: 200 duration: "" - request: - body: "" + body: '{"namespaces":[{"id":"3803f8ff-bede-4a01-b4c7-0835fcf9361e", "name":"cli-public-namespace-7939799000782016162", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7939799000782016162", "is_public":true, + "size":0, "created_at":"2024-12-23T09:15:11.455785Z", "updated_at":"2024-12-23T09:15:11.455785Z", + "image_count":0, "region":"fr-par"}, {"id":"7f7c1a42-1319-41a8-b8d6-22c1395ecbfd", + "name":"cli-private-namespace-17241109529365830947", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17241109529365830947", + "is_public":false, "size":0, "created_at":"2024-12-23T09:15:11.622539Z", "updated_at":"2024-12-23T09:15:11.622539Z", + "image_count":0, "region":"fr-par"}, {"id":"626eb667-bbf7-46ee-9b41-3479c47d9251", + "name":"cli-public-namespace-893235992334772097", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-893235992334772097", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:15.990451Z", "updated_at":"2024-12-23T09:16:15.990451Z", + "image_count":0, "region":"fr-par"}, {"id":"654afd81-ad28-4d90-b05c-4cf5b5545f86", + "name":"cli-private-namespace-2098919150215436606", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-2098919150215436606", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:16.118909Z", "updated_at":"2024-12-23T09:16:16.118909Z", + "image_count":0, "region":"fr-par"}, {"id":"17ddedad-3b1c-4226-b019-55e08e9fbd5e", + "name":"cli-public-namespace-16473882534148688581", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-16473882534148688581", + "is_public":true, "size":0, "created_at":"2024-12-23T09:16:35.461866Z", "updated_at":"2024-12-23T09:16:35.461866Z", + "image_count":0, "region":"fr-par"}, {"id":"d4a9385b-3b09-40c8-8379-bc7dc7319550", + "name":"cli-private-namespace-1983047767360990524", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-1983047767360990524", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:35.577828Z", "updated_at":"2024-12-23T09:16:35.577828Z", + "image_count":0, "region":"fr-par"}, {"id":"e77b908c-b8c3-4654-991f-304c9265141f", + "name":"cli-public-namespace-7890496127073292675", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7890496127073292675", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:52.705622Z", "updated_at":"2024-12-23T09:16:52.705622Z", + "image_count":0, "region":"fr-par"}, {"id":"df286dbc-ff92-47a2-99bc-716d10655fbd", + "name":"cli-private-namespace-8115662929909885246", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8115662929909885246", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:52.846735Z", "updated_at":"2024-12-23T09:16:52.846735Z", + "image_count":0, "region":"fr-par"}, {"id":"12a64759-bd69-4b44-9bf2-cadb1b05ecae", + "name":"cli-public-namespace-13885717329464517262", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-13885717329464517262", + "is_public":true, "size":0, "created_at":"2024-12-23T09:17:29.670441Z", "updated_at":"2024-12-23T09:17:29.670441Z", + "image_count":0, "region":"fr-par"}, {"id":"947e1cd4-e6a1-4676-a28a-3ca385aa08fa", + "name":"cli-private-namespace-15380825806382233430", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15380825806382233430", + "is_public":false, "size":0, "created_at":"2024-12-23T09:17:29.785005Z", "updated_at":"2024-12-23T09:17:29.785005Z", + "image_count":0, "region":"fr-par"}, {"id":"32a8e346-c689-43b0-ab4c-6bb45531b17b", + "name":"cli-public-namespace-404611571659832400", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-404611571659832400", "is_public":true, + "size":0, "created_at":"2024-12-23T09:19:26.039289Z", "updated_at":"2024-12-23T09:19:26.039289Z", + "image_count":0, "region":"fr-par"}, {"id":"3201e6bb-6def-40f9-b053-dd13bd4fec4d", + "name":"cli-private-namespace-18011672248641714332", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-18011672248641714332", + "is_public":false, "size":0, "created_at":"2024-12-23T09:19:26.173731Z", "updated_at":"2024-12-23T09:19:26.173731Z", + "image_count":0, "region":"fr-par"}, {"id":"833fbd64-58f3-480c-8a9d-9b8f90e9e9c0", + "name":"cli-public-namespace-11379894662406056841", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-11379894662406056841", + "is_public":true, "size":0, "created_at":"2024-12-23T09:20:21.816840Z", "updated_at":"2024-12-23T09:20:21.816840Z", + "image_count":0, "region":"fr-par"}, {"id":"43e4c648-b377-40ad-be03-1e6a2714baf1", + "name":"cli-private-namespace-8869400768078969395", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8869400768078969395", + "is_public":false, "size":0, "created_at":"2024-12-23T09:20:21.965388Z", "updated_at":"2024-12-23T09:20:21.965388Z", + "image_count":0, "region":"fr-par"}, {"id":"4b0c26db-fd1d-4c7d-a065-18d4d82ff3df", + "name":"cli-public-namespace-7307228644657219749", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7307228644657219749", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:16.091790Z", "updated_at":"2024-12-23T09:21:16.091790Z", + "image_count":0, "region":"fr-par"}, {"id":"2566ded6-8c48-4c17-82c8-11c35f3f6d35", + "name":"cli-private-namespace-17034149517499994654", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17034149517499994654", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:16.226534Z", "updated_at":"2024-12-23T09:21:16.226534Z", + "image_count":0, "region":"fr-par"}, {"id":"f1af0337-94a9-4614-855f-5355c02a319d", + "name":"cli-public-namespace-2309305523627284095", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-2309305523627284095", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:45.787137Z", "updated_at":"2024-12-23T09:21:45.787137Z", + "image_count":0, "region":"fr-par"}, {"id":"f638bfbd-9915-4937-894f-5d86e73fc0f8", + "name":"cli-private-namespace-17185252734039414340", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17185252734039414340", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:45.911944Z", "updated_at":"2024-12-23T09:21:45.911944Z", + "image_count":0, "region":"fr-par"}, {"id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", + "name":"cli-public-namespace-1692550640656725191", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191", "is_public":true, + "size":2457364, "created_at":"2024-12-23T09:32:48.337044Z", "updated_at":"2024-12-23T09:33:13.801784Z", + "image_count":3, "region":"fr-par"}, {"id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "name":"cli-private-namespace-15460830706535999219", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219", + "is_public":false, "size":1547071, "created_at":"2024-12-23T09:32:48.528248Z", + "updated_at":"2024-12-23T09:33:38.622011Z", "image_count":2, "region":"fr-par"}], + "total_count":20}' form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces?order_by=created_at_asc&page=1 method: GET response: - body: '{"namespaces":[{"id":"9c7ad6f7-326d-44e6-a920-aea196ac897e","name":"jquere01","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/jquere01","is_public":false,"size":2797541,"created_at":"2020-06-01T17:39:33.333350Z","updated_at":"2020-06-01T17:46:30.407834Z","image_count":1,"region":"fr-par"},{"id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","name":"cli-public-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/cli-public-namespace","is_public":true,"size":2244230,"created_at":"2020-06-03T16:53:16.197893Z","updated_at":"2020-06-03T16:53:34.617177Z","image_count":3,"region":"fr-par"},{"id":"91665e85-422e-480c-921c-560d0f1b2184","name":"cli-private-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/cli-private-namespace","is_public":false,"size":723146,"created_at":"2020-06-03T16:53:16.304460Z","updated_at":"2020-06-03T16:53:39.007558Z","image_count":2,"region":"fr-par"}],"total_count":3}' + body: '{"namespaces":[{"id":"3803f8ff-bede-4a01-b4c7-0835fcf9361e", "name":"cli-public-namespace-7939799000782016162", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7939799000782016162", "is_public":true, + "size":0, "created_at":"2024-12-23T09:15:11.455785Z", "updated_at":"2024-12-23T09:15:11.455785Z", + "image_count":0, "region":"fr-par"}, {"id":"7f7c1a42-1319-41a8-b8d6-22c1395ecbfd", + "name":"cli-private-namespace-17241109529365830947", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17241109529365830947", + "is_public":false, "size":0, "created_at":"2024-12-23T09:15:11.622539Z", "updated_at":"2024-12-23T09:15:11.622539Z", + "image_count":0, "region":"fr-par"}, {"id":"626eb667-bbf7-46ee-9b41-3479c47d9251", + "name":"cli-public-namespace-893235992334772097", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-893235992334772097", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:15.990451Z", "updated_at":"2024-12-23T09:16:15.990451Z", + "image_count":0, "region":"fr-par"}, {"id":"654afd81-ad28-4d90-b05c-4cf5b5545f86", + "name":"cli-private-namespace-2098919150215436606", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-2098919150215436606", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:16.118909Z", "updated_at":"2024-12-23T09:16:16.118909Z", + "image_count":0, "region":"fr-par"}, {"id":"17ddedad-3b1c-4226-b019-55e08e9fbd5e", + "name":"cli-public-namespace-16473882534148688581", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-16473882534148688581", + "is_public":true, "size":0, "created_at":"2024-12-23T09:16:35.461866Z", "updated_at":"2024-12-23T09:16:35.461866Z", + "image_count":0, "region":"fr-par"}, {"id":"d4a9385b-3b09-40c8-8379-bc7dc7319550", + "name":"cli-private-namespace-1983047767360990524", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-1983047767360990524", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:35.577828Z", "updated_at":"2024-12-23T09:16:35.577828Z", + "image_count":0, "region":"fr-par"}, {"id":"e77b908c-b8c3-4654-991f-304c9265141f", + "name":"cli-public-namespace-7890496127073292675", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7890496127073292675", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:52.705622Z", "updated_at":"2024-12-23T09:16:52.705622Z", + "image_count":0, "region":"fr-par"}, {"id":"df286dbc-ff92-47a2-99bc-716d10655fbd", + "name":"cli-private-namespace-8115662929909885246", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8115662929909885246", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:52.846735Z", "updated_at":"2024-12-23T09:16:52.846735Z", + "image_count":0, "region":"fr-par"}, {"id":"12a64759-bd69-4b44-9bf2-cadb1b05ecae", + "name":"cli-public-namespace-13885717329464517262", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-13885717329464517262", + "is_public":true, "size":0, "created_at":"2024-12-23T09:17:29.670441Z", "updated_at":"2024-12-23T09:17:29.670441Z", + "image_count":0, "region":"fr-par"}, {"id":"947e1cd4-e6a1-4676-a28a-3ca385aa08fa", + "name":"cli-private-namespace-15380825806382233430", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15380825806382233430", + "is_public":false, "size":0, "created_at":"2024-12-23T09:17:29.785005Z", "updated_at":"2024-12-23T09:17:29.785005Z", + "image_count":0, "region":"fr-par"}, {"id":"32a8e346-c689-43b0-ab4c-6bb45531b17b", + "name":"cli-public-namespace-404611571659832400", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-404611571659832400", "is_public":true, + "size":0, "created_at":"2024-12-23T09:19:26.039289Z", "updated_at":"2024-12-23T09:19:26.039289Z", + "image_count":0, "region":"fr-par"}, {"id":"3201e6bb-6def-40f9-b053-dd13bd4fec4d", + "name":"cli-private-namespace-18011672248641714332", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-18011672248641714332", + "is_public":false, "size":0, "created_at":"2024-12-23T09:19:26.173731Z", "updated_at":"2024-12-23T09:19:26.173731Z", + "image_count":0, "region":"fr-par"}, {"id":"833fbd64-58f3-480c-8a9d-9b8f90e9e9c0", + "name":"cli-public-namespace-11379894662406056841", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-11379894662406056841", + "is_public":true, "size":0, "created_at":"2024-12-23T09:20:21.816840Z", "updated_at":"2024-12-23T09:20:21.816840Z", + "image_count":0, "region":"fr-par"}, {"id":"43e4c648-b377-40ad-be03-1e6a2714baf1", + "name":"cli-private-namespace-8869400768078969395", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8869400768078969395", + "is_public":false, "size":0, "created_at":"2024-12-23T09:20:21.965388Z", "updated_at":"2024-12-23T09:20:21.965388Z", + "image_count":0, "region":"fr-par"}, {"id":"4b0c26db-fd1d-4c7d-a065-18d4d82ff3df", + "name":"cli-public-namespace-7307228644657219749", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7307228644657219749", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:16.091790Z", "updated_at":"2024-12-23T09:21:16.091790Z", + "image_count":0, "region":"fr-par"}, {"id":"2566ded6-8c48-4c17-82c8-11c35f3f6d35", + "name":"cli-private-namespace-17034149517499994654", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17034149517499994654", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:16.226534Z", "updated_at":"2024-12-23T09:21:16.226534Z", + "image_count":0, "region":"fr-par"}, {"id":"f1af0337-94a9-4614-855f-5355c02a319d", + "name":"cli-public-namespace-2309305523627284095", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-2309305523627284095", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:45.787137Z", "updated_at":"2024-12-23T09:21:45.787137Z", + "image_count":0, "region":"fr-par"}, {"id":"f638bfbd-9915-4937-894f-5d86e73fc0f8", + "name":"cli-private-namespace-17185252734039414340", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17185252734039414340", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:45.911944Z", "updated_at":"2024-12-23T09:21:45.911944Z", + "image_count":0, "region":"fr-par"}, {"id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", + "name":"cli-public-namespace-1692550640656725191", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191", "is_public":true, + "size":2457364, "created_at":"2024-12-23T09:32:48.337044Z", "updated_at":"2024-12-23T09:33:13.801784Z", + "image_count":3, "region":"fr-par"}, {"id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "name":"cli-private-namespace-15460830706535999219", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219", + "is_public":false, "size":1547071, "created_at":"2024-12-23T09:32:48.528248Z", + "updated_at":"2024-12-23T09:33:38.622011Z", "image_count":2, "region":"fr-par"}], + "total_count":20}' headers: Content-Length: - - "1190" + - "9949" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:43 GMT + - Mon, 23 Dec 2024 09:33:38 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -521,33 +1615,39 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a12be425-09dc-4f4a-ad48-a8ef2234fcf2 + - 5d5eb02a-1d9b-43a3-ad60-5ec99de033b9 status: 200 OK code: 200 duration: "" - request: - body: '{"visibility":"private"}' + body: '{"id":"a59160cd-17ab-434f-9cc3-2e9be1bc7421", "name":"visibility_private", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"private", "size":826573, "created_at":"2024-12-23T09:33:04.318972Z", + "updated_at":"2024-12-23T09:33:39.035066777Z", "tags":["latest"]}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/registry/v1/regions/fr-par/images/16db06c2-2908-4a97-8dfa-35e1c7fa00ca + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test + url: https://api.scaleway.com/registry/v1/regions/fr-par/images/a59160cd-17ab-434f-9cc3-2e9be1bc7421 method: PATCH response: - body: '{"id":"16db06c2-2908-4a97-8dfa-35e1c7fa00ca","name":"visibility_private","namespace_id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","status":"ready","status_message":"","visibility":"private","size":755813,"created_at":"2020-06-03T16:53:29.527984Z","updated_at":"2020-06-03T16:53:43.515488268Z","tags":["latest"]}' + body: '{"id":"a59160cd-17ab-434f-9cc3-2e9be1bc7421", "name":"visibility_private", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"private", "size":826573, "created_at":"2024-12-23T09:33:04.318972Z", + "updated_at":"2024-12-23T09:33:39.035066777Z", "tags":["latest"]}' headers: Content-Length: - - "308" + - "317" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:43 GMT + - Mon, 23 Dec 2024 09:33:39 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -555,31 +1655,45 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fb214991-9bd9-4820-b297-0255e0dbc4a3 + - 7e3ac9ef-ebd1-48be-910a-8de067403e86 status: 200 OK code: 200 duration: "" - request: - body: "" + body: '{"images":[{"id":"1b47179b-f83a-48ef-9053-0d552835b515", "name":"visibility_inherit", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"inherit", "size":781920, "created_at":"2024-12-23T09:33:13.266758Z", + "updated_at":"2024-12-23T09:33:14.035166Z", "tags":["latest"]}, {"id":"dd7eb919-3c31-43d9-abb6-9360cdf1fdb6", + "name":"visibility_inherit", "namespace_id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "status":"ready", "status_message":"", "visibility":"inherit", "size":716797, + "created_at":"2024-12-23T09:33:46.205177Z", "updated_at":"2024-12-23T09:33:46.979835Z", + "tags":["latest"]}], "total_count":2}' form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test url: https://api.scaleway.com/registry/v1/regions/fr-par/images?name=visibility_inherit&order_by=created_at_asc&page=1 method: GET response: - body: '{"images":[{"id":"d7982e5f-bd5d-447e-89b6-7bfff824314b","name":"visibility_inherit","namespace_id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","status":"ready","status_message":"","visibility":"inherit","size":727962,"created_at":"2020-06-03T16:53:34.012944Z","updated_at":"2020-06-03T16:53:34.589780Z","tags":["latest"]},{"id":"93240794-3f93-40f3-a175-f32eb23797ca","name":"visibility_inherit","namespace_id":"91665e85-422e-480c-921c-560d0f1b2184","status":"ready","status_message":"","visibility":"inherit","size":0,"created_at":"2020-06-03T16:53:46.973431Z","updated_at":"2020-06-03T16:53:46.973431Z","tags":["latest"]}],"total_count":2}' + body: '{"images":[{"id":"1b47179b-f83a-48ef-9053-0d552835b515", "name":"visibility_inherit", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"inherit", "size":781920, "created_at":"2024-12-23T09:33:13.266758Z", + "updated_at":"2024-12-23T09:33:14.035166Z", "tags":["latest"]}, {"id":"dd7eb919-3c31-43d9-abb6-9360cdf1fdb6", + "name":"visibility_inherit", "namespace_id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "status":"ready", "status_message":"", "visibility":"inherit", "size":716797, + "created_at":"2024-12-23T09:33:46.205177Z", "updated_at":"2024-12-23T09:33:46.979835Z", + "tags":["latest"]}], "total_count":2}' headers: Content-Length: - - "635" + - "660" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:47 GMT + - Mon, 23 Dec 2024 09:33:47 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -587,31 +1701,233 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e480966a-139a-40c5-968a-b551d5022b4a + - bf1dbaa9-674c-4e75-86c5-dc6f58bc37c2 status: 200 OK code: 200 duration: "" - request: - body: "" + body: '{"namespaces":[{"id":"3803f8ff-bede-4a01-b4c7-0835fcf9361e", "name":"cli-public-namespace-7939799000782016162", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7939799000782016162", "is_public":true, + "size":0, "created_at":"2024-12-23T09:15:11.455785Z", "updated_at":"2024-12-23T09:15:11.455785Z", + "image_count":0, "region":"fr-par"}, {"id":"7f7c1a42-1319-41a8-b8d6-22c1395ecbfd", + "name":"cli-private-namespace-17241109529365830947", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17241109529365830947", + "is_public":false, "size":0, "created_at":"2024-12-23T09:15:11.622539Z", "updated_at":"2024-12-23T09:15:11.622539Z", + "image_count":0, "region":"fr-par"}, {"id":"626eb667-bbf7-46ee-9b41-3479c47d9251", + "name":"cli-public-namespace-893235992334772097", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-893235992334772097", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:15.990451Z", "updated_at":"2024-12-23T09:16:15.990451Z", + "image_count":0, "region":"fr-par"}, {"id":"654afd81-ad28-4d90-b05c-4cf5b5545f86", + "name":"cli-private-namespace-2098919150215436606", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-2098919150215436606", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:16.118909Z", "updated_at":"2024-12-23T09:16:16.118909Z", + "image_count":0, "region":"fr-par"}, {"id":"17ddedad-3b1c-4226-b019-55e08e9fbd5e", + "name":"cli-public-namespace-16473882534148688581", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-16473882534148688581", + "is_public":true, "size":0, "created_at":"2024-12-23T09:16:35.461866Z", "updated_at":"2024-12-23T09:16:35.461866Z", + "image_count":0, "region":"fr-par"}, {"id":"d4a9385b-3b09-40c8-8379-bc7dc7319550", + "name":"cli-private-namespace-1983047767360990524", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-1983047767360990524", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:35.577828Z", "updated_at":"2024-12-23T09:16:35.577828Z", + "image_count":0, "region":"fr-par"}, {"id":"e77b908c-b8c3-4654-991f-304c9265141f", + "name":"cli-public-namespace-7890496127073292675", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7890496127073292675", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:52.705622Z", "updated_at":"2024-12-23T09:16:52.705622Z", + "image_count":0, "region":"fr-par"}, {"id":"df286dbc-ff92-47a2-99bc-716d10655fbd", + "name":"cli-private-namespace-8115662929909885246", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8115662929909885246", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:52.846735Z", "updated_at":"2024-12-23T09:16:52.846735Z", + "image_count":0, "region":"fr-par"}, {"id":"12a64759-bd69-4b44-9bf2-cadb1b05ecae", + "name":"cli-public-namespace-13885717329464517262", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-13885717329464517262", + "is_public":true, "size":0, "created_at":"2024-12-23T09:17:29.670441Z", "updated_at":"2024-12-23T09:17:29.670441Z", + "image_count":0, "region":"fr-par"}, {"id":"947e1cd4-e6a1-4676-a28a-3ca385aa08fa", + "name":"cli-private-namespace-15380825806382233430", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15380825806382233430", + "is_public":false, "size":0, "created_at":"2024-12-23T09:17:29.785005Z", "updated_at":"2024-12-23T09:17:29.785005Z", + "image_count":0, "region":"fr-par"}, {"id":"32a8e346-c689-43b0-ab4c-6bb45531b17b", + "name":"cli-public-namespace-404611571659832400", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-404611571659832400", "is_public":true, + "size":0, "created_at":"2024-12-23T09:19:26.039289Z", "updated_at":"2024-12-23T09:19:26.039289Z", + "image_count":0, "region":"fr-par"}, {"id":"3201e6bb-6def-40f9-b053-dd13bd4fec4d", + "name":"cli-private-namespace-18011672248641714332", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-18011672248641714332", + "is_public":false, "size":0, "created_at":"2024-12-23T09:19:26.173731Z", "updated_at":"2024-12-23T09:19:26.173731Z", + "image_count":0, "region":"fr-par"}, {"id":"833fbd64-58f3-480c-8a9d-9b8f90e9e9c0", + "name":"cli-public-namespace-11379894662406056841", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-11379894662406056841", + "is_public":true, "size":0, "created_at":"2024-12-23T09:20:21.816840Z", "updated_at":"2024-12-23T09:20:21.816840Z", + "image_count":0, "region":"fr-par"}, {"id":"43e4c648-b377-40ad-be03-1e6a2714baf1", + "name":"cli-private-namespace-8869400768078969395", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8869400768078969395", + "is_public":false, "size":0, "created_at":"2024-12-23T09:20:21.965388Z", "updated_at":"2024-12-23T09:20:21.965388Z", + "image_count":0, "region":"fr-par"}, {"id":"4b0c26db-fd1d-4c7d-a065-18d4d82ff3df", + "name":"cli-public-namespace-7307228644657219749", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7307228644657219749", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:16.091790Z", "updated_at":"2024-12-23T09:21:16.091790Z", + "image_count":0, "region":"fr-par"}, {"id":"2566ded6-8c48-4c17-82c8-11c35f3f6d35", + "name":"cli-private-namespace-17034149517499994654", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17034149517499994654", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:16.226534Z", "updated_at":"2024-12-23T09:21:16.226534Z", + "image_count":0, "region":"fr-par"}, {"id":"f1af0337-94a9-4614-855f-5355c02a319d", + "name":"cli-public-namespace-2309305523627284095", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-2309305523627284095", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:45.787137Z", "updated_at":"2024-12-23T09:21:45.787137Z", + "image_count":0, "region":"fr-par"}, {"id":"f638bfbd-9915-4937-894f-5d86e73fc0f8", + "name":"cli-private-namespace-17185252734039414340", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17185252734039414340", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:45.911944Z", "updated_at":"2024-12-23T09:21:45.911944Z", + "image_count":0, "region":"fr-par"}, {"id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", + "name":"cli-public-namespace-1692550640656725191", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191", "is_public":true, + "size":2457364, "created_at":"2024-12-23T09:32:48.337044Z", "updated_at":"2024-12-23T09:33:13.801784Z", + "image_count":3, "region":"fr-par"}, {"id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "name":"cli-private-namespace-15460830706535999219", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219", + "is_public":false, "size":2263868, "created_at":"2024-12-23T09:32:48.528248Z", + "updated_at":"2024-12-23T09:33:46.985288Z", "image_count":3, "region":"fr-par"}], + "total_count":20}' form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces?order_by=created_at_asc&page=1 method: GET response: - body: '{"namespaces":[{"id":"9c7ad6f7-326d-44e6-a920-aea196ac897e","name":"jquere01","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/jquere01","is_public":false,"size":2797541,"created_at":"2020-06-01T17:39:33.333350Z","updated_at":"2020-06-01T17:46:30.407834Z","image_count":1,"region":"fr-par"},{"id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","name":"cli-public-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/cli-public-namespace","is_public":true,"size":2244230,"created_at":"2020-06-03T16:53:16.197893Z","updated_at":"2020-06-03T16:53:34.617177Z","image_count":3,"region":"fr-par"},{"id":"91665e85-422e-480c-921c-560d0f1b2184","name":"cli-private-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/cli-private-namespace","is_public":false,"size":1438442,"created_at":"2020-06-03T16:53:16.304460Z","updated_at":"2020-06-03T16:53:43.689139Z","image_count":3,"region":"fr-par"}],"total_count":3}' + body: '{"namespaces":[{"id":"3803f8ff-bede-4a01-b4c7-0835fcf9361e", "name":"cli-public-namespace-7939799000782016162", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7939799000782016162", "is_public":true, + "size":0, "created_at":"2024-12-23T09:15:11.455785Z", "updated_at":"2024-12-23T09:15:11.455785Z", + "image_count":0, "region":"fr-par"}, {"id":"7f7c1a42-1319-41a8-b8d6-22c1395ecbfd", + "name":"cli-private-namespace-17241109529365830947", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17241109529365830947", + "is_public":false, "size":0, "created_at":"2024-12-23T09:15:11.622539Z", "updated_at":"2024-12-23T09:15:11.622539Z", + "image_count":0, "region":"fr-par"}, {"id":"626eb667-bbf7-46ee-9b41-3479c47d9251", + "name":"cli-public-namespace-893235992334772097", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-893235992334772097", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:15.990451Z", "updated_at":"2024-12-23T09:16:15.990451Z", + "image_count":0, "region":"fr-par"}, {"id":"654afd81-ad28-4d90-b05c-4cf5b5545f86", + "name":"cli-private-namespace-2098919150215436606", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-2098919150215436606", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:16.118909Z", "updated_at":"2024-12-23T09:16:16.118909Z", + "image_count":0, "region":"fr-par"}, {"id":"17ddedad-3b1c-4226-b019-55e08e9fbd5e", + "name":"cli-public-namespace-16473882534148688581", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-16473882534148688581", + "is_public":true, "size":0, "created_at":"2024-12-23T09:16:35.461866Z", "updated_at":"2024-12-23T09:16:35.461866Z", + "image_count":0, "region":"fr-par"}, {"id":"d4a9385b-3b09-40c8-8379-bc7dc7319550", + "name":"cli-private-namespace-1983047767360990524", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-1983047767360990524", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:35.577828Z", "updated_at":"2024-12-23T09:16:35.577828Z", + "image_count":0, "region":"fr-par"}, {"id":"e77b908c-b8c3-4654-991f-304c9265141f", + "name":"cli-public-namespace-7890496127073292675", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7890496127073292675", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:52.705622Z", "updated_at":"2024-12-23T09:16:52.705622Z", + "image_count":0, "region":"fr-par"}, {"id":"df286dbc-ff92-47a2-99bc-716d10655fbd", + "name":"cli-private-namespace-8115662929909885246", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8115662929909885246", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:52.846735Z", "updated_at":"2024-12-23T09:16:52.846735Z", + "image_count":0, "region":"fr-par"}, {"id":"12a64759-bd69-4b44-9bf2-cadb1b05ecae", + "name":"cli-public-namespace-13885717329464517262", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-13885717329464517262", + "is_public":true, "size":0, "created_at":"2024-12-23T09:17:29.670441Z", "updated_at":"2024-12-23T09:17:29.670441Z", + "image_count":0, "region":"fr-par"}, {"id":"947e1cd4-e6a1-4676-a28a-3ca385aa08fa", + "name":"cli-private-namespace-15380825806382233430", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15380825806382233430", + "is_public":false, "size":0, "created_at":"2024-12-23T09:17:29.785005Z", "updated_at":"2024-12-23T09:17:29.785005Z", + "image_count":0, "region":"fr-par"}, {"id":"32a8e346-c689-43b0-ab4c-6bb45531b17b", + "name":"cli-public-namespace-404611571659832400", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-404611571659832400", "is_public":true, + "size":0, "created_at":"2024-12-23T09:19:26.039289Z", "updated_at":"2024-12-23T09:19:26.039289Z", + "image_count":0, "region":"fr-par"}, {"id":"3201e6bb-6def-40f9-b053-dd13bd4fec4d", + "name":"cli-private-namespace-18011672248641714332", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-18011672248641714332", + "is_public":false, "size":0, "created_at":"2024-12-23T09:19:26.173731Z", "updated_at":"2024-12-23T09:19:26.173731Z", + "image_count":0, "region":"fr-par"}, {"id":"833fbd64-58f3-480c-8a9d-9b8f90e9e9c0", + "name":"cli-public-namespace-11379894662406056841", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-11379894662406056841", + "is_public":true, "size":0, "created_at":"2024-12-23T09:20:21.816840Z", "updated_at":"2024-12-23T09:20:21.816840Z", + "image_count":0, "region":"fr-par"}, {"id":"43e4c648-b377-40ad-be03-1e6a2714baf1", + "name":"cli-private-namespace-8869400768078969395", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8869400768078969395", + "is_public":false, "size":0, "created_at":"2024-12-23T09:20:21.965388Z", "updated_at":"2024-12-23T09:20:21.965388Z", + "image_count":0, "region":"fr-par"}, {"id":"4b0c26db-fd1d-4c7d-a065-18d4d82ff3df", + "name":"cli-public-namespace-7307228644657219749", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7307228644657219749", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:16.091790Z", "updated_at":"2024-12-23T09:21:16.091790Z", + "image_count":0, "region":"fr-par"}, {"id":"2566ded6-8c48-4c17-82c8-11c35f3f6d35", + "name":"cli-private-namespace-17034149517499994654", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17034149517499994654", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:16.226534Z", "updated_at":"2024-12-23T09:21:16.226534Z", + "image_count":0, "region":"fr-par"}, {"id":"f1af0337-94a9-4614-855f-5355c02a319d", + "name":"cli-public-namespace-2309305523627284095", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-2309305523627284095", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:45.787137Z", "updated_at":"2024-12-23T09:21:45.787137Z", + "image_count":0, "region":"fr-par"}, {"id":"f638bfbd-9915-4937-894f-5d86e73fc0f8", + "name":"cli-private-namespace-17185252734039414340", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17185252734039414340", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:45.911944Z", "updated_at":"2024-12-23T09:21:45.911944Z", + "image_count":0, "region":"fr-par"}, {"id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", + "name":"cli-public-namespace-1692550640656725191", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191", "is_public":true, + "size":2457364, "created_at":"2024-12-23T09:32:48.337044Z", "updated_at":"2024-12-23T09:33:13.801784Z", + "image_count":3, "region":"fr-par"}, {"id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "name":"cli-private-namespace-15460830706535999219", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219", + "is_public":false, "size":2263868, "created_at":"2024-12-23T09:32:48.528248Z", + "updated_at":"2024-12-23T09:33:46.985288Z", "image_count":3, "region":"fr-par"}], + "total_count":20}' headers: Content-Length: - - "1191" + - "9949" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:47 GMT + - Mon, 23 Dec 2024 09:33:47 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -619,33 +1935,39 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 12a7a710-da72-4dd9-9ed2-37e9906f4090 + - 93e52fe9-15c2-480a-83a9-4f826b632a62 status: 200 OK code: 200 duration: "" - request: - body: '{"visibility":"inherit"}' + body: '{"id":"1b47179b-f83a-48ef-9053-0d552835b515", "name":"visibility_inherit", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"inherit", "size":781920, "created_at":"2024-12-23T09:33:13.266758Z", + "updated_at":"2024-12-23T09:33:47.538896660Z", "tags":["latest"]}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/registry/v1/regions/fr-par/images/d7982e5f-bd5d-447e-89b6-7bfff824314b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test + url: https://api.scaleway.com/registry/v1/regions/fr-par/images/1b47179b-f83a-48ef-9053-0d552835b515 method: PATCH response: - body: '{"id":"d7982e5f-bd5d-447e-89b6-7bfff824314b","name":"visibility_inherit","namespace_id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","status":"ready","status_message":"","visibility":"inherit","size":727962,"created_at":"2020-06-03T16:53:34.012944Z","updated_at":"2020-06-03T16:53:47.312722242Z","tags":["latest"]}' + body: '{"id":"1b47179b-f83a-48ef-9053-0d552835b515", "name":"visibility_inherit", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"inherit", "size":781920, "created_at":"2024-12-23T09:33:13.266758Z", + "updated_at":"2024-12-23T09:33:47.538896660Z", "tags":["latest"]}' headers: Content-Length: - - "308" + - "317" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:47 GMT + - Mon, 23 Dec 2024 09:33:47 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -653,31 +1975,73 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - eeef4efe-2112-448e-b57a-bcb8a967a4f7 + - 99d131d8-2cf8-4395-9475-86e46ae168c3 status: 200 OK code: 200 duration: "" - request: - body: "" + body: '{"images":[{"id":"2d8149ff-2924-45b9-90e4-554315289d0d", "name":"visibility_public", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"public", "size":848871, "created_at":"2024-12-23T09:32:56.212645Z", + "updated_at":"2024-12-23T09:33:21.318034Z", "tags":["latest"]}, {"id":"a59160cd-17ab-434f-9cc3-2e9be1bc7421", + "name":"visibility_private", "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", + "status":"ready", "status_message":"", "visibility":"private", "size":826573, + "created_at":"2024-12-23T09:33:04.318972Z", "updated_at":"2024-12-23T09:33:39.035067Z", + "tags":["latest"]}, {"id":"1b47179b-f83a-48ef-9053-0d552835b515", "name":"visibility_inherit", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"inherit", "size":781920, "created_at":"2024-12-23T09:33:13.266758Z", + "updated_at":"2024-12-23T09:33:47.538897Z", "tags":["latest"]}, {"id":"3473aa94-af49-4894-baee-8a2989a4efe3", + "name":"visibility_public", "namespace_id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "status":"ready", "status_message":"", "visibility":"inherit", "size":774338, + "created_at":"2024-12-23T09:33:20.800303Z", "updated_at":"2024-12-23T09:33:20.984067Z", + "tags":["latest"]}, {"id":"0503b229-8e2c-4637-92ed-265a0e300abb", "name":"visibility_private", + "namespace_id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", "status":"ready", "status_message":"", + "visibility":"inherit", "size":772733, "created_at":"2024-12-23T09:33:38.125234Z", + "updated_at":"2024-12-23T09:33:38.614045Z", "tags":["latest"]}, {"id":"dd7eb919-3c31-43d9-abb6-9360cdf1fdb6", + "name":"visibility_inherit", "namespace_id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "status":"ready", "status_message":"", "visibility":"inherit", "size":716797, + "created_at":"2024-12-23T09:33:46.205177Z", "updated_at":"2024-12-23T09:33:46.979835Z", + "tags":["latest"]}], "total_count":6}' form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test url: https://api.scaleway.com/registry/v1/regions/fr-par/images?order_by=created_at_asc&page=1 method: GET response: - body: '{"images":[{"id":"f091a7b6-561a-4741-9658-186f7141b681","name":"alpine","namespace_id":"9c7ad6f7-326d-44e6-a920-aea196ac897e","status":"ready","status_message":"","visibility":"inherit","size":2797541,"created_at":"2020-06-01T17:46:29.938072Z","updated_at":"2020-06-01T17:46:30.387874Z","tags":["latest"]},{"id":"5edd2996-d00c-4d64-9629-e8ffe1c52ae1","name":"visibility_public","namespace_id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","status":"ready","status_message":"","visibility":"public","size":760455,"created_at":"2020-06-03T16:53:23.406431Z","updated_at":"2020-06-03T16:53:38.774674Z","tags":["latest"]},{"id":"16db06c2-2908-4a97-8dfa-35e1c7fa00ca","name":"visibility_private","namespace_id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","status":"ready","status_message":"","visibility":"private","size":755813,"created_at":"2020-06-03T16:53:29.527984Z","updated_at":"2020-06-03T16:53:43.515488Z","tags":["latest"]},{"id":"d7982e5f-bd5d-447e-89b6-7bfff824314b","name":"visibility_inherit","namespace_id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","status":"ready","status_message":"","visibility":"inherit","size":727962,"created_at":"2020-06-03T16:53:34.012944Z","updated_at":"2020-06-03T16:53:47.312722Z","tags":["latest"]},{"id":"8b0f4705-78bf-4784-afe2-3cad5520410a","name":"visibility_public","namespace_id":"91665e85-422e-480c-921c-560d0f1b2184","status":"ready","status_message":"","visibility":"inherit","size":723146,"created_at":"2020-06-03T16:53:38.465730Z","updated_at":"2020-06-03T16:53:38.988470Z","tags":["latest"]},{"id":"fe9f6354-b407-4fba-a5a0-82b9303e33c7","name":"visibility_private","namespace_id":"91665e85-422e-480c-921c-560d0f1b2184","status":"ready","status_message":"","visibility":"inherit","size":715296,"created_at":"2020-06-03T16:53:43.156790Z","updated_at":"2020-06-03T16:53:43.663844Z","tags":["latest"]},{"id":"93240794-3f93-40f3-a175-f32eb23797ca","name":"visibility_inherit","namespace_id":"91665e85-422e-480c-921c-560d0f1b2184","status":"ready","status_message":"","visibility":"inherit","size":0,"created_at":"2020-06-03T16:53:46.973431Z","updated_at":"2020-06-03T16:53:46.973431Z","tags":["latest"]}],"total_count":7}' + body: '{"images":[{"id":"2d8149ff-2924-45b9-90e4-554315289d0d", "name":"visibility_public", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"public", "size":848871, "created_at":"2024-12-23T09:32:56.212645Z", + "updated_at":"2024-12-23T09:33:21.318034Z", "tags":["latest"]}, {"id":"a59160cd-17ab-434f-9cc3-2e9be1bc7421", + "name":"visibility_private", "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", + "status":"ready", "status_message":"", "visibility":"private", "size":826573, + "created_at":"2024-12-23T09:33:04.318972Z", "updated_at":"2024-12-23T09:33:39.035067Z", + "tags":["latest"]}, {"id":"1b47179b-f83a-48ef-9053-0d552835b515", "name":"visibility_inherit", + "namespace_id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status":"ready", "status_message":"", + "visibility":"inherit", "size":781920, "created_at":"2024-12-23T09:33:13.266758Z", + "updated_at":"2024-12-23T09:33:47.538897Z", "tags":["latest"]}, {"id":"3473aa94-af49-4894-baee-8a2989a4efe3", + "name":"visibility_public", "namespace_id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "status":"ready", "status_message":"", "visibility":"inherit", "size":774338, + "created_at":"2024-12-23T09:33:20.800303Z", "updated_at":"2024-12-23T09:33:20.984067Z", + "tags":["latest"]}, {"id":"0503b229-8e2c-4637-92ed-265a0e300abb", "name":"visibility_private", + "namespace_id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", "status":"ready", "status_message":"", + "visibility":"inherit", "size":772733, "created_at":"2024-12-23T09:33:38.125234Z", + "updated_at":"2024-12-23T09:33:38.614045Z", "tags":["latest"]}, {"id":"dd7eb919-3c31-43d9-abb6-9360cdf1fdb6", + "name":"visibility_inherit", "namespace_id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "status":"ready", "status_message":"", "visibility":"inherit", "size":716797, + "created_at":"2024-12-23T09:33:46.205177Z", "updated_at":"2024-12-23T09:33:46.979835Z", + "tags":["latest"]}], "total_count":6}' headers: Content-Length: - - "2151" + - "1921" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:47 GMT + - Mon, 23 Dec 2024 09:33:47 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -685,31 +2049,233 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 741d3d18-10f8-4889-a277-ea23f42652f4 + - 6b05b669-22e8-4538-b2be-d4b8f2ba4d42 status: 200 OK code: 200 duration: "" - request: - body: "" + body: '{"namespaces":[{"id":"3803f8ff-bede-4a01-b4c7-0835fcf9361e", "name":"cli-public-namespace-7939799000782016162", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7939799000782016162", "is_public":true, + "size":0, "created_at":"2024-12-23T09:15:11.455785Z", "updated_at":"2024-12-23T09:15:11.455785Z", + "image_count":0, "region":"fr-par"}, {"id":"7f7c1a42-1319-41a8-b8d6-22c1395ecbfd", + "name":"cli-private-namespace-17241109529365830947", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17241109529365830947", + "is_public":false, "size":0, "created_at":"2024-12-23T09:15:11.622539Z", "updated_at":"2024-12-23T09:15:11.622539Z", + "image_count":0, "region":"fr-par"}, {"id":"626eb667-bbf7-46ee-9b41-3479c47d9251", + "name":"cli-public-namespace-893235992334772097", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-893235992334772097", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:15.990451Z", "updated_at":"2024-12-23T09:16:15.990451Z", + "image_count":0, "region":"fr-par"}, {"id":"654afd81-ad28-4d90-b05c-4cf5b5545f86", + "name":"cli-private-namespace-2098919150215436606", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-2098919150215436606", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:16.118909Z", "updated_at":"2024-12-23T09:16:16.118909Z", + "image_count":0, "region":"fr-par"}, {"id":"17ddedad-3b1c-4226-b019-55e08e9fbd5e", + "name":"cli-public-namespace-16473882534148688581", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-16473882534148688581", + "is_public":true, "size":0, "created_at":"2024-12-23T09:16:35.461866Z", "updated_at":"2024-12-23T09:16:35.461866Z", + "image_count":0, "region":"fr-par"}, {"id":"d4a9385b-3b09-40c8-8379-bc7dc7319550", + "name":"cli-private-namespace-1983047767360990524", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-1983047767360990524", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:35.577828Z", "updated_at":"2024-12-23T09:16:35.577828Z", + "image_count":0, "region":"fr-par"}, {"id":"e77b908c-b8c3-4654-991f-304c9265141f", + "name":"cli-public-namespace-7890496127073292675", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7890496127073292675", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:52.705622Z", "updated_at":"2024-12-23T09:16:52.705622Z", + "image_count":0, "region":"fr-par"}, {"id":"df286dbc-ff92-47a2-99bc-716d10655fbd", + "name":"cli-private-namespace-8115662929909885246", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8115662929909885246", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:52.846735Z", "updated_at":"2024-12-23T09:16:52.846735Z", + "image_count":0, "region":"fr-par"}, {"id":"12a64759-bd69-4b44-9bf2-cadb1b05ecae", + "name":"cli-public-namespace-13885717329464517262", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-13885717329464517262", + "is_public":true, "size":0, "created_at":"2024-12-23T09:17:29.670441Z", "updated_at":"2024-12-23T09:17:29.670441Z", + "image_count":0, "region":"fr-par"}, {"id":"947e1cd4-e6a1-4676-a28a-3ca385aa08fa", + "name":"cli-private-namespace-15380825806382233430", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15380825806382233430", + "is_public":false, "size":0, "created_at":"2024-12-23T09:17:29.785005Z", "updated_at":"2024-12-23T09:17:29.785005Z", + "image_count":0, "region":"fr-par"}, {"id":"32a8e346-c689-43b0-ab4c-6bb45531b17b", + "name":"cli-public-namespace-404611571659832400", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-404611571659832400", "is_public":true, + "size":0, "created_at":"2024-12-23T09:19:26.039289Z", "updated_at":"2024-12-23T09:19:26.039289Z", + "image_count":0, "region":"fr-par"}, {"id":"3201e6bb-6def-40f9-b053-dd13bd4fec4d", + "name":"cli-private-namespace-18011672248641714332", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-18011672248641714332", + "is_public":false, "size":0, "created_at":"2024-12-23T09:19:26.173731Z", "updated_at":"2024-12-23T09:19:26.173731Z", + "image_count":0, "region":"fr-par"}, {"id":"833fbd64-58f3-480c-8a9d-9b8f90e9e9c0", + "name":"cli-public-namespace-11379894662406056841", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-11379894662406056841", + "is_public":true, "size":0, "created_at":"2024-12-23T09:20:21.816840Z", "updated_at":"2024-12-23T09:20:21.816840Z", + "image_count":0, "region":"fr-par"}, {"id":"43e4c648-b377-40ad-be03-1e6a2714baf1", + "name":"cli-private-namespace-8869400768078969395", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8869400768078969395", + "is_public":false, "size":0, "created_at":"2024-12-23T09:20:21.965388Z", "updated_at":"2024-12-23T09:20:21.965388Z", + "image_count":0, "region":"fr-par"}, {"id":"4b0c26db-fd1d-4c7d-a065-18d4d82ff3df", + "name":"cli-public-namespace-7307228644657219749", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7307228644657219749", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:16.091790Z", "updated_at":"2024-12-23T09:21:16.091790Z", + "image_count":0, "region":"fr-par"}, {"id":"2566ded6-8c48-4c17-82c8-11c35f3f6d35", + "name":"cli-private-namespace-17034149517499994654", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17034149517499994654", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:16.226534Z", "updated_at":"2024-12-23T09:21:16.226534Z", + "image_count":0, "region":"fr-par"}, {"id":"f1af0337-94a9-4614-855f-5355c02a319d", + "name":"cli-public-namespace-2309305523627284095", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-2309305523627284095", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:45.787137Z", "updated_at":"2024-12-23T09:21:45.787137Z", + "image_count":0, "region":"fr-par"}, {"id":"f638bfbd-9915-4937-894f-5d86e73fc0f8", + "name":"cli-private-namespace-17185252734039414340", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17185252734039414340", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:45.911944Z", "updated_at":"2024-12-23T09:21:45.911944Z", + "image_count":0, "region":"fr-par"}, {"id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", + "name":"cli-public-namespace-1692550640656725191", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191", "is_public":true, + "size":2457364, "created_at":"2024-12-23T09:32:48.337044Z", "updated_at":"2024-12-23T09:33:13.801784Z", + "image_count":3, "region":"fr-par"}, {"id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "name":"cli-private-namespace-15460830706535999219", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219", + "is_public":false, "size":2263868, "created_at":"2024-12-23T09:32:48.528248Z", + "updated_at":"2024-12-23T09:33:46.985288Z", "image_count":3, "region":"fr-par"}], + "total_count":20}' form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces?order_by=created_at_asc&page=1 method: GET response: - body: '{"namespaces":[{"id":"9c7ad6f7-326d-44e6-a920-aea196ac897e","name":"jquere01","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/jquere01","is_public":false,"size":2797541,"created_at":"2020-06-01T17:39:33.333350Z","updated_at":"2020-06-01T17:46:30.407834Z","image_count":1,"region":"fr-par"},{"id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","name":"cli-public-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/cli-public-namespace","is_public":true,"size":2244230,"created_at":"2020-06-03T16:53:16.197893Z","updated_at":"2020-06-03T16:53:34.617177Z","image_count":3,"region":"fr-par"},{"id":"91665e85-422e-480c-921c-560d0f1b2184","name":"cli-private-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"ready","status_message":"","endpoint":"rg.fr-par.scw.cloud/cli-private-namespace","is_public":false,"size":1438442,"created_at":"2020-06-03T16:53:16.304460Z","updated_at":"2020-06-03T16:53:43.689139Z","image_count":3,"region":"fr-par"}],"total_count":3}' + body: '{"namespaces":[{"id":"3803f8ff-bede-4a01-b4c7-0835fcf9361e", "name":"cli-public-namespace-7939799000782016162", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7939799000782016162", "is_public":true, + "size":0, "created_at":"2024-12-23T09:15:11.455785Z", "updated_at":"2024-12-23T09:15:11.455785Z", + "image_count":0, "region":"fr-par"}, {"id":"7f7c1a42-1319-41a8-b8d6-22c1395ecbfd", + "name":"cli-private-namespace-17241109529365830947", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17241109529365830947", + "is_public":false, "size":0, "created_at":"2024-12-23T09:15:11.622539Z", "updated_at":"2024-12-23T09:15:11.622539Z", + "image_count":0, "region":"fr-par"}, {"id":"626eb667-bbf7-46ee-9b41-3479c47d9251", + "name":"cli-public-namespace-893235992334772097", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-893235992334772097", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:15.990451Z", "updated_at":"2024-12-23T09:16:15.990451Z", + "image_count":0, "region":"fr-par"}, {"id":"654afd81-ad28-4d90-b05c-4cf5b5545f86", + "name":"cli-private-namespace-2098919150215436606", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-2098919150215436606", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:16.118909Z", "updated_at":"2024-12-23T09:16:16.118909Z", + "image_count":0, "region":"fr-par"}, {"id":"17ddedad-3b1c-4226-b019-55e08e9fbd5e", + "name":"cli-public-namespace-16473882534148688581", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-16473882534148688581", + "is_public":true, "size":0, "created_at":"2024-12-23T09:16:35.461866Z", "updated_at":"2024-12-23T09:16:35.461866Z", + "image_count":0, "region":"fr-par"}, {"id":"d4a9385b-3b09-40c8-8379-bc7dc7319550", + "name":"cli-private-namespace-1983047767360990524", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-1983047767360990524", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:35.577828Z", "updated_at":"2024-12-23T09:16:35.577828Z", + "image_count":0, "region":"fr-par"}, {"id":"e77b908c-b8c3-4654-991f-304c9265141f", + "name":"cli-public-namespace-7890496127073292675", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7890496127073292675", "is_public":true, + "size":0, "created_at":"2024-12-23T09:16:52.705622Z", "updated_at":"2024-12-23T09:16:52.705622Z", + "image_count":0, "region":"fr-par"}, {"id":"df286dbc-ff92-47a2-99bc-716d10655fbd", + "name":"cli-private-namespace-8115662929909885246", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8115662929909885246", + "is_public":false, "size":0, "created_at":"2024-12-23T09:16:52.846735Z", "updated_at":"2024-12-23T09:16:52.846735Z", + "image_count":0, "region":"fr-par"}, {"id":"12a64759-bd69-4b44-9bf2-cadb1b05ecae", + "name":"cli-public-namespace-13885717329464517262", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-13885717329464517262", + "is_public":true, "size":0, "created_at":"2024-12-23T09:17:29.670441Z", "updated_at":"2024-12-23T09:17:29.670441Z", + "image_count":0, "region":"fr-par"}, {"id":"947e1cd4-e6a1-4676-a28a-3ca385aa08fa", + "name":"cli-private-namespace-15380825806382233430", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15380825806382233430", + "is_public":false, "size":0, "created_at":"2024-12-23T09:17:29.785005Z", "updated_at":"2024-12-23T09:17:29.785005Z", + "image_count":0, "region":"fr-par"}, {"id":"32a8e346-c689-43b0-ab4c-6bb45531b17b", + "name":"cli-public-namespace-404611571659832400", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-404611571659832400", "is_public":true, + "size":0, "created_at":"2024-12-23T09:19:26.039289Z", "updated_at":"2024-12-23T09:19:26.039289Z", + "image_count":0, "region":"fr-par"}, {"id":"3201e6bb-6def-40f9-b053-dd13bd4fec4d", + "name":"cli-private-namespace-18011672248641714332", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-18011672248641714332", + "is_public":false, "size":0, "created_at":"2024-12-23T09:19:26.173731Z", "updated_at":"2024-12-23T09:19:26.173731Z", + "image_count":0, "region":"fr-par"}, {"id":"833fbd64-58f3-480c-8a9d-9b8f90e9e9c0", + "name":"cli-public-namespace-11379894662406056841", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-11379894662406056841", + "is_public":true, "size":0, "created_at":"2024-12-23T09:20:21.816840Z", "updated_at":"2024-12-23T09:20:21.816840Z", + "image_count":0, "region":"fr-par"}, {"id":"43e4c648-b377-40ad-be03-1e6a2714baf1", + "name":"cli-private-namespace-8869400768078969395", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-8869400768078969395", + "is_public":false, "size":0, "created_at":"2024-12-23T09:20:21.965388Z", "updated_at":"2024-12-23T09:20:21.965388Z", + "image_count":0, "region":"fr-par"}, {"id":"4b0c26db-fd1d-4c7d-a065-18d4d82ff3df", + "name":"cli-public-namespace-7307228644657219749", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-7307228644657219749", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:16.091790Z", "updated_at":"2024-12-23T09:21:16.091790Z", + "image_count":0, "region":"fr-par"}, {"id":"2566ded6-8c48-4c17-82c8-11c35f3f6d35", + "name":"cli-private-namespace-17034149517499994654", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17034149517499994654", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:16.226534Z", "updated_at":"2024-12-23T09:21:16.226534Z", + "image_count":0, "region":"fr-par"}, {"id":"f1af0337-94a9-4614-855f-5355c02a319d", + "name":"cli-public-namespace-2309305523627284095", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-2309305523627284095", "is_public":true, + "size":0, "created_at":"2024-12-23T09:21:45.787137Z", "updated_at":"2024-12-23T09:21:45.787137Z", + "image_count":0, "region":"fr-par"}, {"id":"f638bfbd-9915-4937-894f-5d86e73fc0f8", + "name":"cli-private-namespace-17185252734039414340", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-17185252734039414340", + "is_public":false, "size":0, "created_at":"2024-12-23T09:21:45.911944Z", "updated_at":"2024-12-23T09:21:45.911944Z", + "image_count":0, "region":"fr-par"}, {"id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", + "name":"cli-public-namespace-1692550640656725191", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191", "is_public":true, + "size":2457364, "created_at":"2024-12-23T09:32:48.337044Z", "updated_at":"2024-12-23T09:33:13.801784Z", + "image_count":3, "region":"fr-par"}, {"id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", + "name":"cli-private-namespace-15460830706535999219", "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"ready", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219", + "is_public":false, "size":2263868, "created_at":"2024-12-23T09:32:48.528248Z", + "updated_at":"2024-12-23T09:33:46.985288Z", "image_count":3, "region":"fr-par"}], + "total_count":20}' headers: Content-Length: - - "1191" + - "9949" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:47 GMT + - Mon, 23 Dec 2024 09:33:48 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -717,31 +2283,41 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ac4d5fe7-163e-4d97-848f-c411b3f79a09 + - 612da09c-6024-4da6-8ca6-3cb42344fe21 status: 200 OK code: 200 duration: "" - request: - body: "" + body: '{"id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "name":"cli-public-namespace-1692550640656725191", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"deleting", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191", "is_public":true, + "size":2457364, "created_at":"2024-12-23T09:32:48.337044Z", "updated_at":"2024-12-23T09:33:48.207572928Z", + "image_count":3, "region":"fr-par"}' form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces/bbf6b158-7645-4e61-8168-d93fa8ca0b95 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test + url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces/e739a7d5-9c31-466a-a296-1bfb8c99e73b method: DELETE response: - body: '{"id":"bbf6b158-7645-4e61-8168-d93fa8ca0b95","name":"cli-public-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"deleting","status_message":"","endpoint":"rg.fr-par.scw.cloud/cli-public-namespace","is_public":true,"size":2244230,"created_at":"2020-06-03T16:53:16.197893Z","updated_at":"2020-06-03T16:53:47.412786323Z","image_count":3,"region":"fr-par"}' + body: '{"id":"e739a7d5-9c31-466a-a296-1bfb8c99e73b", "name":"cli-public-namespace-1692550640656725191", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"deleting", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191", "is_public":true, + "size":2457364, "created_at":"2024-12-23T09:32:48.337044Z", "updated_at":"2024-12-23T09:33:48.207572928Z", + "image_count":3, "region":"fr-par"}' headers: Content-Length: - - "398" + - "503" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:47 GMT + - Mon, 23 Dec 2024 09:33:48 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -749,31 +2325,41 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b2df7259-9be2-46b7-973e-e7ddd1eea4f4 + - 6a2577c6-37bb-4232-93de-674b8963bf39 status: 200 OK code: 200 duration: "" - request: - body: "" + body: '{"id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", "name":"cli-private-namespace-15460830706535999219", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"deleting", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219", + "is_public":false, "size":2263868, "created_at":"2024-12-23T09:32:48.528248Z", + "updated_at":"2024-12-23T09:33:48.277711643Z", "image_count":3, "region":"fr-par"}' form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.14.2; darwin; amd64) cli-e2e-test - url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces/91665e85-422e-480c-921c-560d0f1b2184 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test + url: https://api.scaleway.com/registry/v1/regions/fr-par/namespaces/3cea6e31-5689-4a3d-be81-6bcb486c1667 method: DELETE response: - body: '{"id":"91665e85-422e-480c-921c-560d0f1b2184","name":"cli-private-namespace","description":"","organization_id":"b3ba839a-dcf2-4b0a-ac81-fc32370052a0","status":"deleting","status_message":"","endpoint":"rg.fr-par.scw.cloud/cli-private-namespace","is_public":false,"size":1438442,"created_at":"2020-06-03T16:53:16.304460Z","updated_at":"2020-06-03T16:53:47.489781637Z","image_count":3,"region":"fr-par"}' + body: '{"id":"3cea6e31-5689-4a3d-be81-6bcb486c1667", "name":"cli-private-namespace-15460830706535999219", + "description":"", "organization_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", + "project_id":"5ebc0159-7cb7-406c-9521-9347d1987fb2", "status":"deleting", "status_message":"", + "endpoint":"rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219", + "is_public":false, "size":2263868, "created_at":"2024-12-23T09:32:48.528248Z", + "updated_at":"2024-12-23T09:33:48.277711643Z", "image_count":3, "region":"fr-par"}' headers: Content-Length: - - "401" + - "508" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 03 Jun 2020 16:53:47 GMT + - Mon, 23 Dec 2024 09:33:48 GMT Server: - - agw_listener_public_anycast + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -781,7 +2367,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4dd9d250-ae46-4f53-8fed-c677c1ab28a9 + - e043a1aa-f87f-417a-be78-018cdbb445a6 status: 200 OK code: 200 duration: "" diff --git a/internal/namespaces/registry/v1/testdata/test-image-list-simple.golden b/internal/namespaces/registry/v1/testdata/test-image-list-simple.golden index 92f361aec1..984eee31ff 100644 --- a/internal/namespaces/registry/v1/testdata/test-image-list-simple.golden +++ b/internal/namespaces/registry/v1/testdata/test-image-list-simple.golden @@ -1,118 +1,102 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 🟩🟩🟩 STDOUT️ 🟩🟩🟩️ -ID Full Name Size Visibility Status Created At Updated At -f091a7b6-561a-4741-9658-186f7141b681 rg.fr-par.scw.cloud/jquere01/alpine 2.8 MB private (inherit) ready few seconds ago few seconds ago -5edd2996-d00c-4d64-9629-e8ffe1c52ae1 rg.fr-par.scw.cloud/cli-public-namespace/visibility_public 760 kB public ready few seconds ago few seconds ago -16db06c2-2908-4a97-8dfa-35e1c7fa00ca rg.fr-par.scw.cloud/cli-public-namespace/visibility_private 756 kB private ready few seconds ago few seconds ago -d7982e5f-bd5d-447e-89b6-7bfff824314b rg.fr-par.scw.cloud/cli-public-namespace/visibility_inherit 728 kB public (inherit) ready few seconds ago few seconds ago -8b0f4705-78bf-4784-afe2-3cad5520410a rg.fr-par.scw.cloud/cli-private-namespace/visibility_public 723 kB private (inherit) ready few seconds ago few seconds ago -fe9f6354-b407-4fba-a5a0-82b9303e33c7 rg.fr-par.scw.cloud/cli-private-namespace/visibility_private 715 kB private (inherit) ready few seconds ago few seconds ago -93240794-3f93-40f3-a175-f32eb23797ca rg.fr-par.scw.cloud/cli-private-namespace/visibility_inherit 0 B private (inherit) ready few seconds ago few seconds ago +ID Full Name Size Visibility Status Created At Updated At +2d8149ff-2924-45b9-90e4-554315289d0d rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191/visibility_public 849 kB public ready few seconds ago few seconds ago +a59160cd-17ab-434f-9cc3-2e9be1bc7421 rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191/visibility_private 827 kB private ready few seconds ago few seconds ago +1b47179b-f83a-48ef-9053-0d552835b515 rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191/visibility_inherit 782 kB public (inherit) ready few seconds ago few seconds ago +3473aa94-af49-4894-baee-8a2989a4efe3 rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219/visibility_public 774 kB private (inherit) ready few seconds ago few seconds ago +0503b229-8e2c-4637-92ed-265a0e300abb rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219/visibility_private 773 kB private (inherit) ready few seconds ago few seconds ago +dd7eb919-3c31-43d9-abb6-9360cdf1fdb6 rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219/visibility_inherit 717 kB private (inherit) ready few seconds ago few seconds ago 🟩🟩🟩 JSON STDOUT 🟩🟩🟩 [ { - "id": "f091a7b6-561a-4741-9658-186f7141b681", - "name": "alpine", - "namespace_id": "9c7ad6f7-326d-44e6-a920-aea196ac897e", - "status": "ready", - "status_message": "", - "visibility": "inherit", - "size": 2797541, - "created_at": "1970-01-01T00:00:00.0Z", - "updated_at": "1970-01-01T00:00:00.0Z", - "tags": [ - "latest" - ], - "FullName": "rg.fr-par.scw.cloud/jquere01/alpine" - }, - { - "id": "5edd2996-d00c-4d64-9629-e8ffe1c52ae1", + "id": "2d8149ff-2924-45b9-90e4-554315289d0d", "name": "visibility_public", - "namespace_id": "bbf6b158-7645-4e61-8168-d93fa8ca0b95", + "namespace_id": "e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status": "ready", "status_message": "", "visibility": "public", - "size": 760455, + "size": 848871, "created_at": "1970-01-01T00:00:00.0Z", "updated_at": "1970-01-01T00:00:00.0Z", "tags": [ "latest" ], - "FullName": "rg.fr-par.scw.cloud/cli-public-namespace/visibility_public" + "FullName": "rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191/visibility_public" }, { - "id": "16db06c2-2908-4a97-8dfa-35e1c7fa00ca", + "id": "a59160cd-17ab-434f-9cc3-2e9be1bc7421", "name": "visibility_private", - "namespace_id": "bbf6b158-7645-4e61-8168-d93fa8ca0b95", + "namespace_id": "e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status": "ready", "status_message": "", "visibility": "private", - "size": 755813, + "size": 826573, "created_at": "1970-01-01T00:00:00.0Z", "updated_at": "1970-01-01T00:00:00.0Z", "tags": [ "latest" ], - "FullName": "rg.fr-par.scw.cloud/cli-public-namespace/visibility_private" + "FullName": "rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191/visibility_private" }, { - "id": "d7982e5f-bd5d-447e-89b6-7bfff824314b", + "id": "1b47179b-f83a-48ef-9053-0d552835b515", "name": "visibility_inherit", - "namespace_id": "bbf6b158-7645-4e61-8168-d93fa8ca0b95", + "namespace_id": "e739a7d5-9c31-466a-a296-1bfb8c99e73b", "status": "ready", "status_message": "", "visibility": "inherit", - "size": 727962, + "size": 781920, "created_at": "1970-01-01T00:00:00.0Z", "updated_at": "1970-01-01T00:00:00.0Z", "tags": [ "latest" ], - "FullName": "rg.fr-par.scw.cloud/cli-public-namespace/visibility_inherit" + "FullName": "rg.fr-par.scw.cloud/cli-public-namespace-1692550640656725191/visibility_inherit" }, { - "id": "8b0f4705-78bf-4784-afe2-3cad5520410a", + "id": "3473aa94-af49-4894-baee-8a2989a4efe3", "name": "visibility_public", - "namespace_id": "91665e85-422e-480c-921c-560d0f1b2184", + "namespace_id": "3cea6e31-5689-4a3d-be81-6bcb486c1667", "status": "ready", "status_message": "", "visibility": "inherit", - "size": 723146, + "size": 774338, "created_at": "1970-01-01T00:00:00.0Z", "updated_at": "1970-01-01T00:00:00.0Z", "tags": [ "latest" ], - "FullName": "rg.fr-par.scw.cloud/cli-private-namespace/visibility_public" + "FullName": "rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219/visibility_public" }, { - "id": "fe9f6354-b407-4fba-a5a0-82b9303e33c7", + "id": "0503b229-8e2c-4637-92ed-265a0e300abb", "name": "visibility_private", - "namespace_id": "91665e85-422e-480c-921c-560d0f1b2184", + "namespace_id": "3cea6e31-5689-4a3d-be81-6bcb486c1667", "status": "ready", "status_message": "", "visibility": "inherit", - "size": 715296, + "size": 772733, "created_at": "1970-01-01T00:00:00.0Z", "updated_at": "1970-01-01T00:00:00.0Z", "tags": [ "latest" ], - "FullName": "rg.fr-par.scw.cloud/cli-private-namespace/visibility_private" + "FullName": "rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219/visibility_private" }, { - "id": "93240794-3f93-40f3-a175-f32eb23797ca", + "id": "dd7eb919-3c31-43d9-abb6-9360cdf1fdb6", "name": "visibility_inherit", - "namespace_id": "91665e85-422e-480c-921c-560d0f1b2184", + "namespace_id": "3cea6e31-5689-4a3d-be81-6bcb486c1667", "status": "ready", "status_message": "", "visibility": "inherit", - "size": 0, + "size": 716797, "created_at": "1970-01-01T00:00:00.0Z", "updated_at": "1970-01-01T00:00:00.0Z", "tags": [ "latest" ], - "FullName": "rg.fr-par.scw.cloud/cli-private-namespace/visibility_inherit" + "FullName": "rg.fr-par.scw.cloud/cli-private-namespace-15460830706535999219/visibility_inherit" } ]