Closed lloydwatkin closed 2 years ago
Closing, it seems this API requires a bearer
style token with full access permissions.
Yep, we'll work on getting the example added to the API documentation though. Thanks!
This is now documented here when you select "Ruby Library" from the dropdown for the example code format: https://docs.airship.com/api/ua/#operation-api-custom-events-post
Future docs will also be included within these larger API reference docs instead of within the repo (expect those to be removed eventually)
All bugs, feature requests, implementation concerns or general queries should be sent to our support team.
You are welcome to submit an issue here for bugs, but please also reach out to our support team as well.
Before completing the form below, please check the following:
Expected Behavior
Custom event should be created on airship
Current Behavior
Does not work.
Firstly it fails on authentication, because the event code forces the uses of 'bearer' auth type. If I remove this code I then receive the following error:
Possible Solution
Firstly remove
auth_type: :bearer
from https://github.com/urbanairship/ruby-library/blob/main/lib/urbanairship/custom_events/custom_event.rb#L22. Then fix other bugs. Also please document the usage of this endpoint :)Steps to Reproduce