8. PyTan API ExamplesΒΆ
Each of these sections contains examples that show Example Python code for using a PyTan method, along with the standard output and standard error from running each example
- 8.1. PyTan API Basic Handler Example
- 8.2. PyTan API Valid Create Object Examples
- 8.3. PyTan API Valid Create Object From JSON Examples
- 8.4. PyTan API Valid Deploy Action Examples
- 8.5. PyTan API Valid Export Basetype Examples
- 8.5.1. Export Basetype CSV Default Options
- 8.5.2. Export Basetype JSON Type False
- 8.5.3. Export Basetype JSON Explode False
- 8.5.4. Export Basetype JSON Explode True
- 8.5.5. Export Basetype XML Default Options
- 8.5.6. Export Basetype XML Minimal False
- 8.5.7. Export Basetype XML Minimal True
- 8.5.8. Export Basetype CSV With Explode False
- 8.5.9. Export Basetype CSV With Explode True
- 8.5.10. Export Basetype CSV With Sort Empty List
- 8.5.11. Export Basetype CSV With Sort True
- 8.5.12. Export Basetype CSV With Sort List
- 8.5.13. Export Basetype JSON Default Options
- 8.5.14. Export Basetype JSON Type True
- 8.6. PyTan API Valid Export ResultSet Examples
- 8.6.1. Export ResultSet CSV Default Options
- 8.6.2. Export ResultSet CSV Expand False
- 8.6.3. Export ResultSet CSV Expand True
- 8.6.4. Export ResultSet CSV All Options
- 8.6.5. Export ResultSet JSON
- 8.6.6. Export ResultSet CSV Sort Empty
- 8.6.7. Export ResultSet CSV Sort True
- 8.6.8. Export ResultSet CSV Sort False
- 8.6.9. Export ResultSet CSV Sort List
- 8.6.10. Export ResultSet CSV Type False
- 8.6.11. Export ResultSet CSV Type True
- 8.6.12. Export ResultSet CSV Sensor False
- 8.6.13. Export ResultSet CSV Sensor True
- 8.7. PyTan API Valid Get Object Examples
- 8.7.1. Get Action By Id
- 8.7.2. Get Question By Id
- 8.7.3. Get Saved Question By Names
- 8.7.4. Get Userrole By Id
- 8.7.5. Get Leader Clients
- 8.7.6. Get Setting By Name
- 8.7.7. Get User By Name
- 8.7.8. Get Sensor By Id
- 8.7.9. Get Sensor By Mixed
- 8.7.10. Get Whitelisted Url By Id
- 8.7.11. Get Group By Name
- 8.7.12. Get Sensor By Hash
- 8.7.13. Get Package By Name
- 8.7.14. Get Sensor By Names
- 8.7.15. Get Saved Question By Name
- 8.7.16. Get User By Id
- 8.7.17. Get Sensor By Name
- 8.7.18. Get Saved Action By Name
- 8.7.19. Get All Users
- 8.7.20. Get All Saved Actions
- 8.7.21. Get All Settings
- 8.7.22. Get All Saved Questions
- 8.7.23. Get All Userroless
- 8.7.24. Get All Questions
- 8.7.25. Get All Groups
- 8.7.26. Get All Sensors
- 8.7.27. Get All Whitelisted Urls
- 8.7.28. Get All Clients
- 8.7.29. Get All Packages
- 8.7.30. Get All Actions
- 8.8. PyTan API Valid Questions Examples
- 8.8.1. Ask Parsed Question Pick First No Results
- 8.8.2. Ask Parsed Question Pick First Sse
- 8.8.3. Ask Parsed Question Pick First
- 8.8.4. Ask Manual Question Simple Single Sensor No Results
- 8.8.5. Ask Manual Question Simple Multiple Sensors
- 8.8.6. Ask Manual Question Simple Single Sensor Sse
- 8.8.7. Ask Manual Question Simple Single Sensor
- 8.8.8. Ask Manual Question Multiple Sensors Identified By Name
- 8.8.9. Ask Manual Question Sensor With Parameters And Some Supplied Parameters
- 8.8.10. Ask Manual Question Multiple Sensors With Parameters And Some Supplied Parameters
- 8.8.11. Ask Manual Question Sensor Without Parameters And Supplied Parameters
- 8.8.12. Ask Manual Question Sensor With Parameters And Filter
- 8.8.13. Ask Manual Question Sensor With Filter And 2 Options
- 8.8.14. Ask Manual Question Sensor With Filter
- 8.8.15. Ask Manual Question Sensor With Parameters And Filter And Options
- 8.8.16. Ask Manual Question Sensor With Filter And 3 Options
- 8.8.17. Ask Manual Question Complex Query1
- 8.8.18. Ask Manual Question Complex Query2
- 8.8.19. Ask Manual Question Sensor Complex
- 8.9. PyTan API Valid Saved Questions Examples
- 8.10. PyTan API Invalid Create Object Examples
- 8.11. PyTan API Invalid Create Object From JSON Examples
- 8.12. PyTan API Invalid Deploy Action Examples
- 8.13. PyTan API Invalid Export Basetype Examples
- 8.13.1. Invalid Export Basetype CSV Bad Explode Type
- 8.13.2. Invalid Export Basetype CSV Bad Sort Sub Type
- 8.13.3. Invalid Export Basetype CSV Bad Sort Type
- 8.13.4. Invalid Export Basetype XML Bad Minimal Type
- 8.13.5. Invalid Export Basetype JSON Bad Include Type
- 8.13.6. Invalid Export Basetype JSON Bad Explode Type
- 8.13.7. Invalid Export Basetype Bad Format
- 8.14. PyTan API Invalid Export ResultSet Examples
- 8.15. PyTan API Invalid Get Object Examples
- 8.16. PyTan API Invalid Questions Examples
- 8.16.1. Invalid Ask Manual Question Sensor Help
- 8.16.2. Invalid Ask Manual Question Filter Help
- 8.16.3. Invalid Ask Manual Question Option Help
- 8.16.4. Invalid Ask Manual Question Bad Filter
- 8.16.5. Invalid Ask Parsed Question No Picker
- 8.16.6. Invalid Ask Manual Question Bad Sensorname
- 8.16.7. Invalid Ask Manual Question Too Many Parameter Blocks
- 8.16.8. Invalid Ask Manual Question Bad Option
- 8.16.9. Invalid Ask Manual Question Missing Parameter Split