Uh oh! We couldn’t find any match.

Please try other search keywords.

Bixby Developer Center

Guides

endpoints

required

Defines the endpoints for your actions. The endpoints implement the actual action, taking the action's inputs and returning the expected output.

Example

endpoints {
authorization {
none
}

action-endpoints {

action-endpoint (FindShoe) {
accepted-inputs (name, type, minPrice, maxPrice)
local-endpoint ("FindShoe.js")
}

action-endpoint (FindAccessories) {
accepted-inputs (shoe)
local-endpoint ("FindAccessories.js")
}
}
}

You can include multiple endpoints.bxb files to support different types of endpoints. They must be placed within your capsule resources folder:

  • Apply to all locales:

    %capsulename%/resources/base/

  • Apply to a specific locale:

    %capsulename%/resources/en-us/

For more information, see Implementing Actions using Endpoints.

Child Keys

authorization
required
Top-level authorization required by endpoint
action-endpoints
optional
The outer key for an endpoint, which can contain one or more action-endpoint keys
client-app-support
optional
Used with client-endpoint to specify details of the required companion application, including app ID, minimum required version, and app store URL