openapi: 3.0.1
info:
title: 'STEP1'
description: ''
version: ''
paths:
/dashboard/update:
post:
tags:
- dashboard
summary: dashboardupdate
description: hoge
operationId: updateDashboard
requestBody:
description: hoge
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/Dashboard'
responses:
default:
description: updatehoge
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResponse'
/dashboard/search:
get:
tags:
- dashboard
summary: searchlist Dashboards by ###
description: hoge
operationId: searchDashboard
parameters:
- $ref: '#/components/parameters/Dashboardquery2'
responses:
default:
description: searchlist
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Dashboard'
/dashboard/edit/{id}:
get:
tags:
- dashboards
summary: search Dashboards by ###
description: hoge
operationId: searchbyidDashboard
parameters:
- $ref: '#/components/parameters/Dashboardpath1'
responses:
default:
description: xxx
content:
application/json:
schema:
$ref: '#/components/schemas/Dashboard'
/dashboard/create:
post:
tags:
- dashboard
summary: create Dashboard
description: hoge
operationId: createDashboard
requestBody:
description: hoge
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/Dashboard'
responses:
default:
description: create
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResponse'
/dashboard/delete:
post:
tags:
- dashboard
summary: delete Dashboard
description: hoge
operationId: deleteDashboard
parameters:
- $ref: '#/components/parameters/Dashboardquery2'
responses:
default:
description: delete
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResponse'
components:
schemas:
ApiResponse:
type: object
properties:
code:
type: integer
format: int32
type:
type: string
message:
type: string
Dashboard:
type: object
properties:
id:
type: integer
format: int64
example: 9999
account_id:
type: string
example: hoge
sub_category_code:
type: string
example: hoge
team_code:
type: string
example: hoge
tag_code:
type: string
example: hoge
dashboard_title:
type: string
example: hoge
tab_key:
type: string
example: hoge
display_order:
type: integer
format: int64
example: 9999
width:
type: integer
format: int64
example: 9999
term_key:
type: string
example: hoge
chart_link_id:
type: string
example: hoge
create_datetime:
type: string
format: date-time
example: 2020-01-31T23:59:59+09:00
create_username:
type: string
example: hoge
update_datetime:
type: string
format: date-time
example: 2020-01-31T23:59:59+09:00
update_username:
type: string
example: hoge
is_deleted:
type: boolean
format: int64
example: 9999
deleted_datetime:
type: string
format: date-time
example: 2020-01-31T23:59:59+09:00
deleted_username:
type: string
example: hoge
parameters:
Dashboardpath1:
name: id
in: path
description: kkkkk
required: true
schema:
type: integer
format: int64
Dashboardquery2:
name: id
in: query
description: kkkkk
required: true
schema:
type: integer
format: int64
Dashboardquery3:
name: id
in: query
description: xxxx ID
required: true
schema:
type: integer
format: int64
example: 9999