chore(docs): Generated API Reference (#2882)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
co-authored by
olivermrbl
parent
233d6904f8
commit
4814045036
@@ -14,20 +14,8 @@ post:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
required:
|
||||
- sales_channel_ids
|
||||
properties:
|
||||
sales_channel_ids:
|
||||
description: The IDs of the sales channels to add to the publishable api key
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
required:
|
||||
- id
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
description: The ID of the sales channel
|
||||
$ref: >-
|
||||
../components/schemas/AdminPostPublishableApiKeySalesChannelsBatchReq.yaml
|
||||
x-codeSamples:
|
||||
- lang: JavaScript
|
||||
label: JS Client
|
||||
@@ -52,7 +40,7 @@ post:
|
||||
schema:
|
||||
properties:
|
||||
publishable_api_key:
|
||||
$ref: ../components/schemas/publishable_api_key.yaml
|
||||
$ref: ../components/schemas/PublishableApiKey.yaml
|
||||
'400':
|
||||
$ref: ../components/responses/400_error.yaml
|
||||
'401':
|
||||
@@ -81,22 +69,8 @@ delete:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
required:
|
||||
- sales_channel_ids
|
||||
properties:
|
||||
sales_channel_ids:
|
||||
description: >-
|
||||
The IDs of the sales channels to delete from the publishable api
|
||||
key
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
required:
|
||||
- id
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
description: The ID of the sales channel
|
||||
$ref: >-
|
||||
../components/schemas/AdminDeletePublishableApiKeySalesChannelsBatchReq.yaml
|
||||
x-codeSamples:
|
||||
- lang: JavaScript
|
||||
label: JS Client
|
||||
@@ -121,7 +95,7 @@ delete:
|
||||
schema:
|
||||
properties:
|
||||
publishable_api_key:
|
||||
$ref: ../components/schemas/publishable_api_key.yaml
|
||||
$ref: ../components/schemas/PublishableApiKey.yaml
|
||||
'400':
|
||||
$ref: ../components/responses/400_error.yaml
|
||||
'401':
|
||||
|
||||
Reference in New Issue
Block a user