Files
medusa-store/docs/api/admin/paths/apps_authorizations.yaml
2022-08-05 14:06:12 +02:00

35 lines
906 B
YAML

post:
operationId: PostApps
summary: Generates a token for an application.
description: Generates a token for an application.
x-authenticated: true
requestBody:
content:
application/json:
schema:
required:
- application_name
- state
- code
properties:
application_name:
type: string
description: Name of the application for the token to be generated for.
state:
type: string
description: State of the application.
code:
type: string
description: The code for the generated token.
tags:
- App
responses:
'200':
description: OK
content:
application/json:
schema:
properties:
apps:
$ref: ../components/schemas/OAuth.yaml