Widgets
Use these methods to get information about widgets available in the B2Core UI.
GET[host]/api/v2/my/widgets |
|
GET[host]/api/v2/my/widgets/{widgetId} |
Get a list of widgets
Use this method to obtain a list of widgets available in the B2Core UI.
To obtain detailed information about a specific widget, use a separate method to get widget details.
Request
Header parameters:
Authorization: Bearer <access_token>
GET[host]/api/v2/my/widgets
curl --location --request GET 'https://host.name/api/v2/my/widgets?limit=10&offset=0' \
--header 'Authorization: Bearer <token>'
Response
A response contains an array of Widget objects providing information about the available widgets.
Get widget details
Use this method to obtain detailed information about a specific widget.
To obtain a list of available widgets, use a separate method to get a widgets list.
Request
Header parameters:
Authorization: Bearer <access_token>
Path parameters:
- widgetId required
The widget identifier.
GET[host]/api/my/widgets/{widgetId}
curl --location --request GET 'https://host.name/api/v2/my/widgets/1' \
--header 'Authorization: Bearer <token>'
Response
A response contains a Widget object providing information about a specified widget.