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

action-endpoints
optional
The outer key for an endpoint, which can contain one or more action-endpoint keys
authorization[deprecated]
optional
This key is deprecated