話者を作成する

post/applications/{applicationId}/clients/{clientId}/srs/speakers

Request

  • Base URL
    https://apis.mimi.fd.ai/v1
  • URL
    https://apis.mimi.fd.ai/v1/applications/{applicationId}/clients/{clientId}/srs/speakers
  • Auth
    none required

Path parameters

applicationIdstring required

アプリケーションID

clientIdstring required

クライアントID

Headers

Authorizationstring required

OAuth2 準拠の Bearer トークンとして発行された mimi のアクセストークン。実行したいサービスに対応するスコープを指定して発行したアクセストークンが必要。アクセストークンの取得方法についてはトークンの取得 または 認証/認可操作を参照。

Content-Typestring

application/x-www-form-urlencoded または multipart/form-data

Request body application/x-www-form-urlencoded

namestring required

名前(UTF-8)

langstring required

言語。日本語のみ対応。ja_JP もしくは 0 を指定する。

sexinteger

性別

ageinteger

年

descriptionstring

説明。省略時の値は空文字列である。

Response

200

codeinteger
errorstring
statusstring
progressinteger
kindstring
idstring
operationIdstring
selfLinkstring
targetLinkstring
startTimestampinteger
endTimestampinteger

Example response

{
  "code": 200,
  "status": "success",
  "progress": 100,
  "kind": "srs#operation#speaker",
  "id": "<speakerId>",
  "operationId": "<operationId>",
  "selfLink": "https://apis.mimi.fd.ai/v1/applications/<applicationId>/clients/<clientId>/operations/<operationId>",
  "targetLink": "https://apis.mimi.fd.ai/v1/applications/<applicationId>/clients/<clientId>/srs/speakers/<speakerId>",
  "startTimestamp": 1535434588,
  "endTimestamp": 1535434588
}

Changes

No recorded changes to this operation across all 2 revisions of this API.