package wcs-api

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Watson Conversation Service API.

Based on the documentation available at: https://www.ibm.com/watson/developercloud/conversation/api/v1/

Version 2017-05-26.

val version : string
Workspaces
val list_workspaces : Wcs_lib.Wcs_t.credential -> Wcs_lib.Wcs_t.list_workspaces_request -> Wcs_lib.Wcs_t.list_workspaces_response

list_workspaces wcs_cred req List the workspaces associated with a Conversation service instance. https://www.ibm.com/watson/developercloud/conversation/api/v1/#list_workspaces

val create_workspace : Wcs_lib.Wcs_t.credential -> Wcs_lib.Wcs_t.workspace -> Wcs_lib.Wcs_t.create_response

create_workspace wcs_cred ws Create a workspace on the Conversation service instance. https://www.ibm.com/watson/developercloud/conversation/api/v1/#create_workspace

val delete_workspace : Wcs_lib.Wcs_t.credential -> string -> unit

delete_workspace wcs_cred ws_id Delete a workspace from the Conversation service instance. https://www.ibm.com/watson/developercloud/conversation/api/v1/#delete_workspace

val get_workspace : Wcs_lib.Wcs_t.credential -> Wcs_lib.Wcs_t.get_workspace_request -> Wcs_lib.Wcs_t.workspace

get_workspace wcs_cred req Get information about a workspace, optionally including all workspace content. https://www.ibm.com/watson/developercloud/conversation/api/v1/#get_workspace

val update_workspace : Wcs_lib.Wcs_t.credential -> string -> Wcs_lib.Wcs_t.workspace -> unit

update_workspace wcs_cred ws_id ws Update an existing workspace with new or modified data. https://www.ibm.com/watson/developercloud/conversation/api/v1/#update_workspace

Messages
val message : Wcs_lib.Wcs_t.credential -> string -> Wcs_lib.Wcs_t.message_request -> Wcs_lib.Wcs_t.message_response

message wcs_cred ws_id req Get a response to a user's input. https://www.ibm.com/watson/developercloud/conversation/api/v1/#send_message

Logs
val logs : Wcs_lib.Wcs_t.credential -> string -> Wcs_lib.Wcs_t.logs_request -> Wcs_lib.Wcs_t.logs_response
OCaml

Innovation. Community. Security.