Element details
type: meya.component.base_api
class: BaseApiComponent
path: /meya/component/element/base_api.py
signature: -
Fields
field | description | required | signature | default | type |
---|---|---|---|---|---|
spec | Override the original spec for this element. | ○ | ○ | null | Spec |
context | Send context data with this component's event. | ○ | ○ | {} | dict |
sensitive | ○ | ○ | true | bool | |
triggers | Activate these dynamic triggers when the component runs. Check the component triggers guide for more info. | ○ | ○ | [] | list |
Usage reference
Basic
triggers:
- keyword: meya.component.base_api
steps:
- type: meya.component.base_api
Full
triggers:
- keyword: meya.component.base_api
steps:
- type: meya.component.base_api
spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
context:
STRING: ANY
sensitive: false
triggers:
- type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY