# README
Ortelius v11 Domain Microservice
Version 11.0.0
RestAPI for the Domain Object
Path Table
Method | Path | Description |
---|---|---|
GET | /msapi/domain | Get a List of Domains |
POST | /msapi/domain | Create a Domain |
GET | /msapi/domain/:key | Get a Domain |
Reference Table
Name | Path | Description |
---|
Path Details
[GET]/msapi/domain
-
Summary
Get a List of Domains -
Description
Get a list of domains for the user.
Responses
- 200 OK
[POST]/msapi/domain
-
Summary
Create a Domain -
Description
Create a new Domain and persist it
Responses
- 200 OK
[GET]/msapi/domain/:key
-
Summary
Get a Domain -
Description
Get a domain based on the _key or name.
Responses
- 200 OK
References
# Packages
Package docs Code generated by swaggo/swag.
# Functions
GetDomain godoc @Summary Get a Domain @Description Get a domain based on the _key or name.
GetDomains godoc @Summary Get a List of Domains @Description Get a list of domains for the user.
NewDomain godoc @Summary Create a Domain @Description Create a new Domain and persist it @Tags domain @Accept application/json @Produce json @Success 200 @Router /msapi/domain [post].