Jetstream API
...
Policy Configuration
Create a Policy
6 min
about add a policy to your jetstream application for managing a device's configuration values (the configuration parameters are defined by the device’s definition) a policy may be added to a device to apply its configuration settings parameters property location details accesskey header the access key for your user account this value is a 36 character guid provided in your getting started docid\ bbifqiuixnd5iafmrebbi id body response the id assigned to the newly created policy this value is generated by jetstream – do not define it in requests name body request response the name of the policy this value has a max length of 128 ascii characters this value must adhere to this regular expression ^\[a za z0 9 , ] $ devicedefinition body request response the name of the device definition associated with the policy this value is one of the device definitions retrieved by the get all device definitions docid\ zre5zpbxavj78epzuxb84 request this value has a max length of 128 ascii characters this value must adhere to this regular expression ^\[a za z0 9 , ] $ parameters body request response the parameters and values associated with the policy all parameters defined in the associated device definition must be defined all values defined must be of the type (e g , int, bool, string, float, datetime) defined in the associated device definition example request url post https //api jetstreamrfid com/3/policies request body response code 201 created response body version changes addition of the id property