Files
medusa-store/docs-util/oas-output/operations/auth/post_auth_session.ts
2024-03-26 18:29:00 +01:00

34 lines
791 B
TypeScript

/**
* @oas [post] /auth/session
* operationId: PostSession
* summary: Create Session
* description: Create a session.
* x-authenticated: false
* parameters: []
* x-codeSamples:
* - lang: Shell
* label: cURL
* source: curl -X POST '{backend_url}/auth/session'
* tags:
* - Session
* responses:
* "400":
* $ref: "#/components/responses/400_error"
* "401":
* $ref: "#/components/responses/unauthorized"
* "404":
* $ref: "#/components/responses/not_found_error"
* "409":
* $ref: "#/components/responses/invalid_state_error"
* "422":
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
* requestBody:
* content:
* application/json:
* schema: {}
*
*/