Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
RuedigerMueller
Advisor
Advisor
0 Kudos

On July 20, 2012 the StreamWork Q2 2012 release was deployed into production. If you want to know more about the new features please  checkout the Release Notes.

Besides added functionality the StreamWork API were also enhanced.  The release notes do talk about the API enhancements to but don't tell you how exactly you can use the enhancement to the API. The release notes tell you that you are now able to "get versions of specific text items" but leaves it up to you to find out how exactly you can do this.

I wanted to know more and searched through the API documentation. This was a cumbersome exercise and I decided to share what I have found out via this blog. It might not be 100% complete. If I missed something just get back to me and I will update this blog.

So here is what I have found out:

EnhancementUsage
Get versions of specific text item and file item

GET /v1/items/{item-id}

GET /v1/items/{item-id}/item_data

=> Parameter: version (number)

Get unread feed/invitation/task counts per activityCommon parameter "comments" added to GET /V1/feed/*:
Get favorite activities

GET /v1/activities

Added parameter "favorites" with no value, if present only returns activities that are favorites

Support for threaded replies on item comments

GET /v1/items/{item-id}/comments

GET /v1/items/{item-id}/comments?show_replies=true

GET /v1/items/{item-id}/comments/{comment-id}

GET /v1/items/{item-id}/comments/{comment-id}?on_version=3

GET /v1/items/{item-id}/comments/{comment-id}?show_replies=true

POST /v1/comments/{comment-id}/comments

DELETE /v1/comments/{comment-id}

/v1/feed/{event_id}/replies

Hash tag feed searchGET /v1/feed/tags/{tag}
Retrieve the feed as XML or HTMLCommon parameter "response_content_type" added to GET /V1/feed/*
Retrieve more "mark important" meta data of feed entriesParameter important_only
API for External Entity ID filter for activities and inbox invitesGET /v1/activities => Parameter external_entity_id