Trait Actions and the Action Lifecycle
Was this section helpful?
What made this section unhelpful for you?
On this page
- Trait Actions and the Action Lifecycle
A Trait Action is an API request to Yonomi Platform to perform a device-related task. Examples of trait actions include claiming a device, uploading device firmware or updating a device configuration setting. Actions are performed by sending requests (in the form of GraphQL Mutations) to the YP GraphQL API. Actions follow distinct lifecycles that can be completed in three ways:
By understanding and following the appropriate action lifecycle for each flow, you can effectively manage and track actions within the platform. Let's explore each flow in detail.