話者を変更する

put/applications/{applicationId}/clients/{clientId}/srs/speakers/{speakerId}

Request

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

Path parameters

applicationIdstring required

アプリケーションID

clientIdstring required

クライアントID

speakerIdstring 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

名前(UTF-8)

langstring

言語

sexinteger

性別

ageinteger

年

descriptionstring

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

enabledstring

有効か無効かを表すフラグ。 [0 or 1]

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": 1542344943,
  "endTimestamp": 1542344943
}

Changes

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