@Path(value="people")
public interface PeopleResource
@GET
@Produces(value="application/xml")
@Path(value="/~{fields}")
Person getPerson(@PathParam(value="fields")
String fields,
@QueryParam(value="secure-urls")
Boolean secure_urls)
@GET
@Produces(value="application/xml")
@Path(value="/~/connections{fields}")
Connections getConnections(@PathParam(value="fields")
String fields,
@QueryParam(value="secure-urls")
Boolean secure_urls)
@POST @Consumes(value="application/xml") @Produces(value="application/xml") @Path(value="/~/shares") Update share(Share share)
@GET
@Produces(value="application/xml")
@Path(value="/~/network/updates{fields}")
Updates getNetworkUpdates(@QueryParam(value="scope")
String scope,
@QueryParam(value="type")
NetworkUpdateReturnType type,
@QueryParam(value="count")
Long count,
@QueryParam(value="start")
Long start,
@QueryParam(value="after")
Long after,
@QueryParam(value="before")
Long before,
@QueryParam(value="show-hidden-members")
Boolean show_hidden_members,
@PathParam(value="fields")
String fields,
@QueryParam(value="secure-urls")
Boolean secure_urls)
@GET
@Produces(value="application/xml")
@Path(value="/~/network/updates/key={update-key}/update-comments{fields}")
UpdateComments getUpdateComments(@PathParam(value="update-key")
String update_key,
@PathParam(value="fields")
String fields,
@QueryParam(value="secure-urls")
Boolean secure_urls)
@POST
@Consumes(value="application/xml")
@Path(value="/~/network/updates/key={update-key}/update-comments")
void addUpdateComment(@PathParam(value="update-key")
String update_key,
UpdateComment updatecomment)
@GET
@Produces(value="application/xml")
@Path(value="/~/network/updates/key={update-key}/likes{fields}")
Likes getUpdateLikes(@PathParam(value="update-key")
String update_key,
@PathParam(value="fields")
String fields,
@QueryParam(value="secure-urls")
Boolean secure_urls)
@PUT
@Consumes(value="application/xml")
@Path(value="/~/network/updates/key={update-key}/is-liked")
void likeUpdate(@PathParam(value="update-key")
String update_key,
IsLiked isliked)
@GET @Produces(value="application/xml") @Path(value="/~/network/network-stats") NetworkStats getNetworkStats()
@POST @Consumes(value="application/xml") @Path(value="/~/person-activities") void addActivity(Activity activity)
@POST @Consumes(value="application/xml") @Path(value="/~/mailbox") void addInvite(MailboxItem mailboxitem)
@GET
@Produces(value="application/xml")
@Path(value="/~/group-memberships{fields}")
GroupMemberships getGroupMemberships(@QueryParam(value="membership-state")
MembershipStateCode membership_state,
@PathParam(value="fields")
String fields,
@QueryParam(value="count")
Long count,
@QueryParam(value="start")
Long start)
@POST @Consumes(value="application/xml") @Path(value="/~/group-memberships") void addGroupMembership(GroupMembership groupmembership)
@GET
@Produces(value="application/xml")
@Path(value="/~/group-memberships/{group-id}{fields}")
GroupMembership getGroupMembershipSettings(@PathParam(value="group-id")
long group_id,
@PathParam(value="fields")
String fields)
@PUT
@Consumes(value="application/xml")
@Path(value="/~/group-memberships/{group-id}")
void updateGroupMembership(@PathParam(value="group-id")
long group_id,
GroupMembership groupmembership)
@DELETE
@Path(value="/~/group-memberships/{group-id}")
void removeGroupMembership(@PathParam(value="group-id")
long group_id)
@GET
@Produces(value="application/xml")
@Path(value="/~/group-memberships/{group-id}/posts{fields}")
Posts getPosts(@PathParam(value="group-id")
long group_id,
@QueryParam(value="start")
Long start,
@QueryParam(value="count")
Long count,
@QueryParam(value="order")
Order order,
@QueryParam(value="role")
PostRole role,
@QueryParam(value="category")
PostCategoryCode category,
@QueryParam(value="modified-since")
Long modified_since,
@PathParam(value="fields")
String fields)
@GET @Produces(value="application/xml") @Path(value="/~/job-bookmarks") JobBookmarks getJobBookmarks()
@POST @Consumes(value="application/xml") @Path(value="/~/job-bookmarks") void addJobBookmark(JobBookmark jobbookmark)
@DELETE
@Path(value="/~/job-bookmarks/{job-id}")
void removeJobBookmark(@PathParam(value="job-id")
long job_id)
@GET
@Produces(value="application/xml")
@Path(value="/~/suggestions/groups{fields}")
Groups getSuggestedGroups(@PathParam(value="fields")
String fields)
@DELETE
@Path(value="/~/suggestions/groups/{group-id}")
void removeGroupSuggestion(@PathParam(value="group-id")
long group_id)
@GET
@Produces(value="application/xml")
@Path(value="/~/suggestions/groups/{group-id}/posts{fields}")
Posts getSuggestedGroupPosts(@PathParam(value="group-id")
long group_id,
@QueryParam(value="start")
Long start,
@QueryParam(value="count")
Long count,
@QueryParam(value="order")
Order order,
@QueryParam(value="category")
PostCategoryCode category,
@QueryParam(value="modified-since")
Long modified_since,
@PathParam(value="fields")
String fields)
@GET
@Produces(value="application/xml")
@Path(value="/~/suggestions/to-follow/companies{fields}")
Companies getSuggestedCompanies(@PathParam(value="fields")
String fields)
@GET
@Produces(value="application/xml")
@Path(value="/~/suggestions/job-suggestions{fields}")
JobSuggestions getSuggestedJobs(@PathParam(value="fields")
String fields)
@GET
@Produces(value="application/xml")
@Path(value="/~/following/companies{fields}")
Companies getFollowedCompanies(@PathParam(value="fields")
String fields)
@POST @Consumes(value="application/xml") @Path(value="/~/following/companies") void followCompany(Company company)
@DELETE
@Path(value="/~/following/companies/id={company-id}")
void stopFollowingCompany(@PathParam(value="company-id")
long company_id)
@GET
@Produces(value="application/xml")
@Path(value="/id={person-id}{fields}")
Person getPersonById(@PathParam(value="person-id")
String person_id,
@PathParam(value="fields")
String fields,
@QueryParam(value="secure-urls")
Boolean secure_urls)
@GET
@Produces(value="application/xml")
@Path(value="/id={person-id}/connections{fields}")
Connections getConnectionsById(@PathParam(value="person-id")
String person_id,
@PathParam(value="fields")
String fields,
@QueryParam(value="secure-urls")
Boolean secure_urls)
@GET
@Produces(value="application/xml")
@Path(value="/id={person-id}/network/updates{fields}")
Updates getNetworkUpdatesById(@QueryParam(value="scope")
String scope,
@QueryParam(value="type")
NetworkUpdateReturnType type,
@QueryParam(value="count")
Long count,
@QueryParam(value="start")
Long start,
@QueryParam(value="after")
Long after,
@QueryParam(value="before")
Long before,
@QueryParam(value="show-hidden-members")
Boolean show_hidden_members,
@PathParam(value="person-id")
String person_id,
@PathParam(value="fields")
String fields,
@QueryParam(value="secure-urls")
Boolean secure_urls)
@GET
@Produces(value="application/xml")
@Path(value="/url={public-profile-url}{fields}")
Person getPersonByUrl(@PathParam(value="public-profile-url")
String public_profile_url,
@PathParam(value="fields")
String fields,
@QueryParam(value="secure-urls")
Boolean secure_urls)
@GET
@Produces(value="application/xml")
@Path(value="/url={public-profile-url}/connections{fields}")
Connections getConnectionsByUrl(@PathParam(value="public-profile-url")
String public_profile_url,
@PathParam(value="fields")
String fields,
@QueryParam(value="secure-urls")
Boolean secure_urls)
Apache Camel