https://containers-api.ng.bluemix.net/v3/registry/namespaces/{namespace}This endpoint checks whether a namespace is available in Bluemix and can be used to set up the private Docker images registry for an organization. When a HTTP code `201 Ok` is returned, the namespace is already assigned to another organization in Bluemix and cannot be used. When a HTTP code `404 Not found` is returned, the namespace can be used for your organization. Consider the following rules when choosing a namespace for your organization: - Every organization can have one namespace at a time only - The namespace must be unique in Bluemix. - The namespace can be 4-30 characters long. - The namespace must start with at least one letter or number. - The namespace can only contain lowercase letters, numbers or underscores (_).
The name of the namespace that you would like to use for your organization and for which you would like to check availability in Bluemix.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request GET \2 --url 'https://containers-api.ng.bluemix.net/v3/registry/namespaces/{namespace}' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}https://containers-api.ng.bluemix.net/v3/registry/namespaces/{namespace}This endpoint checks whether a namespace is available in Bluemix and can be used to set up the private Docker images registry for an organization. When a HTTP code `201 Ok` is returned, the namespace is already assigned to another organization in Bluemix and cannot be used. When a HTTP code `404 Not found` is returned, the namespace can be used for your organization. Consider the following rules when choosing a namespace for your organization: - Every organization can have one namespace at a time only - The namespace must be unique in Bluemix. - The namespace can be 4-30 characters long. - The namespace must start with at least one letter or number. - The namespace can only contain lowercase letters, numbers or underscores (_).
The name of the namespace that you would like to use for your organization and for which you would like to check availability in Bluemix.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request GET \2 --url 'https://containers-api.ng.bluemix.net/v3/registry/namespaces/{namespace}' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}