diff options
Diffstat (limited to 'internal/api/client/admin/domainblockcreate.go')
| -rw-r--r-- | internal/api/client/admin/domainblockcreate.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/internal/api/client/admin/domainblockcreate.go b/internal/api/client/admin/domainblockcreate.go index e305d7e5a..421be70b0 100644 --- a/internal/api/client/admin/domainblockcreate.go +++ b/internal/api/client/admin/domainblockcreate.go @@ -103,21 +103,35 @@ import ( // schema: // "$ref": "#/definitions/domainPermission" // '400': +// schema: +// "$ref": "#/definitions/error" // description: bad request // '401': +// schema: +// "$ref": "#/definitions/error" // description: unauthorized // '403': +// schema: +// "$ref": "#/definitions/error" // description: forbidden // '404': +// schema: +// "$ref": "#/definitions/error" // description: not found // '406': +// schema: +// "$ref": "#/definitions/error" // description: not acceptable // '409': +// schema: +// "$ref": "#/definitions/error" // description: >- // Conflict: There is already an admin action running that conflicts with this action. // Check the error message in the response body for more information. This is a temporary // error; it should be possible to process this action if you try again in a bit. // '500': +// schema: +// "$ref": "#/definitions/error" // description: internal server error func (m *Module) DomainBlocksPOSTHandler(c *gin.Context) { m.createDomainPermissions(c, |
