forked from baron/baron-sso
샘플 adminfront, devfront 구성. ory-keto-migrate 오류 해결
This commit is contained in:
@@ -19,6 +19,8 @@ tags:
|
||||
description: 회원가입/검증
|
||||
- name: User
|
||||
description: 사용자 프로필
|
||||
- name: Session
|
||||
description: 세션 관리(계획)
|
||||
- name: Admin
|
||||
description: 관리자 기능/테넌트
|
||||
- name: Dev
|
||||
@@ -468,6 +470,68 @@ paths:
|
||||
schema:
|
||||
$ref: "#/components/schemas/MessageResponse"
|
||||
|
||||
/api/v1/sessions:
|
||||
get:
|
||||
tags: [Session]
|
||||
summary: 세션 목록
|
||||
description: 세션 관리 API는 계획 단계입니다.
|
||||
x-status: planned
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/SessionListResponse"
|
||||
|
||||
/api/v1/sessions/{id}:
|
||||
get:
|
||||
tags: [Session]
|
||||
summary: 세션 상세
|
||||
description: 세션 관리 API는 계획 단계입니다.
|
||||
x-status: planned
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/SessionDetailResponse"
|
||||
delete:
|
||||
tags: [Session]
|
||||
summary: 세션 로그아웃(폐기)
|
||||
description: 세션 관리 API는 계획 단계입니다.
|
||||
x-status: planned
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
"204":
|
||||
description: No Content
|
||||
|
||||
/api/v1/sessions/logout-all:
|
||||
post:
|
||||
tags: [Session]
|
||||
summary: 모든 세션 로그아웃
|
||||
description: 세션 관리 API는 계획 단계입니다.
|
||||
x-status: planned
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/MessageResponse"
|
||||
|
||||
/api/v1/admin/check:
|
||||
get:
|
||||
tags: [Admin]
|
||||
@@ -1029,6 +1093,36 @@ components:
|
||||
code:
|
||||
type: string
|
||||
|
||||
SessionSummary:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
issuedAt:
|
||||
type: string
|
||||
expiresAt:
|
||||
type: string
|
||||
device:
|
||||
type: string
|
||||
ip:
|
||||
type: string
|
||||
userAgent:
|
||||
type: string
|
||||
|
||||
SessionListResponse:
|
||||
type: object
|
||||
properties:
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/SessionSummary"
|
||||
|
||||
SessionDetailResponse:
|
||||
type: object
|
||||
properties:
|
||||
session:
|
||||
$ref: "#/components/schemas/SessionSummary"
|
||||
|
||||
TenantResponse:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
Reference in New Issue
Block a user