mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2026-09-03 20:53:09 -05:00
add filter:api.user.signup.requires-approval.result (#7446)
* add filter:api.user.signup.requires-approval.result closes #6691 * update test * signup: dont mark /registrations/request as deprecated * fix broken tests * changes after review * Add offensive test for video filename check * PR fixes --------- Co-authored-by: Chocobozzz <me@florianbigard.com>
This commit is contained in:
co-authored by
Chocobozzz
parent
cc13efbf92
commit
5a9c09be7f
@@ -2790,8 +2790,20 @@ paths:
|
||||
tags:
|
||||
- Register
|
||||
responses:
|
||||
'204':
|
||||
'200':
|
||||
description: successful operation
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
state:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
$ref: '#/components/schemas/UserRegistrationState'
|
||||
label:
|
||||
type: string
|
||||
'400':
|
||||
description: request error
|
||||
'403':
|
||||
@@ -2818,7 +2830,15 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/UserRegistration'
|
||||
type: object
|
||||
properties:
|
||||
state:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
$ref: '#/components/schemas/UserRegistrationState'
|
||||
label:
|
||||
type: string
|
||||
'400':
|
||||
description: request error or signup approval is not enabled on the instance
|
||||
'403':
|
||||
|
||||
Reference in New Issue
Block a user