Ad Widget

Collapse

Which python API module?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #16
    A side note about inventing a name: in one of my apps (not Zabbix-related) an API required a unique slug for each object, but the slug was not really intended for users. I ended up generating them randomly (random hex string) instead of trying to generate a unique string based on the object name (which contained spaces that weren't allowed in slugs). Worked great all these years!

    In this Zabbix case it would kind of make sense to make the Name field in the steps optional since URL is required anyway. Maybe worth making an enhancement request.

    Markku

    Comment

    Working...