action bluemix_get_registry_namespaces_namespace { label: "Check the availability of a namespace" description: "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. \n\n Consider the following rules when choosing a namespace for your organization: \n\n- Every organization can have one namespace at a time only \n- The namespace must be unique in Bluemix. \n- The namespace can be 4-30 characters long. \n- The namespace must start with at least one letter or number. \n- The namespace can only contain lowercase letters, numbers or underscores (_). " provider: bluemix method: GET path: "/registry/namespaces/{namespace}" encoding: json input: { type: "object" properties: { "X-Auth-Project-Id": { type: "string" } "X-Auth-Token": { type: "string" } namespace: { type: "string" } } required: ["X-Auth-Project-Id", "X-Auth-Token", "namespace"] additionalProperties: false } output: { type: "object" properties: { namespace: { type: "string" description: "The namespace that is either set for an organization, or a namespace that is not available to be used in Bluemix." } } } }