Returns a suggestion for a new namespace name.
Access: System administrators only.
Returns a suggestion for a new namespace name.
Access: System administrators only.
| name | type | description |
|---|---|---|
| runas | query | optional login name whose identity is used to execute the request (only available to users with the RunAs privilege) |
| code | condition |
|---|---|
| 200 | if the request was completed successfully |
| 401 | if the user is not authenticated (error code 401001) |
| 403 | if the user is not authorized to get suggestions for namespace names (403001) |
| media type | data type | description |
|---|---|---|
| application/json | NamespaceSuggestion (JSON) | a suggestion for a namespace name |
GET /namespaces/suggestion
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"self" : "http://example.org/namespaces/suggestion",
"suggestedName" : "urn:nbn:de:0815"
}