{"_id":"56c93320be728017005945e5","user":{"_id":"542954f6cd35120800fceca0","username":"","name":"Or Arbel"},"initVersion":{"_id":"55b9611eb42b610d00c9b28d","version":"2.0"},"tags":[],"__v":0,"project":"54295508cd35120800fceca2","createdAt":"2016-02-21T03:46:40.940Z","changelog":[{"_id":"56c93320be728017005945e7","update":"Optional parameter `is_push_only`","type":"added"},{"_id":"56c93320be728017005945e6","update":"","type":"added"}],"body":"`is_push_only` is an optional boolean parameter that if set to true, means the Yo will be sent only via push but will not be inserted into the app inbox when unread Yos are being fetched.\n\nIt's great for not overwhelming your inbox but still notify you or your users.\nThere no need to go inside the Yo app to dismiss them from the in-app inbox.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"data = {'api_token': <token>,\\n        'is_push_only': True,\\n        'username': username}\\n\\nrequests.post(\\\"https://api.justyo.co/yo/\\\",\\n              json=data)\",\n      \"language\": \"python\"\n    }\n  ]\n}\n[/block]","slug":"new-optional-parameter-for-sending-a-yo-is_push_only","title":"New optional parameter for sending a Yo: \"is_push_only\""}

New optional parameter for sending a Yo: "is_push_only"


`is_push_only` is an optional boolean parameter that if set to true, means the Yo will be sent only via push but will not be inserted into the app inbox when unread Yos are being fetched. It's great for not overwhelming your inbox but still notify you or your users. There no need to go inside the Yo app to dismiss them from the in-app inbox. [block:code] { "codes": [ { "code": "data = {'api_token': <token>,\n 'is_push_only': True,\n 'username': username}\n\nrequests.post(\"https://api.justyo.co/yo/\",\n json=data)", "language": "python" } ] } [/block]
added
Optional parameter `is_push_only`