IBM Watson Visual Recognition account details Deprecated

To use a local connector to run API operations against IBM® Watson Visual Recognition, you must define account details that the connector can use to establish a connection. You can define these details by creating a configuration in App Connect Dashboard, or by saving the details to an accounts.yaml file for import into App Connect Dashboard.

Important: Deprecated IBM Watson® Visual Recognition is discontinued. Existing instances are supported until 1 December 2021, but as of 7 January 2021, you can't create instances. Any instance that exists on 1 December 2021 will be deleted.

Account parameters

You can define one or more accounts for IBM Watson Visual Recognition. For each account that you require, either specify a new set of account details by completing the fields in the Configuration page (or section), or edit the parameters in the accounts.yaml file before importing it as a configuration. The set of required and optional Account fields or parameters are listed in the following table.

For information about locating the values for these account parameters, see Locating the values for the account parameters.

Field Parameter Values Condition Description

Account name

name

User defined

Required

The name of a Watson account that exists in App Connect on IBM Cloud, and which is used in the exported API flow.

Authentication type

authType

BASIC

Optional

The mechanism that is used for user authorization.

API key

apiKey

User defined

Required

The API key that was generated for the Watson instance.

API version

apiVersion

v3

Required

The version number of the IBM Watson Visual Recognition REST API. Must be used in conjunction with versionDate.

Version date

versionDate

2018-03-19

Required

The release date of the version of the API that you want to use in YYYY-MM-DD format. Must be used in conjunction with apiVersion.

Logging flag

loggingFlag

true

or

false

Optional

  • Specify true (the default) if you do not want IBM to use the data in your request to improve the IBM Watson Visual Recognition service for future users..
  • Specify false to allow IBM to use the data in your request to improve the service.

Locating the values for the account parameters

You can find the connection values on the Service credentials page for the Watson service instance in IBM Cloud:

  1. Log in to IBM Cloud.
  2. Go to the IBM Cloud Dashboard, and click the Watson service instance that you want to work with
  3. Click Service credentials in the left pane and click View credentials.

Example

watsonvr:
     - name: "Account 1"
       credentials:
          authType: "BASIC"
          apiKey: "2AbcdefghiJK_lmn37oP0qrSTUvwxZmUUpa-6E4AGjt2"
          apiVersion: "v3"
          versionDate: "2018-03-19"
          loggingFlag: "true"
       endpoint: {}