Skip to content
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

How to get an activity by external ID #39

Closed
longstone opened this issue Nov 7, 2014 · 4 comments
Closed

How to get an activity by external ID #39

longstone opened this issue Nov 7, 2014 · 4 comments

Comments

@longstone
Copy link
Contributor

I'm facing the problem that I can't get a activity by external ID which in my case is a blocker. How can we solve this?

@rachoac
Copy link
Collaborator

rachoac commented Nov 8, 2014

The jive-sdk doesn't have an explicit API for this (yet!), but here is the format for fetching it:

http://[host]/api/jivelinks/v1/extstreams/[extstreaminstanceid]/extactivities/[externalid]

You will need to use the external stream instance oauth credentials to fetch it from jive. The external stream instance should have been persisted to your db on registration.

I am thinking of creating an explicit fetch API for external activity, something like

jive.extstreams.fetchActivityByExternalID( externalStreamInstanceID, externalID)

@longstone
Copy link
Contributor Author

thank you - i'll have a look and create a pull request of this

@longstone
Copy link
Contributor Author

update
this is working now, but i can't create a pull request unless the last is accepted/merged.

@longstone
Copy link
Contributor Author

done df613de

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants