chore(docs): Generated API Reference (#2882)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
233d6904f8
commit
4814045036
@@ -7,21 +7,7 @@ post:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
required:
|
||||
- resource_id
|
||||
- resource_type
|
||||
- value
|
||||
properties:
|
||||
resource_id:
|
||||
type: string
|
||||
description: The ID of the resource which the Note relates to.
|
||||
resource_type:
|
||||
type: string
|
||||
description: The type of resource which the Note relates to.
|
||||
value:
|
||||
type: string
|
||||
description: The content of the Note to create.
|
||||
$ref: ../components/schemas/AdminPostNotesReq.yaml
|
||||
x-codeSamples:
|
||||
- lang: JavaScript
|
||||
label: JS Client
|
||||
@@ -45,7 +31,7 @@ post:
|
||||
type: object
|
||||
properties:
|
||||
note:
|
||||
$ref: ../components/schemas/note.yaml
|
||||
$ref: ../components/schemas/Note.yaml
|
||||
'400':
|
||||
$ref: ../components/responses/400_error.yaml
|
||||
'401':
|
||||
@@ -106,7 +92,7 @@ get:
|
||||
notes:
|
||||
type: array
|
||||
items:
|
||||
$ref: ../components/schemas/note.yaml
|
||||
$ref: ../components/schemas/Note.yaml
|
||||
count:
|
||||
type: integer
|
||||
description: The total number of items available
|
||||
|
||||
Reference in New Issue
Block a user