-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Event Subscription API #263
Comments
Hi,
We'll be very thankful for any contribution.
Please open a pull request from your fork in order to let us to review the
changes. That will also kick CI tests.
On Mar 19, 2018 17:22, "heakinakai" <[email protected]> wrote:
Hi,
Can we have the Event Subscription API added to the class for us Node
server users?
I would like to be able to use the workfront api class to register, list,
remove event subscriptions.
I have already written this into a forked version of the repository, but
not written any tests or Documentation for it yet. I didn't really go any
further than writing it for my own use as I'm not sure you accept outside
pull requests. Happy to contribute if you would like me to.
Please let me know if this is something you plan on adding.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#263>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHGvCpwtHSOx__LLLEEOoAP90xUHJ_V4ks5tf7EUgaJpZM4SwJiX>
.
|
Thanks, I'm re-writing now to be more in line with the original style of the library. Few questions. As you may know, the Event Subscription API is laid out differently to the standard API.
all the above means I have 2 options.
Also above I mentioned Authentication. The user would have to use method 'getApiKey' before event method instead of login, as it requires a different level of authorization. You can see my original version here https://github.com/heakinakai/workfront-api (still re-writing it properly) At the moment it is as follows: new Interface interface IEventAction {
create: (objCode: string, event: string, url: string, authToken: string, objId?: string) => Promise<any>
list: () => Promise<any>
remove: (subscriptionId: string) => Promise<any>
get: (subscriptionId: string) => Promise<any>
} new methods workfront.getApiKey(user, password).then(() => {
workfront.event.create()
workfront.event.list()
workfront.event.remove()
workfront.event.get()
}) |
@heakinakai , unfortunately I am not super aware of what Event Subscription API is, however, taking into account the differences from standard API you've mentioned, I am thinking more about publishing a separate package which will deal with event subscriptions and has @citizensas , any ideas on this? |
Hi,
Can we have the Event Subscription API added to the class for us Node server users?
I would like to be able to use the workfront api class to register, list, remove event subscriptions.
I have already written this into a forked version of the repository, but not written any tests or Documentation for it yet. I didn't really go any further than writing it for my own use as I'm not sure you accept outside pull requests. Happy to contribute if you would like me to.
Please let me know if this is something you plan on adding.
The text was updated successfully, but these errors were encountered: