Get namespaces
GET/v2/projects/:projectId/import/all-namespaces
Returns all existing and imported namespaces
Request
Path Parameters
projectId int64required
Responses
- 200
- 400
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
_embedded object
namespaces object[]
id int64
The id of namespace. When null, namespace doesn't exist and will be created by import.
name stringrequired
{
"_embedded": {
"namespaces": [
{
"id": 10000048,
"name": "homepage"
}
]
}
}
Bad Request
- */*
- Schema
Schema
string
Unauthorized
- */*
- Schema
Schema
string
Forbidden
- */*
- Schema
Schema
string
Not Found
- */*
- Schema
Schema
string
Loading...