List All Namespaces
Use this endpoint to List Namespaces
Authorized Roles : PROVIDER or ORG_ADMIN or ORG_USER
Request
URI
GET
https://{api_host}/provider/namespaces
COPY
Query Parameters
string
tenantId
Optional
ID of the tenant
integer
page
Optional
Constraints:
minimum: 0
default: 0
Zero-based page index (0..N)
integer
size
Optional
Constraints:
minimum: 1
default: 20
The size of the page to be returned
string of
array
sort
Optional
Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
Responses
200
OK
Returns
PagedModelNamespaceDto
of type(s)
application/vnd.vmware.dms-v1+json
{
"links": [
{
"rel": "string",
"href": "string",
"hreflang": "string",
"media": "string",
"title": "string",
"type": "string",
"deprecation": "string",
"profile": "string",
"name": "string"
}
],
"content": [
{
"id": "string",
"name": "string",
"description": "string",
"environment": {
"id": "string",
"name": "string"
},
"localStorages": [
{
"id": "string",
"name": "string",
"isDefault": false
}
],
"cloudStorages": [
{
"id": "string",
"name": "string",
"isDefault": false
}
],
"datastores": [
{
"id": "string",
"name": "string",
"moId": "string",
"isDefault": false
}
],
"appNetworks": [
{
"id": "string",
"name": "string",
"moId": "string",
"isDefault": false
}
],
"organisations": [
{
"id": "string",
"name": "string",
"isPublished": false,
"databaseCount": 0
}
],
"status": "string",
"runtimeInfo": [
{
"id": "string",
"namespaceId": "string",
"alertType": "string",
"alertLevel": "string",
"alertTime": "string"
}
],
"databaseCount": 0,
"lastUpdatedTime": "string",
"links": [
{
"rel": "string",
"href": "string",
"hreflang": "string",
"media": "string",
"title": "string",
"type": "string",
"deprecation": "string",
"profile": "string",
"name": "string"
}
]
}
],
"page": {
"size": 0,
"totalElements": 0,
"totalPages": 0,
"number": 0
}
}
array of
object
links
Optional
links
array of
object
content
Optional
content
object
page
Optional
page
400
Bad Request
Operation doesn't return any data structure
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/provider/namespaces
Namespace Information Operations
PUT
Update Namespace Alert Type As Verified
PUT
Publish Namespace To Organisation
DELETE
Un Publish Namespace From Organisation
PUT
Add Organisation To Namespace
DELETE
Remove Organisation From Namespace
GET
Get Namespace
PUT
Edit Namespace
DELETE
Delete Namespace
GET
List All Namespaces
POST
Create Namespace
GET
List All Namespace Runtime Info Histories
GET
Get Flagged Namespace Alert Types
GET
Get Datastore Storage Info By Namespace Id
GET
Get Namespace Active Resources
GET
Get Namespace Active Backup Storage Usage