mirror of
https://github.com/OpenMaxIO/openmaxio-object-browser
synced 2026-07-01 07:41:18 -07:00
Added create namespace API (#808)
This commit is contained in:
29
swagger.yml
29
swagger.yml
@@ -2171,6 +2171,26 @@ paths:
|
||||
$ref: "#/definitions/error"
|
||||
tags:
|
||||
- AdminAPI
|
||||
|
||||
/namespace:
|
||||
post:
|
||||
summary: Creates a new Namespace with given information
|
||||
operationId: CreateNamespace
|
||||
parameters:
|
||||
- name: body
|
||||
in: body
|
||||
required: true
|
||||
schema:
|
||||
$ref: "#/definitions/namespace"
|
||||
responses:
|
||||
201:
|
||||
description: A successful response.
|
||||
default:
|
||||
description: Generic error response.
|
||||
schema:
|
||||
$ref: "#/definitions/error"
|
||||
tags:
|
||||
- AdminAPI
|
||||
|
||||
/namespaces/{namespace}/tenants:
|
||||
get:
|
||||
@@ -5218,5 +5238,12 @@ definitions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
|
||||
|
||||
namespace:
|
||||
type: object
|
||||
required:
|
||||
- name
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user