The documentation for this is not yet written as this feature is still in development and as such the API has not stabilised.