chore(docs): Updated API Reference (v2) (#8609)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4bd0917aed
commit
b23ddcdde8
@@ -204,11 +204,21 @@ get:
|
||||
- name: $and
|
||||
in: query
|
||||
required: false
|
||||
schema: {}
|
||||
schema:
|
||||
type: array
|
||||
description: The invite's $and.
|
||||
items:
|
||||
type: object
|
||||
title: $and
|
||||
- name: $or
|
||||
in: query
|
||||
required: false
|
||||
schema: {}
|
||||
schema:
|
||||
type: array
|
||||
description: The invite's $or.
|
||||
items:
|
||||
type: object
|
||||
title: $or
|
||||
x-codeSamples:
|
||||
- lang: Shell
|
||||
label: cURL
|
||||
@@ -217,6 +227,41 @@ get:
|
||||
tags:
|
||||
- Invites
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- type: object
|
||||
description: SUMMARY
|
||||
required:
|
||||
- limit
|
||||
- offset
|
||||
- count
|
||||
properties:
|
||||
limit:
|
||||
type: number
|
||||
title: limit
|
||||
description: The invite's limit.
|
||||
offset:
|
||||
type: number
|
||||
title: offset
|
||||
description: The invite's offset.
|
||||
count:
|
||||
type: number
|
||||
title: count
|
||||
description: The invite's count.
|
||||
- type: object
|
||||
description: SUMMARY
|
||||
required:
|
||||
- invites
|
||||
properties:
|
||||
invites:
|
||||
type: array
|
||||
description: The invite's invites.
|
||||
items:
|
||||
$ref: ../components/schemas/AdminInvite.yaml
|
||||
'400':
|
||||
$ref: ../components/responses/400_error.yaml
|
||||
'401':
|
||||
@@ -312,6 +357,12 @@ post:
|
||||
tags:
|
||||
- Invites
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: ../components/schemas/AdminInviteResponse.yaml
|
||||
'400':
|
||||
$ref: ../components/responses/400_error.yaml
|
||||
'401':
|
||||
|
||||
Reference in New Issue
Block a user