## 概要 [Task4049: IF実装・修正](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/4049) - 音声ファイル名変更APIのIFを実装してリクエストパラメータのテストを実装しました。 - タスク一覧取得APIのレスポンスに生ファイル名を追加しました。 - OpenAPIの更新 ## レビューポイント - ファイル名変更APIのパスは適切でしょうか? - バリデータのチェックは適切でしょうか? ## UIの変更 - なし ## クエリの変更 - IFなのでなし ## 動作確認状況 - ローカルで確認 - 行った修正がデグレを発生させていないことを確認できるか - 具体的にどのような確認をしたか - 既存テストを実施して、タスク一覧についてはレスポンス期待値を修正。 - タスク一覧画面が正常に見えることを確認
5724 lines
177 KiB
JSON
5724 lines
177 KiB
JSON
{
|
||
"openapi": "3.0.0",
|
||
"paths": {
|
||
"/health": {
|
||
"get": {
|
||
"operationId": "checkHealth",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"responses": { "200": { "description": "" } }
|
||
}
|
||
},
|
||
"/auth/token": {
|
||
"post": {
|
||
"operationId": "token",
|
||
"summary": "",
|
||
"description": "AzureADB2Cでのサインイン後に払いだされるIDトークンを元に認証用のアクセストークンとリフレッシュトークンを生成します",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/TokenRequest" }
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/TokenResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー/同意済み利用規約が最新でない場合",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["auth"]
|
||
}
|
||
},
|
||
"/auth/accessToken": {
|
||
"post": {
|
||
"operationId": "accessToken",
|
||
"summary": "",
|
||
"description": "リフレッシュトークンを元にアクセストークンを再生成します",
|
||
"parameters": [],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/AccessTokenResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["auth"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/auth/delegation/token": {
|
||
"post": {
|
||
"operationId": "delegationToken",
|
||
"summary": "",
|
||
"description": "代行操作用のリフレッシュトークン・アクセストークンを生成します",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/DelegationTokenRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/DelegationTokenResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "指定したアカウントが代行操作を許可していない場合",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["auth"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/auth/delegation/access-token": {
|
||
"post": {
|
||
"operationId": "delegationAccessToken",
|
||
"summary": "",
|
||
"description": "代行操作用のアクセストークンを再生成します",
|
||
"parameters": [],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/DelegationAccessTokenResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["auth"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts": {
|
||
"post": {
|
||
"operationId": "createAccount",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/CreateAccountRequest" }
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/CreateAccountResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "登録済みユーザーからの登録など",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"]
|
||
}
|
||
},
|
||
"/accounts/licenses/summary": {
|
||
"post": {
|
||
"operationId": "getLicenseSummary",
|
||
"summary": "",
|
||
"description": "指定したアカウントのライセンス集計情報を取得します",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetLicenseSummaryRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetLicenseSummaryResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/me": {
|
||
"get": {
|
||
"operationId": "getMyAccount",
|
||
"summary": "",
|
||
"description": "ログインしているユーザーのアカウント情報を取得します",
|
||
"parameters": [],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetMyAccountResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "該当アカウントがDBに存在しない場合",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
},
|
||
"post": {
|
||
"operationId": "updateAccountInfo",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/UpdateAccountInfoRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/UpdateAccountInfoResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "パラメータ不正/アカウント・ユーザー不在/管理者ユーザ不在",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/authors": {
|
||
"get": {
|
||
"operationId": "getAuthors",
|
||
"summary": "",
|
||
"description": "ログインしているユーザーのアカウント配下のAuthor一覧を取得します",
|
||
"parameters": [],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/GetAuthorsResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/typists": {
|
||
"get": {
|
||
"operationId": "getTypists",
|
||
"summary": "",
|
||
"description": "ログインしているユーザーのアカウント配下のタイピスト一覧を取得します",
|
||
"parameters": [],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/GetTypistsResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/typist-groups": {
|
||
"get": {
|
||
"operationId": "getTypistGroups",
|
||
"summary": "",
|
||
"description": "ログインしているユーザーのアカウント配下のタイピストグループ一覧を取得します",
|
||
"parameters": [],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetTypistGroupsResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
},
|
||
"post": {
|
||
"operationId": "createTypistGroup",
|
||
"summary": "",
|
||
"description": "ログインしているユーザーのアカウント配下にタイピストグループを追加します",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/CreateTypistGroupRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/CreateTypistGroupResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "グループ名が空の場合/ユーザーが存在しない場合",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/typist-groups/{typistGroupId}": {
|
||
"get": {
|
||
"operationId": "getTypistGroup",
|
||
"summary": "",
|
||
"description": "ログインしているユーザーのアカウント配下でIDで指定されたタイピストグループを取得します",
|
||
"parameters": [
|
||
{
|
||
"name": "typistGroupId",
|
||
"required": true,
|
||
"in": "path",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetTypistGroupResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "グループが存在しない場合",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
},
|
||
"post": {
|
||
"operationId": "updateTypistGroup",
|
||
"summary": "",
|
||
"description": "ログインしているユーザーのアカウント配下でIDで指定されたタイピストグループを更新します",
|
||
"parameters": [
|
||
{
|
||
"name": "typistGroupId",
|
||
"required": true,
|
||
"in": "path",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/UpdateTypistGroupRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/CreateTypistGroupResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "グループ名が空の場合/ユーザーが存在しない場合",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/typist-groups/{typistGroupId}/delete": {
|
||
"post": {
|
||
"operationId": "deleteTypistGroup",
|
||
"summary": "",
|
||
"description": "ログインしているユーザーのアカウント配下でIDで指定されたタイピストグループを削除します",
|
||
"parameters": [
|
||
{
|
||
"name": "typistGroupId",
|
||
"required": true,
|
||
"in": "path",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/DeleteTypistGroupResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "ルーティングルールに設定されている / タスクの割り当て候補に設定されている / 削除済み",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/partner": {
|
||
"post": {
|
||
"operationId": "createPartnerAccount",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/CreatePartnerAccountRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/CreatePartnerAccountResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "登録済みユーザーからの登録など",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/partner-licenses": {
|
||
"post": {
|
||
"operationId": "getPartnerLicenses",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetPartnerLicensesRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetPartnerLicensesResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/order-histories": {
|
||
"post": {
|
||
"operationId": "getOrderHistories",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetOrderHistoriesRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetOrderHistoriesResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/licenses/issue": {
|
||
"post": {
|
||
"operationId": "issueLicense",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/IssueLicenseRequest" }
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/IssueLicenseResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "自身のライセンス数が不足している場合/すでに対象注文が発行済の場合",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/dealers": {
|
||
"get": {
|
||
"operationId": "getDealers",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/GetDealersResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"]
|
||
}
|
||
},
|
||
"/accounts/issue/cancel": {
|
||
"post": {
|
||
"operationId": "cancelIssue",
|
||
"summary": "",
|
||
"description": "ライセンス発行をキャンセルします",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/CancelIssueRequest" }
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/CancelIssueResponse" }
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "対象注文のステータスが発行済以外/発行日から15日以降/ライセンスをユーザに割り当てている",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/worktypes": {
|
||
"get": {
|
||
"operationId": "getWorktypes",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetWorktypesResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
},
|
||
"post": {
|
||
"operationId": "createWorktype",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/CreateWorktypesRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/CreateWorktypeResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "WorktypeIDが重複 / WorktypeIDが空 / WorktypeIDが20件登録済み",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/worktypes/{id}": {
|
||
"post": {
|
||
"operationId": "updateWorktype",
|
||
"summary": "",
|
||
"parameters": [
|
||
{
|
||
"name": "id",
|
||
"required": true,
|
||
"in": "path",
|
||
"description": "Worktypeの内部ID",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/UpdateWorktypesRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/UpdateWorktypeResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "WorktypeIDが重複 / WorktypeIDが空",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/worktypes/{id}/delete": {
|
||
"post": {
|
||
"operationId": "deleteWorktype",
|
||
"summary": "",
|
||
"parameters": [
|
||
{
|
||
"name": "id",
|
||
"required": true,
|
||
"in": "path",
|
||
"description": "Worktypeの内部ID",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/DeleteWorktypeResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "指定WorktypeIDが削除済み / 指定WorktypeIDがWorkflowで使用中",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/worktypes/{id}/option-items": {
|
||
"get": {
|
||
"operationId": "getOptionItems",
|
||
"summary": "",
|
||
"parameters": [
|
||
{
|
||
"name": "id",
|
||
"required": true,
|
||
"in": "path",
|
||
"description": "Worktypeの内部ID",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetOptionItemsResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "WorktypeIDが不在",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
},
|
||
"post": {
|
||
"operationId": "updateOptionItems",
|
||
"summary": "",
|
||
"parameters": [
|
||
{
|
||
"name": "id",
|
||
"required": true,
|
||
"in": "path",
|
||
"description": "Worktypeの内部ID",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/UpdateOptionItemsRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/UpdateOptionItemsResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "WorktypeIDが不在",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/active-worktype": {
|
||
"post": {
|
||
"operationId": "activeWorktype",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/PostActiveWorktypeRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/PostActiveWorktypeResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "WorktypeIDが存在しない",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/partners": {
|
||
"get": {
|
||
"operationId": "getPartners",
|
||
"summary": "",
|
||
"parameters": [
|
||
{
|
||
"name": "limit",
|
||
"required": true,
|
||
"in": "query",
|
||
"description": "取得件数",
|
||
"schema": { "type": "number" }
|
||
},
|
||
{
|
||
"name": "offset",
|
||
"required": true,
|
||
"in": "query",
|
||
"description": "開始位置",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/GetPartnersResponse" }
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "パラメータ不正",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/me/file-delete-setting": {
|
||
"post": {
|
||
"operationId": "updateFileDeleteSetting",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/UpdateFileDeleteSettingRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/UpdateFileDeleteSettingResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "パラメータ不正/アカウント・ユーザー不在",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/delete": {
|
||
"post": {
|
||
"operationId": "deleteAccountAndData",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/DeleteAccountRequest" }
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/UpdateAccountInfoResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "DBアクセスに失敗しログインできる状態で処理が終了した場合",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/minimal-access": {
|
||
"post": {
|
||
"operationId": "getAccountInfoMinimalAccess",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetAccountInfoMinimalAccessRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetAccountInfoMinimalAccessResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "対象のユーザーIDが存在しない場合",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"]
|
||
}
|
||
},
|
||
"/accounts/company-name": {
|
||
"post": {
|
||
"operationId": "getCompanyName",
|
||
"summary": "",
|
||
"description": "指定したアカウントの会社名を取得します",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/GetCompanyNameRequest" }
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetCompanyNameResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/restriction-status": {
|
||
"post": {
|
||
"operationId": "updateRestrictionStatus",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/UpdateRestrictionStatusRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/UpdateRestrictionStatusResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "パラメータ不正",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/parent/switch": {
|
||
"post": {
|
||
"operationId": "switchParent",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/SwitchParentRequest" }
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/SwitchParentResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "パラメータ不正",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/partner/delete": {
|
||
"post": {
|
||
"operationId": "deletePartnerAccount",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/DeletePartnerAccountRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/DeletePartnerAccountResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "実施者との親子関係不正や下位アカウント存在など削除実施条件に合致しない",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/partner/users": {
|
||
"post": {
|
||
"operationId": "getPartnerUsers",
|
||
"summary": "",
|
||
"description": "パートナーアカウントのユーザー情報を取得します(開発規約に基づき、他のAPIと合わせてGETではなくPOSTを使用)",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetPartnerUsersRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetPartnerUsersResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "パラメータ不正/API実行者と取得対象が親子関係ではない",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/accounts/partner/update": {
|
||
"post": {
|
||
"operationId": "updatePartnerInfo",
|
||
"summary": "",
|
||
"description": "パートナーアカウントの情報を更新します",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/UpdatePartnerInfoRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/UpdatePartnerInfoResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "パラメータ不正/API実行者と取得対象が親子関係ではない/アカウントが不在/プライマリ管理者が同一アカウント内にいない",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["accounts"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/users/confirm": {
|
||
"post": {
|
||
"operationId": "confirmUser",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ConfirmRequest" }
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ConfirmResponse" }
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なトークン",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["users"]
|
||
}
|
||
},
|
||
"/users/confirm/initpassword": {
|
||
"post": {
|
||
"operationId": "confirmUserAndInitPassword",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ConfirmRequest" }
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ConfirmResponse" }
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なトークン",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["users"]
|
||
}
|
||
},
|
||
"/users": {
|
||
"get": {
|
||
"operationId": "getUsers",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/GetUsersResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["users"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/users/signup": {
|
||
"post": {
|
||
"operationId": "signup",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/SignupRequest" }
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/SignupResponse" }
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "登録済みメールによる再登録、AuthorIDの重複など",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["users"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/users/relations": {
|
||
"get": {
|
||
"operationId": "getRelations",
|
||
"summary": "",
|
||
"description": "ログインしているユーザーに関連する各種情報を取得します",
|
||
"parameters": [],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetRelationsResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["users"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/users/sort-criteria": {
|
||
"post": {
|
||
"operationId": "updateSortCriteria",
|
||
"summary": "",
|
||
"description": "ログインしているユーザーのタスクソート条件を更新します",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/PostSortCriteriaRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/PostSortCriteriaResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["users"],
|
||
"security": [{ "bearer": [] }]
|
||
},
|
||
"get": {
|
||
"operationId": "getSortCriteria",
|
||
"summary": "",
|
||
"description": "ログインしているユーザーのタスクソート条件を取得します",
|
||
"parameters": [],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetSortCriteriaResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["users"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/users/update": {
|
||
"post": {
|
||
"operationId": "updateUser",
|
||
"summary": "",
|
||
"description": "ユーザーの情報を更新します",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/PostUpdateUserRequest" }
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/PostUpdateUserResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["users"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/users/license/allocate": {
|
||
"post": {
|
||
"operationId": "allocateLicense",
|
||
"summary": "",
|
||
"description": "ライセンスを割り当てます",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AllocateLicenseRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AllocateLicenseResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "割り当て失敗時",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["users"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/users/license/deallocate": {
|
||
"post": {
|
||
"operationId": "deallocateLicense",
|
||
"summary": "",
|
||
"description": "ライセンス割り当てを解除します",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/DeallocateLicenseRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/DeallocateLicenseResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "すでにライセンスが割り当て解除されている時",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["users"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/users/accepted-version": {
|
||
"post": {
|
||
"operationId": "updateAcceptedVersion",
|
||
"summary": "",
|
||
"description": "利用規約同意バージョンを更新",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/UpdateAcceptedVersionRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/UpdateAcceptedVersionResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "パラメータ不正/対象のユーザidが存在しない場合",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["users"]
|
||
}
|
||
},
|
||
"/users/me": {
|
||
"get": {
|
||
"operationId": "getMyUser",
|
||
"summary": "",
|
||
"description": "ログインしているユーザーの情報を取得します",
|
||
"parameters": [],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/GetMyUserResponse" }
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "該当ユーザーがDBに存在しない場合",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["users"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/users/delete": {
|
||
"post": {
|
||
"operationId": "deleteUser",
|
||
"summary": "",
|
||
"description": "ユーザーを削除します",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/PostDeleteUserRequest" }
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/PostDeleteUserResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["users"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/users/multiple-imports": {
|
||
"post": {
|
||
"operationId": "multipleImports",
|
||
"summary": "",
|
||
"description": "ユーザーを一括登録します",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/PostMultipleImportsRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/PostMultipleImportsResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["users"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/users/multiple-imports/complete": {
|
||
"post": {
|
||
"operationId": "multipleImportsComplate",
|
||
"summary": "",
|
||
"description": "ユーザー一括登録の完了を通知します",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/PostMultipleImportsCompleteRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/PostMultipleImportsCompleteResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["users"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/files/audio/upload-finished": {
|
||
"post": {
|
||
"operationId": "uploadFinished",
|
||
"summary": "",
|
||
"description": "アップロードが完了した音声ファイルの情報を登録し、文字起こしタスクを生成します",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AudioUploadFinishedRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AudioUploadFinishedResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["files"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/files/audio/upload-location": {
|
||
"get": {
|
||
"operationId": "uploadLocation",
|
||
"summary": "",
|
||
"description": "ログイン中ユーザー用のBlob Storage上の音声ファイルのアップロード先アクセスURLを取得します",
|
||
"parameters": [],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AudioUploadLocationResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["files"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/files/audio/download-location": {
|
||
"get": {
|
||
"operationId": "downloadLocation",
|
||
"summary": "",
|
||
"description": "指定した音声ファイルのBlob Storage上のダウンロード先アクセスURLを取得します",
|
||
"parameters": [
|
||
{
|
||
"name": "audioFileId",
|
||
"required": true,
|
||
"in": "query",
|
||
"description": "ODMSCloud上で管理する音声ファイルのID",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/AudioDownloadLocationResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["files"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/files/template/download-location": {
|
||
"get": {
|
||
"operationId": "downloadTemplateLocation",
|
||
"summary": "",
|
||
"description": "指定した音声ファイルに対応したテンプレートファイルのBlob Storage上のダウンロード先アクセスURLを取得します",
|
||
"parameters": [
|
||
{
|
||
"name": "audioFileId",
|
||
"required": true,
|
||
"in": "query",
|
||
"description": "文字起こし対象の音声ファイルID",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/TemplateDownloadLocationResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["files"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/files/template/upload-location": {
|
||
"get": {
|
||
"operationId": "uploadTemplateLocation",
|
||
"summary": "",
|
||
"description": "ログイン中ユーザー用のBlob Storage上のテンプレートファイルのアップロード先アクセスURLを取得します",
|
||
"parameters": [],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/TemplateUploadLocationResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["files"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/files/template/upload-finished": {
|
||
"post": {
|
||
"operationId": "uploadTemplateFinished",
|
||
"summary": "",
|
||
"description": "アップロードが完了したテンプレートファイルの情報を登録します",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/TemplateUploadFinishedRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/TemplateUploadFinishedReqponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["files"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/files/rename": {
|
||
"post": {
|
||
"operationId": "fileRename",
|
||
"summary": "",
|
||
"description": "音声ファイルの表示ファイル名を変更します",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/FileRenameRequest" }
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/FileRenameResponse" }
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["files"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/tasks": {
|
||
"get": {
|
||
"operationId": "getTasks",
|
||
"summary": "",
|
||
"description": "音声ファイル・文字起こしタスク情報をページ指定して取得します",
|
||
"parameters": [
|
||
{
|
||
"name": "limit",
|
||
"required": false,
|
||
"in": "query",
|
||
"description": "タスクの取得件数(指定しない場合はデフォルト値)",
|
||
"schema": { "default": 200, "type": "number" }
|
||
},
|
||
{
|
||
"name": "offset",
|
||
"required": false,
|
||
"in": "query",
|
||
"description": "オフセット(何件目から取得するか 設定しない場合はデフォルト値)",
|
||
"schema": { "default": 0, "type": "number" }
|
||
},
|
||
{
|
||
"name": "status",
|
||
"required": false,
|
||
"in": "query",
|
||
"description": "取得対象とするタスクのステータス。カンマ(,)区切りで複数指定可能。設定されない場合はすべてのステータスを取得対象とする。許容するステータスの値は次の通り: Uploaded / Pending / InProgress / Finished / Backup",
|
||
"example": "Uploaded,Pending,InProgress",
|
||
"schema": { "type": "string" }
|
||
},
|
||
{
|
||
"name": "direction",
|
||
"required": false,
|
||
"in": "query",
|
||
"description": "ASC/DESC",
|
||
"schema": { "type": "string" }
|
||
},
|
||
{
|
||
"name": "paramName",
|
||
"required": false,
|
||
"in": "query",
|
||
"description": "JOB_NUMBER/STATUS/ENCRYPTION/AUTHOR_ID/WORK_TYPE/FILE_NAME/FILE_LENGTH/FILE_SIZE/RECORDING_STARTED_DATE/RECORDING_FINISHED_DATE/UPLOAD_DATE/TRANSCRIPTION_STARTED_DATE/TRANSCRIPTION_FINISHED_DATE",
|
||
"schema": { "type": "string" }
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/TasksResponse" }
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["tasks"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/tasks/next": {
|
||
"get": {
|
||
"operationId": "getNextAudioFile",
|
||
"summary": "",
|
||
"description": "指定した文字起こしタスクの次のタスクに紐づく音声ファイルIDを取得します",
|
||
"parameters": [
|
||
{
|
||
"name": "endedFileId",
|
||
"required": true,
|
||
"in": "query",
|
||
"description": "文字起こし完了したタスクの音声ファイルID",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/AudioNextResponse" }
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["tasks"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/tasks/{audioFileId}/checkout": {
|
||
"post": {
|
||
"operationId": "checkout",
|
||
"summary": "",
|
||
"description": "指定した文字起こしタスクをチェックアウトします(ステータスをInprogressにします)",
|
||
"parameters": [
|
||
{
|
||
"name": "audioFileId",
|
||
"required": true,
|
||
"in": "path",
|
||
"description": "ODMS Cloud上の音声ファイルID",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/ChangeStatusResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"404": {
|
||
"description": "指定したIDの音声ファイルが存在しない場合",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["tasks"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/tasks/{audioFileId}/checkin": {
|
||
"post": {
|
||
"operationId": "checkin",
|
||
"summary": "",
|
||
"description": "指定した文字起こしタスクをチェックインします(ステータスをFinishedにします)",
|
||
"parameters": [
|
||
{
|
||
"name": "audioFileId",
|
||
"required": true,
|
||
"in": "path",
|
||
"description": "ODMS Cloud上の音声ファイルID",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/ChangeStatusResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"404": {
|
||
"description": "指定したIDの音声ファイルが存在しない場合",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["tasks"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/tasks/{audioFileId}/cancel": {
|
||
"post": {
|
||
"operationId": "cancel",
|
||
"summary": "",
|
||
"description": "指定した文字起こしタスクをキャンセルします(ステータスをUploadedにします)",
|
||
"parameters": [
|
||
{
|
||
"name": "audioFileId",
|
||
"required": true,
|
||
"in": "path",
|
||
"description": "ODMS Cloud上の音声ファイルID",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/ChangeStatusResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"404": {
|
||
"description": "指定したIDの音声ファイルが存在しない場合",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["tasks"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/tasks/{audioFileId}/suspend": {
|
||
"post": {
|
||
"operationId": "suspend",
|
||
"summary": "",
|
||
"description": "指定した文字起こしタスクを一時中断します(ステータスをPendingにします)",
|
||
"parameters": [
|
||
{
|
||
"name": "audioFileId",
|
||
"required": true,
|
||
"in": "path",
|
||
"description": "ODMS Cloud上の音声ファイルID",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/ChangeStatusResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"404": {
|
||
"description": "指定したIDの音声ファイルが存在しない場合",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["tasks"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/tasks/{audioFileId}/backup": {
|
||
"post": {
|
||
"operationId": "backup",
|
||
"summary": "",
|
||
"description": "指定した文字起こしタスクをバックアップします(ステータスをBackupにします)",
|
||
"parameters": [
|
||
{
|
||
"name": "audioFileId",
|
||
"required": true,
|
||
"in": "path",
|
||
"description": "ODMS Cloud上の音声ファイルID",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/ChangeStatusResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"404": {
|
||
"description": "指定したIDの音声ファイルが存在しない場合",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["tasks"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/tasks/{audioFileId}/checkout-permission": {
|
||
"post": {
|
||
"operationId": "changeCheckoutPermission",
|
||
"summary": "",
|
||
"description": "指定した文字起こしタスクのチェックアウト候補を変更します。",
|
||
"parameters": [
|
||
{
|
||
"name": "audioFileId",
|
||
"required": true,
|
||
"in": "path",
|
||
"description": "ODMS Cloud上の音声ファイルID",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/PostCheckoutPermissionRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/PostCheckoutPermissionResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ(タスクのステータス不正、指定ユーザー不正など)",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"404": {
|
||
"description": "指定したIDの音声ファイルが存在しない",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["tasks"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/tasks/{audioFileId}/delete": {
|
||
"post": {
|
||
"operationId": "deleteTask",
|
||
"summary": "",
|
||
"description": "指定した文字起こしタスクを削除します。",
|
||
"parameters": [
|
||
{
|
||
"name": "audioFileId",
|
||
"required": true,
|
||
"in": "path",
|
||
"description": "ODMS Cloud上の音声ファイルID",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/PostDeleteTaskResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["tasks"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/licenses/orders": {
|
||
"post": {
|
||
"operationId": "createOrders",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/CreateOrdersRequest" }
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/CreateOrdersResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "同一PONumberの注文がすでに存在する場合など",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["licenses"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/licenses/cards": {
|
||
"post": {
|
||
"operationId": "issueCardLicenses",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/IssueCardLicensesRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/IssueCardLicensesResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["licenses"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/licenses/cards/activate": {
|
||
"post": {
|
||
"operationId": "activateCardLicenses",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/ActivateCardLicensesRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/ActivateCardLicensesResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "パラメータのライセンスキーが不正な内容の場合/存在しない場合/登録済みの場合",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["licenses"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/licenses/allocatable": {
|
||
"get": {
|
||
"operationId": "getAllocatableLicenses",
|
||
"summary": "",
|
||
"description": "割り当て可能なライセンスを取得します",
|
||
"parameters": [],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetAllocatableLicensesResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["licenses"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/licenses/orders/cancel": {
|
||
"post": {
|
||
"operationId": "cancelOrder",
|
||
"summary": "",
|
||
"description": "ライセンス注文をキャンセルします",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/CancelOrderRequest" }
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/CancelOrderResponse" }
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "対象注文のステータスが発行待ち状態でないとき",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["licenses"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/templates": {
|
||
"get": {
|
||
"operationId": "getTemplates",
|
||
"summary": "",
|
||
"description": "アカウント内のテンプレートファイルの一覧を取得します",
|
||
"parameters": [],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetTemplatesResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["templates"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/templates/{templateFileId}/delete": {
|
||
"post": {
|
||
"operationId": "deleteTemplateFile",
|
||
"summary": "",
|
||
"description": "ログインしているユーザーのアカウント配下でIDで指定されたテンプレートファイルを削除します",
|
||
"parameters": [
|
||
{
|
||
"name": "templateFileId",
|
||
"required": true,
|
||
"in": "path",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/DeleteTemplateResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "ルーティングルールに設定されている / 未完了タスクに紐づいている / 削除済み",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["templates"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/workflows": {
|
||
"get": {
|
||
"operationId": "getWorkflows",
|
||
"summary": "",
|
||
"description": "アカウント内のワークフローの一覧を取得します",
|
||
"parameters": [],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetWorkflowsResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["workflows"],
|
||
"security": [{ "bearer": [] }]
|
||
},
|
||
"post": {
|
||
"operationId": "createWorkflows",
|
||
"summary": "",
|
||
"description": "アカウント内にワークフローを新規作成します",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/CreateWorkflowsRequest"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/CreateWorkflowsResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "パラメータ不正エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["workflows"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/workflows/{workflowId}": {
|
||
"post": {
|
||
"operationId": "updateWorkflow",
|
||
"summary": "",
|
||
"description": "アカウント内のワークフローを編集します",
|
||
"parameters": [
|
||
{
|
||
"name": "workflowId",
|
||
"required": true,
|
||
"in": "path",
|
||
"description": "ワークフローの内部ID",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/UpdateWorkflowRequest" }
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/UpdateWorkflowResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "パラメータ不正エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["workflows"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/workflows/{workflowId}/delete": {
|
||
"post": {
|
||
"operationId": "deleteWorkflow",
|
||
"summary": "",
|
||
"description": "アカウント内のワークフローを削除します",
|
||
"parameters": [
|
||
{
|
||
"name": "workflowId",
|
||
"required": true,
|
||
"in": "path",
|
||
"description": "ワークフローの内部ID",
|
||
"schema": { "type": "number" }
|
||
}
|
||
],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/DeleteWorkflowResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "パラメータ不正エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["workflows"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/notification/register": {
|
||
"post": {
|
||
"operationId": "register",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"requestBody": {
|
||
"required": true,
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/RegisterRequest" }
|
||
}
|
||
}
|
||
},
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/RegisterResponse" }
|
||
}
|
||
}
|
||
},
|
||
"400": {
|
||
"description": "不正なパラメータ",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"401": {
|
||
"description": "認証エラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["notification"],
|
||
"security": [{ "bearer": [] }]
|
||
}
|
||
},
|
||
"/terms": {
|
||
"get": {
|
||
"operationId": "getTermsInfo",
|
||
"summary": "",
|
||
"parameters": [],
|
||
"responses": {
|
||
"200": {
|
||
"description": "成功時のレスポンス",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": {
|
||
"$ref": "#/components/schemas/GetTermsInfoResponse"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"500": {
|
||
"description": "想定外のサーバーエラー",
|
||
"content": {
|
||
"application/json": {
|
||
"schema": { "$ref": "#/components/schemas/ErrorResponse" }
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"tags": ["terms"]
|
||
}
|
||
}
|
||
},
|
||
"info": {
|
||
"title": "ODMSOpenAPI",
|
||
"description": "",
|
||
"version": "1.0.0",
|
||
"contact": {}
|
||
},
|
||
"tags": [],
|
||
"servers": [],
|
||
"components": {
|
||
"securitySchemes": {
|
||
"bearer": { "scheme": "bearer", "bearerFormat": "JWT", "type": "http" }
|
||
},
|
||
"schemas": {
|
||
"TokenRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"idToken": { "type": "string" },
|
||
"type": {
|
||
"type": "string",
|
||
"description": "web or mobile or desktop"
|
||
}
|
||
},
|
||
"required": ["idToken", "type"]
|
||
},
|
||
"TokenResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"refreshToken": { "type": "string" },
|
||
"accessToken": { "type": "string" }
|
||
},
|
||
"required": ["refreshToken", "accessToken"]
|
||
},
|
||
"ErrorResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"message": { "type": "string" },
|
||
"code": { "type": "string" }
|
||
},
|
||
"required": ["message", "code"]
|
||
},
|
||
"AccessTokenResponse": {
|
||
"type": "object",
|
||
"properties": { "accessToken": { "type": "string" } },
|
||
"required": ["accessToken"]
|
||
},
|
||
"DelegationTokenRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"delegatedAccountId": {
|
||
"type": "number",
|
||
"description": "代行操作対象のアカウントID"
|
||
}
|
||
},
|
||
"required": ["delegatedAccountId"]
|
||
},
|
||
"DelegationTokenResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"refreshToken": {
|
||
"type": "string",
|
||
"description": "代行操作用のリフレッシュトークン"
|
||
},
|
||
"accessToken": {
|
||
"type": "string",
|
||
"description": "代行操作用のアクセストークン"
|
||
}
|
||
},
|
||
"required": ["refreshToken", "accessToken"]
|
||
},
|
||
"DelegationAccessTokenResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"accessToken": {
|
||
"type": "string",
|
||
"description": "代行操作用のアクセストークン"
|
||
}
|
||
},
|
||
"required": ["accessToken"]
|
||
},
|
||
"CreateAccountRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"companyName": { "type": "string" },
|
||
"country": {
|
||
"type": "string",
|
||
"description": "国名(ISO 3166-1 alpha-2)",
|
||
"minLength": 2,
|
||
"maxLength": 2
|
||
},
|
||
"dealerAccountId": { "type": "number" },
|
||
"adminName": { "type": "string" },
|
||
"adminMail": { "type": "string" },
|
||
"adminPassword": { "type": "string" },
|
||
"acceptedEulaVersion": {
|
||
"type": "string",
|
||
"description": "同意済み利用規約のバージョン(EULA)"
|
||
},
|
||
"acceptedPrivacyNoticeVersion": {
|
||
"type": "string",
|
||
"description": "同意済みプライバシーポリシーのバージョン"
|
||
},
|
||
"acceptedDpaVersion": {
|
||
"type": "string",
|
||
"description": "同意済み利用規約のバージョン(DPA)"
|
||
},
|
||
"token": { "type": "string", "description": "reCAPTCHA Token" }
|
||
},
|
||
"required": [
|
||
"companyName",
|
||
"country",
|
||
"adminName",
|
||
"adminMail",
|
||
"adminPassword",
|
||
"acceptedEulaVersion",
|
||
"acceptedPrivacyNoticeVersion",
|
||
"acceptedDpaVersion",
|
||
"token"
|
||
]
|
||
},
|
||
"CreateAccountResponse": { "type": "object", "properties": {} },
|
||
"GetLicenseSummaryRequest": {
|
||
"type": "object",
|
||
"properties": { "accountId": { "type": "number" } },
|
||
"required": ["accountId"]
|
||
},
|
||
"GetLicenseSummaryResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"totalLicense": { "type": "number" },
|
||
"allocatedLicense": { "type": "number" },
|
||
"reusableLicense": { "type": "number" },
|
||
"freeLicense": { "type": "number" },
|
||
"expiringWithin14daysLicense": { "type": "number" },
|
||
"issueRequesting": { "type": "number" },
|
||
"numberOfRequesting": { "type": "number" },
|
||
"shortage": { "type": "number" },
|
||
"storageSize": { "type": "number" },
|
||
"usedSize": { "type": "number" },
|
||
"isStorageAvailable": { "type": "boolean" }
|
||
},
|
||
"required": [
|
||
"totalLicense",
|
||
"allocatedLicense",
|
||
"reusableLicense",
|
||
"freeLicense",
|
||
"expiringWithin14daysLicense",
|
||
"issueRequesting",
|
||
"numberOfRequesting",
|
||
"shortage",
|
||
"storageSize",
|
||
"usedSize",
|
||
"isStorageAvailable"
|
||
]
|
||
},
|
||
"Account": {
|
||
"type": "object",
|
||
"properties": {
|
||
"accountId": { "type": "number" },
|
||
"companyName": { "type": "string" },
|
||
"tier": { "type": "number" },
|
||
"country": { "type": "string" },
|
||
"parentAccountId": { "type": "number" },
|
||
"delegationPermission": { "type": "boolean" },
|
||
"autoFileDelete": { "type": "boolean" },
|
||
"fileRetentionDays": { "type": "number" },
|
||
"primaryAdminUserId": { "type": "number" },
|
||
"secondryAdminUserId": { "type": "number" },
|
||
"parentAccountName": { "type": "string" }
|
||
},
|
||
"required": [
|
||
"accountId",
|
||
"companyName",
|
||
"tier",
|
||
"country",
|
||
"delegationPermission",
|
||
"autoFileDelete",
|
||
"fileRetentionDays"
|
||
]
|
||
},
|
||
"GetMyAccountResponse": {
|
||
"type": "object",
|
||
"properties": { "account": { "$ref": "#/components/schemas/Account" } },
|
||
"required": ["account"]
|
||
},
|
||
"Author": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": { "type": "number", "description": "Authorユーザーの内部ID" },
|
||
"authorId": { "type": "string", "description": "AuthorID" }
|
||
},
|
||
"required": ["id", "authorId"]
|
||
},
|
||
"GetAuthorsResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"authors": {
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/Author" }
|
||
}
|
||
},
|
||
"required": ["authors"]
|
||
},
|
||
"Typist": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": { "type": "number", "description": "TypistのユーザーID" },
|
||
"name": { "type": "string", "description": "Typistのユーザー名" }
|
||
},
|
||
"required": ["id", "name"]
|
||
},
|
||
"GetTypistsResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"typists": {
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/Typist" }
|
||
}
|
||
},
|
||
"required": ["typists"]
|
||
},
|
||
"TypistGroup": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": { "type": "number", "description": "TypistGroupのID" },
|
||
"name": { "type": "string", "description": "TypistGroup名" }
|
||
},
|
||
"required": ["id", "name"]
|
||
},
|
||
"GetTypistGroupsResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"typistGroups": {
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/TypistGroup" }
|
||
}
|
||
},
|
||
"required": ["typistGroups"]
|
||
},
|
||
"GetTypistGroupResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"typistGroupName": { "type": "string" },
|
||
"typistIds": { "type": "array", "items": { "type": "integer" } }
|
||
},
|
||
"required": ["typistGroupName", "typistIds"]
|
||
},
|
||
"CreateTypistGroupRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"typistGroupName": {
|
||
"type": "string",
|
||
"minLength": 1,
|
||
"maxLength": 50
|
||
},
|
||
"typistIds": {
|
||
"minItems": 1,
|
||
"type": "array",
|
||
"items": { "type": "integer" }
|
||
}
|
||
},
|
||
"required": ["typistGroupName", "typistIds"]
|
||
},
|
||
"CreateTypistGroupResponse": { "type": "object", "properties": {} },
|
||
"UpdateTypistGroupRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"typistGroupName": {
|
||
"type": "string",
|
||
"minLength": 1,
|
||
"maxLength": 50
|
||
},
|
||
"typistIds": {
|
||
"minItems": 1,
|
||
"type": "array",
|
||
"items": { "type": "integer" }
|
||
}
|
||
},
|
||
"required": ["typistGroupName", "typistIds"]
|
||
},
|
||
"DeleteTypistGroupResponse": { "type": "object", "properties": {} },
|
||
"CreatePartnerAccountRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"companyName": { "type": "string" },
|
||
"country": {
|
||
"type": "string",
|
||
"description": "国名(ISO 3166-1 alpha-2)",
|
||
"minLength": 2,
|
||
"maxLength": 2
|
||
},
|
||
"adminName": { "type": "string" },
|
||
"email": { "type": "string" }
|
||
},
|
||
"required": ["companyName", "country", "adminName", "email"]
|
||
},
|
||
"CreatePartnerAccountResponse": { "type": "object", "properties": {} },
|
||
"GetPartnerLicensesRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"limit": { "type": "number" },
|
||
"offset": { "type": "number" },
|
||
"accountId": { "type": "number" }
|
||
},
|
||
"required": ["limit", "offset", "accountId"]
|
||
},
|
||
"PartnerLicenseInfo": {
|
||
"type": "object",
|
||
"properties": {
|
||
"accountId": { "type": "number", "description": "アカウントID" },
|
||
"tier": { "type": "number", "description": "階層" },
|
||
"companyName": { "type": "string", "description": "アカウント名" },
|
||
"stockLicense": {
|
||
"type": "number",
|
||
"description": "保有している有効期限が未設定あるいは有効期限内のライセンス数"
|
||
},
|
||
"issuedRequested": {
|
||
"type": "number",
|
||
"description": "子アカウントからの、未発行状態あるいは発行キャンセルされた注文の総ライセンス数"
|
||
},
|
||
"shortage": {
|
||
"type": "number",
|
||
"description": "不足数({Stock license} - {Issue Requested})"
|
||
},
|
||
"issueRequesting": {
|
||
"type": "number",
|
||
"description": "未発行状態あるいは発行キャンセルされた注文の総ライセンス数(=IssueRequestingのStatusの注文の総ライセンス数)"
|
||
}
|
||
},
|
||
"required": [
|
||
"accountId",
|
||
"tier",
|
||
"companyName",
|
||
"stockLicense",
|
||
"issuedRequested",
|
||
"shortage",
|
||
"issueRequesting"
|
||
]
|
||
},
|
||
"GetPartnerLicensesResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"total": { "type": "number" },
|
||
"ownPartnerLicense": {
|
||
"$ref": "#/components/schemas/PartnerLicenseInfo"
|
||
},
|
||
"childrenPartnerLicenses": {
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/PartnerLicenseInfo" }
|
||
}
|
||
},
|
||
"required": ["total", "ownPartnerLicense", "childrenPartnerLicenses"]
|
||
},
|
||
"GetOrderHistoriesRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"limit": { "type": "number", "description": "取得件数" },
|
||
"offset": { "type": "number", "description": "開始位置" },
|
||
"accountId": { "type": "number", "description": "アカウントID" }
|
||
},
|
||
"required": ["limit", "offset", "accountId"]
|
||
},
|
||
"LicenseOrder": {
|
||
"type": "object",
|
||
"properties": {
|
||
"orderDate": { "type": "string", "description": "注文日付" },
|
||
"issueDate": { "type": "string", "description": "発行日付" },
|
||
"numberOfOrder": { "type": "number", "description": "注文数" },
|
||
"poNumber": { "type": "string", "description": "POナンバー" },
|
||
"status": { "type": "string", "description": "注文状態" }
|
||
},
|
||
"required": ["orderDate", "numberOfOrder", "poNumber", "status"]
|
||
},
|
||
"GetOrderHistoriesResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"total": { "type": "number", "description": "合計件数" },
|
||
"orderHistories": {
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/LicenseOrder" }
|
||
}
|
||
},
|
||
"required": ["total", "orderHistories"]
|
||
},
|
||
"IssueLicenseRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"orderedAccountId": {
|
||
"type": "number",
|
||
"description": "注文元アカウントID"
|
||
},
|
||
"poNumber": { "type": "string", "description": "POナンバー" }
|
||
},
|
||
"required": ["orderedAccountId", "poNumber"]
|
||
},
|
||
"IssueLicenseResponse": { "type": "object", "properties": {} },
|
||
"Dealer": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": { "type": "number", "description": "アカウントID" },
|
||
"name": { "type": "string", "description": "会社名" },
|
||
"country": {
|
||
"type": "string",
|
||
"description": "国名(ISO 3166-1 alpha-2)"
|
||
}
|
||
},
|
||
"required": ["id", "name", "country"]
|
||
},
|
||
"GetDealersResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"dealers": {
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/Dealer" }
|
||
}
|
||
},
|
||
"required": ["dealers"]
|
||
},
|
||
"CancelIssueRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"orderedAccountId": {
|
||
"type": "number",
|
||
"description": "注文元アカウントID"
|
||
},
|
||
"poNumber": { "type": "string", "description": "POナンバー" }
|
||
},
|
||
"required": ["orderedAccountId", "poNumber"]
|
||
},
|
||
"CancelIssueResponse": { "type": "object", "properties": {} },
|
||
"Worktype": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": { "type": "number", "description": "WorktypeのID" },
|
||
"worktypeId": { "type": "string", "description": "WorktypeID" },
|
||
"description": { "type": "string", "description": "Worktypeの説明" }
|
||
},
|
||
"required": ["id", "worktypeId"]
|
||
},
|
||
"GetWorktypesResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"worktypes": {
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/Worktype" }
|
||
},
|
||
"active": {
|
||
"type": "number",
|
||
"description": "Active WorktypeIDに設定されているWorkTypeの内部ID"
|
||
}
|
||
},
|
||
"required": ["worktypes"]
|
||
},
|
||
"CreateWorktypesRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"worktypeId": {
|
||
"type": "string",
|
||
"minLength": 1,
|
||
"maxLength": 255,
|
||
"description": "WorktypeID"
|
||
},
|
||
"description": { "type": "string", "description": "Worktypeの説明" }
|
||
},
|
||
"required": ["worktypeId"]
|
||
},
|
||
"CreateWorktypeResponse": { "type": "object", "properties": {} },
|
||
"UpdateWorktypesRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"worktypeId": {
|
||
"type": "string",
|
||
"minLength": 1,
|
||
"description": "WorktypeID"
|
||
},
|
||
"description": { "type": "string", "description": "Worktypeの説明" }
|
||
},
|
||
"required": ["worktypeId"]
|
||
},
|
||
"UpdateWorktypeResponse": { "type": "object", "properties": {} },
|
||
"DeleteWorktypeResponse": { "type": "object", "properties": {} },
|
||
"GetWorktypeOptionItem": {
|
||
"type": "object",
|
||
"properties": {
|
||
"itemLabel": { "type": "string", "maxLength": 16 },
|
||
"defaultValueType": {
|
||
"type": "string",
|
||
"maxLength": 20,
|
||
"description": "Default / Blank / LastInput"
|
||
},
|
||
"initialValue": { "type": "string", "maxLength": 20 },
|
||
"id": { "type": "number" }
|
||
},
|
||
"required": ["itemLabel", "defaultValueType", "initialValue", "id"]
|
||
},
|
||
"GetOptionItemsResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"optionItems": {
|
||
"maxItems": 10,
|
||
"minItems": 10,
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/GetWorktypeOptionItem" }
|
||
}
|
||
},
|
||
"required": ["optionItems"]
|
||
},
|
||
"PostWorktypeOptionItem": {
|
||
"type": "object",
|
||
"properties": {
|
||
"itemLabel": { "type": "string", "maxLength": 16 },
|
||
"defaultValueType": {
|
||
"type": "string",
|
||
"maxLength": 20,
|
||
"description": "Default / Blank / LastInput"
|
||
},
|
||
"initialValue": { "type": "string", "maxLength": 20 }
|
||
},
|
||
"required": ["itemLabel", "defaultValueType", "initialValue"]
|
||
},
|
||
"UpdateOptionItemsRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"optionItems": {
|
||
"maxItems": 10,
|
||
"minItems": 10,
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/PostWorktypeOptionItem" }
|
||
}
|
||
},
|
||
"required": ["optionItems"]
|
||
},
|
||
"UpdateOptionItemsResponse": { "type": "object", "properties": {} },
|
||
"PostActiveWorktypeRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": {
|
||
"type": "number",
|
||
"description": "Active WorkTypeIDにするWorktypeの内部ID"
|
||
}
|
||
}
|
||
},
|
||
"PostActiveWorktypeResponse": { "type": "object", "properties": {} },
|
||
"Partner": {
|
||
"type": "object",
|
||
"properties": {
|
||
"name": { "type": "string", "description": "会社名" },
|
||
"tier": { "type": "number", "description": "階層" },
|
||
"accountId": { "type": "number", "description": "アカウントID" },
|
||
"country": { "type": "string", "description": "国" },
|
||
"primaryAdmin": {
|
||
"type": "string",
|
||
"description": "プライマリ管理者"
|
||
},
|
||
"email": {
|
||
"type": "string",
|
||
"description": "プライマリ管理者メールアドレス"
|
||
},
|
||
"dealerManagement": {
|
||
"type": "boolean",
|
||
"description": "代行操作許可"
|
||
}
|
||
},
|
||
"required": [
|
||
"name",
|
||
"tier",
|
||
"accountId",
|
||
"country",
|
||
"primaryAdmin",
|
||
"email",
|
||
"dealerManagement"
|
||
]
|
||
},
|
||
"GetPartnersResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"total": { "type": "number", "description": "合計件数" },
|
||
"partners": {
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/Partner" }
|
||
}
|
||
},
|
||
"required": ["total", "partners"]
|
||
},
|
||
"UpdateAccountInfoRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"parentAccountId": {
|
||
"type": "number",
|
||
"description": "親アカウントのID"
|
||
},
|
||
"delegationPermission": {
|
||
"type": "boolean",
|
||
"description": "代行操作許可"
|
||
},
|
||
"primaryAdminUserId": {
|
||
"type": "number",
|
||
"description": "プライマリ管理者ID"
|
||
},
|
||
"secondryAdminUserId": {
|
||
"type": "number",
|
||
"description": "セカンダリ管理者ID"
|
||
}
|
||
},
|
||
"required": ["delegationPermission", "primaryAdminUserId"]
|
||
},
|
||
"UpdateAccountInfoResponse": { "type": "object", "properties": {} },
|
||
"UpdateFileDeleteSettingRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"autoFileDelete": {
|
||
"type": "boolean",
|
||
"description": "自動ファイル削除をするかどうか"
|
||
},
|
||
"retentionDays": {
|
||
"type": "number",
|
||
"description": "文字起こし完了してから自動ファイル削除されるまでのファイルの保存期間"
|
||
}
|
||
},
|
||
"required": ["autoFileDelete", "retentionDays"]
|
||
},
|
||
"UpdateFileDeleteSettingResponse": { "type": "object", "properties": {} },
|
||
"DeleteAccountRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"accountId": { "type": "number", "description": "アカウントID" }
|
||
},
|
||
"required": ["accountId"]
|
||
},
|
||
"GetAccountInfoMinimalAccessRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"idToken": { "type": "string", "description": "idトークン" }
|
||
},
|
||
"required": ["idToken"]
|
||
},
|
||
"GetAccountInfoMinimalAccessResponse": {
|
||
"type": "object",
|
||
"properties": { "tier": { "type": "number", "description": "階層" } },
|
||
"required": ["tier"]
|
||
},
|
||
"GetCompanyNameRequest": {
|
||
"type": "object",
|
||
"properties": { "accountId": { "type": "number" } },
|
||
"required": ["accountId"]
|
||
},
|
||
"GetCompanyNameResponse": {
|
||
"type": "object",
|
||
"properties": { "companyName": { "type": "string" } },
|
||
"required": ["companyName"]
|
||
},
|
||
"UpdateRestrictionStatusRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"accountId": {
|
||
"type": "number",
|
||
"description": "操作対象の第五階層アカウントID"
|
||
},
|
||
"restricted": {
|
||
"type": "boolean",
|
||
"description": "制限をかけるかどうか(trur:制限をかける)"
|
||
}
|
||
},
|
||
"required": ["accountId", "restricted"]
|
||
},
|
||
"UpdateRestrictionStatusResponse": { "type": "object", "properties": {} },
|
||
"SwitchParentRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"to": {
|
||
"type": "number",
|
||
"description": "切り替え先の親アカウントID"
|
||
},
|
||
"children": {
|
||
"minItems": 1,
|
||
"description": "親を変更したいアカウントIDのリスト",
|
||
"type": "array",
|
||
"items": { "type": "integer" }
|
||
}
|
||
},
|
||
"required": ["to", "children"]
|
||
},
|
||
"SwitchParentResponse": { "type": "object", "properties": {} },
|
||
"DeletePartnerAccountRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"targetAccountId": {
|
||
"type": "number",
|
||
"description": "削除対象のアカウントID"
|
||
}
|
||
},
|
||
"required": ["targetAccountId"]
|
||
},
|
||
"DeletePartnerAccountResponse": { "type": "object", "properties": {} },
|
||
"GetPartnerUsersRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"targetAccountId": {
|
||
"type": "number",
|
||
"description": "取得対象のアカウントID"
|
||
}
|
||
},
|
||
"required": ["targetAccountId"]
|
||
},
|
||
"PartnerUser": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": { "type": "number", "description": "ユーザーID" },
|
||
"name": { "type": "string", "description": "ユーザー名" },
|
||
"email": { "type": "string", "description": "メールアドレス" },
|
||
"isPrimaryAdmin": {
|
||
"type": "boolean",
|
||
"description": "プライマリ管理者かどうか"
|
||
}
|
||
},
|
||
"required": ["id", "name", "email", "isPrimaryAdmin"]
|
||
},
|
||
"GetPartnerUsersResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"users": {
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/PartnerUser" }
|
||
}
|
||
},
|
||
"required": ["users"]
|
||
},
|
||
"UpdatePartnerInfoRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"targetAccountId": {
|
||
"type": "number",
|
||
"description": "変更対象アカウントID"
|
||
},
|
||
"primaryAdminUserId": {
|
||
"type": "number",
|
||
"description": "プライマリ管理者ID"
|
||
},
|
||
"companyName": { "type": "string", "description": "会社名" }
|
||
},
|
||
"required": ["targetAccountId", "primaryAdminUserId", "companyName"]
|
||
},
|
||
"UpdatePartnerInfoResponse": { "type": "object", "properties": {} },
|
||
"ConfirmRequest": {
|
||
"type": "object",
|
||
"properties": { "token": { "type": "string" } },
|
||
"required": ["token"]
|
||
},
|
||
"ConfirmResponse": { "type": "object", "properties": {} },
|
||
"User": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": { "type": "number" },
|
||
"name": { "type": "string" },
|
||
"role": { "type": "string", "description": "none/author/typist" },
|
||
"authorId": { "type": "string" },
|
||
"typistGroupName": { "type": "array", "items": { "type": "string" } },
|
||
"email": { "type": "string" },
|
||
"emailVerified": { "type": "boolean" },
|
||
"autoRenew": { "type": "boolean" },
|
||
"notification": { "type": "boolean" },
|
||
"encryption": { "type": "boolean" },
|
||
"prompt": { "type": "boolean" },
|
||
"expiration": { "type": "string" },
|
||
"remaining": { "type": "number" },
|
||
"licenseStatus": {
|
||
"type": "string",
|
||
"description": "Normal/NoLicense/Alert/Renew"
|
||
}
|
||
},
|
||
"required": [
|
||
"id",
|
||
"name",
|
||
"role",
|
||
"typistGroupName",
|
||
"email",
|
||
"emailVerified",
|
||
"autoRenew",
|
||
"notification",
|
||
"encryption",
|
||
"prompt",
|
||
"licenseStatus"
|
||
]
|
||
},
|
||
"GetUsersResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"users": {
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/User" }
|
||
}
|
||
},
|
||
"required": ["users"]
|
||
},
|
||
"SignupRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"name": { "type": "string" },
|
||
"role": { "type": "string", "description": "none/author/typist" },
|
||
"authorId": { "type": "string" },
|
||
"email": { "type": "string" },
|
||
"autoRenew": { "type": "boolean" },
|
||
"notification": { "type": "boolean" },
|
||
"encryption": { "type": "boolean" },
|
||
"encryptionPassword": { "type": "string" },
|
||
"prompt": { "type": "boolean" }
|
||
},
|
||
"required": ["name", "role", "email", "autoRenew", "notification"]
|
||
},
|
||
"SignupResponse": { "type": "object", "properties": {} },
|
||
"OptionItem": {
|
||
"type": "object",
|
||
"properties": {
|
||
"label": {
|
||
"type": "string",
|
||
"minLength": 1,
|
||
"maxLength": 16,
|
||
"description": "Option Itemのラベル"
|
||
},
|
||
"initialValueType": {
|
||
"type": "number",
|
||
"description": "項目タイプ 1:Blank/2:Default/3:前の値"
|
||
},
|
||
"defaultValue": {
|
||
"type": "string",
|
||
"minLength": 1,
|
||
"maxLength": 20,
|
||
"description": "typeでDefaultを選択した場合のデフォルト値"
|
||
}
|
||
},
|
||
"required": ["label", "initialValueType", "defaultValue"]
|
||
},
|
||
"OptionItemList": {
|
||
"type": "object",
|
||
"properties": {
|
||
"workTypeId": { "type": "string" },
|
||
"optionItemList": {
|
||
"maxItems": 10,
|
||
"description": "1WorkTypeIDにつき、10個まで登録可能",
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/OptionItem" }
|
||
}
|
||
},
|
||
"required": ["workTypeId", "optionItemList"]
|
||
},
|
||
"GetRelationsResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"authorId": {
|
||
"type": "string",
|
||
"description": "ログインしたユーザーのAuthorID(Authorでない場合はundefined)"
|
||
},
|
||
"authorIdList": {
|
||
"description": "属しているアカウントのAuthorID List(全て)",
|
||
"type": "array",
|
||
"items": { "type": "string" }
|
||
},
|
||
"workTypeList": {
|
||
"maxItems": 20,
|
||
"description": "アカウントに設定されているWorktypeIDのリスト(最大20個)",
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/OptionItemList" }
|
||
},
|
||
"isEncrypted": {
|
||
"type": "boolean",
|
||
"description": "ユーザーが音声ファイルを暗号化するかどうか"
|
||
},
|
||
"encryptionPassword": {
|
||
"type": "string",
|
||
"description": "ユーザーが暗号化を掛ける場合のパスワード"
|
||
},
|
||
"activeWorktype": {
|
||
"type": "string",
|
||
"description": "アカウントがデフォルトで利用するWorkTypeID(アカウントに紐づくWorkTypeIDから一つ指定。activeWorktypeがなければ空文字を返却する)"
|
||
},
|
||
"audioFormat": {
|
||
"type": "string",
|
||
"description": "録音形式: DSS/DS2(SP)/DS2(QP): DS2固定"
|
||
},
|
||
"prompt": {
|
||
"type": "boolean",
|
||
"description": "デバイス上で自動的にWorkTypeの選択画面を表示するかどうかのユーザーごとの設定(Authorでない場合はfalse)"
|
||
}
|
||
},
|
||
"required": [
|
||
"authorIdList",
|
||
"workTypeList",
|
||
"isEncrypted",
|
||
"activeWorktype",
|
||
"audioFormat",
|
||
"prompt"
|
||
]
|
||
},
|
||
"PostSortCriteriaRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"direction": { "type": "string", "description": "ASC/DESC" },
|
||
"paramName": {
|
||
"type": "string",
|
||
"description": "JOB_NUMBER/STATUS/ENCRYPTION/AUTHOR_ID/WORK_TYPE/FILE_NAME/FILE_LENGTH/FILE_SIZE/RECORDING_STARTED_DATE/RECORDING_FINISHED_DATE/UPLOAD_DATE/TRANSCRIPTION_STARTED_DATE/TRANSCRIPTION_FINISHED_DATE"
|
||
}
|
||
},
|
||
"required": ["direction", "paramName"]
|
||
},
|
||
"PostSortCriteriaResponse": { "type": "object", "properties": {} },
|
||
"GetSortCriteriaResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"direction": { "type": "string", "description": "ASC/DESC" },
|
||
"paramName": {
|
||
"type": "string",
|
||
"description": "JOB_NUMBER/STATUS/ENCRYPTION/AUTHOR_ID/WORK_TYPE/FILE_NAME/FILE_LENGTH/FILE_SIZE/RECORDING_STARTED_DATE/RECORDING_FINISHED_DATE/UPLOAD_DATE/TRANSCRIPTION_STARTED_DATE/TRANSCRIPTION_FINISHED_DATE"
|
||
}
|
||
},
|
||
"required": ["direction", "paramName"]
|
||
},
|
||
"PostUpdateUserRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": { "type": "number" },
|
||
"role": { "type": "string", "description": "none/author/typist" },
|
||
"authorId": { "type": "string" },
|
||
"autoRenew": { "type": "boolean" },
|
||
"notification": { "type": "boolean" },
|
||
"encryption": { "type": "boolean" },
|
||
"encryptionPassword": { "type": "string" },
|
||
"prompt": { "type": "boolean" }
|
||
},
|
||
"required": ["id", "role", "autoRenew", "notification"]
|
||
},
|
||
"PostUpdateUserResponse": { "type": "object", "properties": {} },
|
||
"AllocateLicenseRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"userId": { "type": "number", "description": "ユーザーID" },
|
||
"newLicenseId": {
|
||
"type": "number",
|
||
"description": "割り当てるライセンスのID"
|
||
}
|
||
},
|
||
"required": ["userId", "newLicenseId"]
|
||
},
|
||
"AllocateLicenseResponse": { "type": "object", "properties": {} },
|
||
"DeallocateLicenseRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"userId": { "type": "number", "description": "ユーザーID" }
|
||
},
|
||
"required": ["userId"]
|
||
},
|
||
"DeallocateLicenseResponse": { "type": "object", "properties": {} },
|
||
"UpdateAcceptedVersionRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"idToken": { "type": "string", "description": "IDトークン" },
|
||
"acceptedEULAVersion": {
|
||
"type": "string",
|
||
"description": "更新バージョン(EULA)"
|
||
},
|
||
"acceptedPrivacyNoticeVersion": {
|
||
"type": "string",
|
||
"description": "更新バージョン(PrivacyNotice)"
|
||
},
|
||
"acceptedDPAVersion": {
|
||
"type": "string",
|
||
"description": "更新バージョン(DPA)"
|
||
}
|
||
},
|
||
"required": [
|
||
"idToken",
|
||
"acceptedEULAVersion",
|
||
"acceptedPrivacyNoticeVersion"
|
||
]
|
||
},
|
||
"UpdateAcceptedVersionResponse": { "type": "object", "properties": {} },
|
||
"GetMyUserResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"userName": { "type": "string", "description": "ユーザー名" }
|
||
},
|
||
"required": ["userName"]
|
||
},
|
||
"PostDeleteUserRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"userId": { "type": "number", "description": "削除対象のユーザーID" }
|
||
},
|
||
"required": ["userId"]
|
||
},
|
||
"PostDeleteUserResponse": { "type": "object", "properties": {} },
|
||
"MultipleImportUser": {
|
||
"type": "object",
|
||
"properties": {
|
||
"name": { "type": "string", "description": "ユーザー名" },
|
||
"email": { "type": "string", "description": "メールアドレス" },
|
||
"role": {
|
||
"type": "number",
|
||
"description": "0(none)/1(author)/2(typist)"
|
||
},
|
||
"authorId": { "type": "string" },
|
||
"autoRenew": { "type": "number", "description": "0(false)/1(true)" },
|
||
"notification": {
|
||
"type": "number",
|
||
"description": "0(false)/1(true)"
|
||
},
|
||
"encryption": { "type": "number", "description": "0(false)/1(true)" },
|
||
"encryptionPassword": { "type": "string" },
|
||
"prompt": { "type": "number", "description": "0(false)/1(true)" }
|
||
},
|
||
"required": ["name", "email", "role", "autoRenew", "notification"]
|
||
},
|
||
"PostMultipleImportsRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"filename": { "type": "string", "description": "CSVファイル名" },
|
||
"users": {
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/MultipleImportUser" }
|
||
}
|
||
},
|
||
"required": ["filename", "users"]
|
||
},
|
||
"PostMultipleImportsResponse": { "type": "object", "properties": {} },
|
||
"MultipleImportErrors": {
|
||
"type": "object",
|
||
"properties": {
|
||
"name": { "type": "string", "description": "ユーザー名" },
|
||
"line": { "type": "number", "description": "エラー発生行数" },
|
||
"errorCode": { "type": "string", "description": "エラーコード" }
|
||
},
|
||
"required": ["name", "line", "errorCode"]
|
||
},
|
||
"PostMultipleImportsCompleteRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"accountId": { "type": "number", "description": "アカウントID" },
|
||
"filename": { "type": "string", "description": "CSVファイル名" },
|
||
"requestTime": {
|
||
"type": "number",
|
||
"description": "一括登録受付時刻(UNIXTIME/ミリ秒)"
|
||
},
|
||
"errors": {
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/MultipleImportErrors" }
|
||
}
|
||
},
|
||
"required": ["accountId", "filename", "requestTime", "errors"]
|
||
},
|
||
"PostMultipleImportsCompleteResponse": {
|
||
"type": "object",
|
||
"properties": {}
|
||
},
|
||
"AudioOptionItem": {
|
||
"type": "object",
|
||
"properties": {
|
||
"optionItemLabel": {
|
||
"type": "string",
|
||
"minLength": 1,
|
||
"maxLength": 16
|
||
},
|
||
"optionItemValue": {
|
||
"type": "string",
|
||
"minLength": 1,
|
||
"maxLength": 20
|
||
}
|
||
},
|
||
"required": ["optionItemLabel", "optionItemValue"]
|
||
},
|
||
"AudioUploadFinishedRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"url": {
|
||
"type": "string",
|
||
"description": "アップロード先Blob Storage(ファイル名含む)"
|
||
},
|
||
"authorId": {
|
||
"type": "string",
|
||
"description": "自分自身(ログイン認証)したAuthorID"
|
||
},
|
||
"fileName": { "type": "string", "description": "音声ファイル名" },
|
||
"duration": {
|
||
"type": "string",
|
||
"description": "音声ファイルの録音時間(ミリ秒の整数値)"
|
||
},
|
||
"createdDate": {
|
||
"type": "string",
|
||
"description": "音声ファイルの録音作成日時(開始日時)(yyyy-mm-ddThh:mm:ss.sss)"
|
||
},
|
||
"finishedDate": {
|
||
"type": "string",
|
||
"description": "音声ファイルの録音作成終了日時(yyyy-mm-ddThh:mm:ss.sss)"
|
||
},
|
||
"uploadedDate": {
|
||
"type": "string",
|
||
"description": "音声ファイルのアップロード日時(yyyy-mm-ddThh:mm:ss.sss)"
|
||
},
|
||
"fileSize": {
|
||
"type": "number",
|
||
"description": "音声ファイルのファイルサイズ(Byte)"
|
||
},
|
||
"priority": {
|
||
"type": "string",
|
||
"description": "優先度 \"00\":Normal / \"01\":High"
|
||
},
|
||
"audioFormat": {
|
||
"type": "string",
|
||
"description": "録音形式: DSS/DS2(SP)/DS2(QP)"
|
||
},
|
||
"comment": { "type": "string" },
|
||
"workType": { "type": "string" },
|
||
"optionItemList": {
|
||
"maxItems": 10,
|
||
"minItems": 10,
|
||
"description": "音声ファイルに紐づくOption Itemの一覧(10個固定)",
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/AudioOptionItem" }
|
||
},
|
||
"isEncrypted": { "type": "boolean" }
|
||
},
|
||
"required": [
|
||
"url",
|
||
"authorId",
|
||
"fileName",
|
||
"duration",
|
||
"createdDate",
|
||
"finishedDate",
|
||
"uploadedDate",
|
||
"fileSize",
|
||
"priority",
|
||
"audioFormat",
|
||
"comment",
|
||
"workType",
|
||
"optionItemList",
|
||
"isEncrypted"
|
||
]
|
||
},
|
||
"AudioUploadFinishedResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"jobNumber": { "type": "string", "description": "8桁固定の数字" }
|
||
},
|
||
"required": ["jobNumber"]
|
||
},
|
||
"AudioUploadLocationResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"url": {
|
||
"type": "string",
|
||
"description": "Blob StorageにアクセスするためのSASトークン入りのアクセスURL"
|
||
}
|
||
},
|
||
"required": ["url"]
|
||
},
|
||
"AudioDownloadLocationResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"url": {
|
||
"type": "string",
|
||
"description": "Blob StorageにアクセスするためのSASトークン入りのアクセスURL"
|
||
}
|
||
},
|
||
"required": ["url"]
|
||
},
|
||
"TemplateDownloadLocationResponse": {
|
||
"type": "object",
|
||
"properties": { "url": { "type": "string" } },
|
||
"required": ["url"]
|
||
},
|
||
"TemplateUploadLocationResponse": {
|
||
"type": "object",
|
||
"properties": { "url": { "type": "string" } },
|
||
"required": ["url"]
|
||
},
|
||
"TemplateUploadFinishedRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"name": {
|
||
"type": "string",
|
||
"description": "テンプレートファイルのファイル名"
|
||
},
|
||
"url": {
|
||
"type": "string",
|
||
"description": "テンプレートファイルのアップロード先URL"
|
||
}
|
||
},
|
||
"required": ["name", "url"]
|
||
},
|
||
"TemplateUploadFinishedReqponse": { "type": "object", "properties": {} },
|
||
"FileRenameRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"audioFileId": {
|
||
"type": "number",
|
||
"description": "ファイル名変更対象の音声ファイルID"
|
||
},
|
||
"fileName": { "type": "string", "description": "変更するファイル名" }
|
||
},
|
||
"required": ["audioFileId", "fileName"]
|
||
},
|
||
"FileRenameResponse": { "type": "object", "properties": {} },
|
||
"Assignee": {
|
||
"type": "object",
|
||
"properties": {
|
||
"typistUserId": {
|
||
"type": "number",
|
||
"description": "TypistID(TypistIDかTypistGroupIDのどちらかに値が入る)"
|
||
},
|
||
"typistGroupId": {
|
||
"type": "number",
|
||
"description": "TypistGroupID(TypistGroupIDかTypistIDのどちらかに値が入る)"
|
||
},
|
||
"typistName": {
|
||
"type": "string",
|
||
"description": "Typist名 / TypistGroup名"
|
||
}
|
||
},
|
||
"required": ["typistName"]
|
||
},
|
||
"Task": {
|
||
"type": "object",
|
||
"properties": {
|
||
"audioFileId": {
|
||
"type": "number",
|
||
"description": "ODMS Cloud上の音声ファイルID"
|
||
},
|
||
"authorId": { "type": "string", "description": "AuthorID" },
|
||
"workType": { "type": "string" },
|
||
"optionItemList": {
|
||
"maxItems": 10,
|
||
"minItems": 10,
|
||
"description": "音声ファイルに紐づくOption Itemの一覧(10個固定)",
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/AudioOptionItem" }
|
||
},
|
||
"url": {
|
||
"type": "string",
|
||
"description": "音声ファイルのBlob Storage上での保存場所(ファイル名含む)のURL"
|
||
},
|
||
"fileName": { "type": "string", "description": "音声ファイル名" },
|
||
"rawFileName": {
|
||
"type": "string",
|
||
"description": "生(Blob Storage上の)音声ファイル名"
|
||
},
|
||
"audioDuration": {
|
||
"type": "string",
|
||
"description": "音声ファイルの録音時間(ミリ秒の整数値)"
|
||
},
|
||
"audioCreatedDate": {
|
||
"type": "string",
|
||
"description": "音声ファイルの録音開始日時(yyyy-mm-ddThh:mm:ss.sss)"
|
||
},
|
||
"audioFinishedDate": {
|
||
"type": "string",
|
||
"description": "音声ファイルの録音終了日時(yyyy-mm-ddThh:mm:ss.sss)"
|
||
},
|
||
"audioUploadedDate": {
|
||
"type": "string",
|
||
"description": "音声ファイルのアップロード日時(yyyy-mm-ddThh:mm:ss.sss)"
|
||
},
|
||
"fileSize": {
|
||
"type": "number",
|
||
"description": "音声ファイルのファイルサイズ(Byte)"
|
||
},
|
||
"priority": {
|
||
"type": "string",
|
||
"description": "音声ファイルの優先度 \"00\":Normal / \"01\":High"
|
||
},
|
||
"audioFormat": {
|
||
"type": "string",
|
||
"description": "録音形式: DSS/DS2(SP)/DS2(QP)"
|
||
},
|
||
"comment": { "type": "string", "description": "コメント" },
|
||
"isEncrypted": { "type": "boolean" },
|
||
"jobNumber": { "type": "string", "description": "JOBナンバー" },
|
||
"typist": {
|
||
"description": "割り当てられたユーザー",
|
||
"allOf": [{ "$ref": "#/components/schemas/Typist" }]
|
||
},
|
||
"assignees": {
|
||
"description": "文字起こしに着手できる(チェックアウト可能な)、タスクにアサインされているグループ/個人の一覧",
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/Assignee" }
|
||
},
|
||
"status": {
|
||
"type": "string",
|
||
"description": "音声ファイルのファイルステータス Uploaded / Pending / InProgress / Finished / Backup"
|
||
},
|
||
"transcriptionStartedDate": {
|
||
"type": "string",
|
||
"description": "文字起こし開始日時(yyyy-mm-ddThh:mm:ss.sss)"
|
||
},
|
||
"transcriptionFinishedDate": {
|
||
"type": "string",
|
||
"description": "文字起こし終了日時(yyyy-mm-ddThh:mm:ss.sss)"
|
||
}
|
||
},
|
||
"required": [
|
||
"audioFileId",
|
||
"authorId",
|
||
"workType",
|
||
"optionItemList",
|
||
"url",
|
||
"fileName",
|
||
"rawFileName",
|
||
"audioDuration",
|
||
"audioCreatedDate",
|
||
"audioFinishedDate",
|
||
"audioUploadedDate",
|
||
"fileSize",
|
||
"priority",
|
||
"audioFormat",
|
||
"comment",
|
||
"isEncrypted",
|
||
"jobNumber",
|
||
"assignees",
|
||
"status"
|
||
]
|
||
},
|
||
"TasksResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"limit": {
|
||
"type": "number",
|
||
"description": "タスクの取得件数(指定しない場合はデフォルト値)"
|
||
},
|
||
"offset": {
|
||
"type": "number",
|
||
"description": "オフセット(何件目から取得するか 設定しない場合はデフォルト値)"
|
||
},
|
||
"total": { "type": "number", "description": "タスクの総件数" },
|
||
"tasks": {
|
||
"description": "音声ファイル/タスク一覧",
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/Task" }
|
||
}
|
||
},
|
||
"required": ["limit", "offset", "total", "tasks"]
|
||
},
|
||
"AudioNextResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"nextFileId": {
|
||
"type": "number",
|
||
"description": "ODMS Cloud上の次の音声ファイルID(存在しなければundefind)"
|
||
}
|
||
}
|
||
},
|
||
"ChangeStatusResponse": { "type": "object", "properties": {} },
|
||
"PostCheckoutPermissionRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"assignees": {
|
||
"description": "文字起こしに着手可能(チェックアウト可能)にしたい、グループ個人の一覧",
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/Assignee" }
|
||
}
|
||
},
|
||
"required": ["assignees"]
|
||
},
|
||
"PostCheckoutPermissionResponse": { "type": "object", "properties": {} },
|
||
"PostDeleteTaskResponse": { "type": "object", "properties": {} },
|
||
"CreateOrdersRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"poNumber": { "type": "string" },
|
||
"orderCount": { "type": "number" }
|
||
},
|
||
"required": ["poNumber", "orderCount"]
|
||
},
|
||
"CreateOrdersResponse": { "type": "object", "properties": {} },
|
||
"IssueCardLicensesRequest": {
|
||
"type": "object",
|
||
"properties": { "createCount": { "type": "number" } },
|
||
"required": ["createCount"]
|
||
},
|
||
"IssueCardLicensesResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"cardLicenseKeys": { "type": "array", "items": { "type": "string" } }
|
||
},
|
||
"required": ["cardLicenseKeys"]
|
||
},
|
||
"ActivateCardLicensesRequest": {
|
||
"type": "object",
|
||
"properties": { "cardLicenseKey": { "type": "string" } },
|
||
"required": ["cardLicenseKey"]
|
||
},
|
||
"ActivateCardLicensesResponse": { "type": "object", "properties": {} },
|
||
"AllocatableLicenseInfo": {
|
||
"type": "object",
|
||
"properties": {
|
||
"licenseId": { "type": "number" },
|
||
"expiryDate": { "format": "date-time", "type": "string" }
|
||
},
|
||
"required": ["licenseId"]
|
||
},
|
||
"GetAllocatableLicensesResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"allocatableLicenses": {
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/AllocatableLicenseInfo" }
|
||
}
|
||
},
|
||
"required": ["allocatableLicenses"]
|
||
},
|
||
"CancelOrderRequest": {
|
||
"type": "object",
|
||
"properties": { "poNumber": { "type": "string" } },
|
||
"required": ["poNumber"]
|
||
},
|
||
"CancelOrderResponse": { "type": "object", "properties": {} },
|
||
"TemplateFile": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": { "type": "number", "description": "テンプレートファイルのID" },
|
||
"name": {
|
||
"type": "string",
|
||
"description": "テンプレートファイルのファイル名"
|
||
}
|
||
},
|
||
"required": ["id", "name"]
|
||
},
|
||
"GetTemplatesResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"templates": {
|
||
"description": "テンプレートファイルの一覧",
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/TemplateFile" }
|
||
}
|
||
},
|
||
"required": ["templates"]
|
||
},
|
||
"DeleteTemplateResponse": { "type": "object", "properties": {} },
|
||
"WorkflowWorktype": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": { "type": "number", "description": "Worktypeの内部ID" },
|
||
"worktypeId": { "type": "string", "description": "WorktypeID" }
|
||
},
|
||
"required": ["id", "worktypeId"]
|
||
},
|
||
"WorkflowTemplate": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": { "type": "number", "description": "テンプレートの内部ID" },
|
||
"fileName": {
|
||
"type": "string",
|
||
"description": "テンプレートのファイル名"
|
||
}
|
||
},
|
||
"required": ["id", "fileName"]
|
||
},
|
||
"Workflow": {
|
||
"type": "object",
|
||
"properties": {
|
||
"id": { "type": "number", "description": "ワークフローの内部ID" },
|
||
"author": {
|
||
"description": "Author情報",
|
||
"allOf": [{ "$ref": "#/components/schemas/Author" }]
|
||
},
|
||
"worktype": {
|
||
"description": "Worktype情報",
|
||
"allOf": [{ "$ref": "#/components/schemas/WorkflowWorktype" }]
|
||
},
|
||
"template": {
|
||
"description": "テンプレート情報",
|
||
"allOf": [{ "$ref": "#/components/schemas/WorkflowTemplate" }]
|
||
},
|
||
"typists": {
|
||
"description": "ルーティング候補のタイピストユーザー/タイピストグループ",
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/Assignee" }
|
||
}
|
||
},
|
||
"required": ["id", "author", "typists"]
|
||
},
|
||
"GetWorkflowsResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"workflows": {
|
||
"description": "ワークフローの一覧",
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/Workflow" }
|
||
}
|
||
},
|
||
"required": ["workflows"]
|
||
},
|
||
"WorkflowTypist": {
|
||
"type": "object",
|
||
"properties": {
|
||
"typistId": {
|
||
"type": "number",
|
||
"description": "タイピストユーザーの内部ID"
|
||
},
|
||
"typistGroupId": {
|
||
"type": "number",
|
||
"description": "タイピストグループの内部ID"
|
||
}
|
||
}
|
||
},
|
||
"CreateWorkflowsRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"authorId": { "type": "number", "description": "Authorの内部ID" },
|
||
"worktypeId": { "type": "number", "description": "Worktypeの内部ID" },
|
||
"templateId": {
|
||
"type": "number",
|
||
"description": "テンプレートの内部ID"
|
||
},
|
||
"typists": {
|
||
"description": "ルーティング候補のタイピストユーザー/タイピストグループ",
|
||
"minItems": 1,
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/WorkflowTypist" }
|
||
}
|
||
},
|
||
"required": ["authorId", "typists"]
|
||
},
|
||
"CreateWorkflowsResponse": { "type": "object", "properties": {} },
|
||
"UpdateWorkflowRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"authorId": { "type": "number", "description": "Authorの内部ID" },
|
||
"worktypeId": { "type": "number", "description": "Worktypeの内部ID" },
|
||
"templateId": {
|
||
"type": "number",
|
||
"description": "テンプレートの内部ID"
|
||
},
|
||
"typists": {
|
||
"description": "ルーティング候補のタイピストユーザー/タイピストグループ",
|
||
"minItems": 1,
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/WorkflowTypist" }
|
||
}
|
||
},
|
||
"required": ["authorId", "typists"]
|
||
},
|
||
"UpdateWorkflowResponse": { "type": "object", "properties": {} },
|
||
"DeleteWorkflowResponse": { "type": "object", "properties": {} },
|
||
"RegisterRequest": {
|
||
"type": "object",
|
||
"properties": {
|
||
"pns": { "type": "string", "description": "wns or apns" },
|
||
"handler": {
|
||
"type": "string",
|
||
"description": "wnsのチャネルURI or apnsのデバイストークン"
|
||
}
|
||
},
|
||
"required": ["pns", "handler"]
|
||
},
|
||
"RegisterResponse": { "type": "object", "properties": {} },
|
||
"TermInfo": {
|
||
"type": "object",
|
||
"properties": {
|
||
"documentType": { "type": "string", "description": "利用規約種別" },
|
||
"version": { "type": "string", "description": "バージョン" }
|
||
},
|
||
"required": ["documentType", "version"]
|
||
},
|
||
"GetTermsInfoResponse": {
|
||
"type": "object",
|
||
"properties": {
|
||
"termsInfo": {
|
||
"type": "array",
|
||
"items": { "$ref": "#/components/schemas/TermInfo" }
|
||
}
|
||
},
|
||
"required": ["termsInfo"]
|
||
}
|
||
}
|
||
}
|
||
}
|