public interface CompaniesResource
Modifier and Type | Method and Description |
---|---|
void |
addCompanyUpdateCommentAsCompany(long company_id,
String update_key,
UpdateComment updatecomment) |
Update |
addShare(long company_id,
Share share) |
Companies |
getCompanies(String fields,
String email_domain,
Boolean is_company_admin) |
Company |
getCompanyById(long company_id,
String fields) |
Company |
getCompanyByName(String universal_name,
String fields) |
UpdateComments |
getCompanyUpdateComments(long company_id,
String update_key,
String fields,
Boolean secure_urls) |
Likes |
getCompanyUpdateLikes(long company_id,
String update_key,
String fields,
Boolean secure_urls) |
Updates |
getCompanyUpdates(long company_id,
String fields,
EventType event_type,
Long start,
Long count) |
HistoricalFollowStatistics |
getHistoricalFollowStatistics(long company_id,
Long start_timestamp,
Long end_timestamp,
TimeGranularity time_granularity) |
HistoricalStatusUpdateStatistics |
getHistoricalStatusUpdateStatistics(long company_id,
Long start_timestamp,
Long end_timestamp,
TimeGranularity time_granularity,
String update_key) |
NumFollowers |
getNumberOfFollowers(long company_id,
List<String> geos,
List<String> companySizes,
List<String> jobFunc,
List<String> industries,
List<String> seniorities) |
CompanyStatistics |
getStatistics(long company_id) |
IsCompanyShareEnabled |
isShareEnabled(long company_id) |
IsCompanyShareEnabled |
isViewerShareEnabled(long company_id) |
@GET @Produces(value="application/xml") @Path(value="/companies{fields}") Companies getCompanies(@PathParam(value="fields") String fields, @QueryParam(value="email-domain") String email_domain, @QueryParam(value="is-company-admin") Boolean is_company_admin)
@GET @Produces(value="application/xml") @Path(value="/companies/{company-id}{fields}") Company getCompanyById(@PathParam(value="company-id") long company_id, @PathParam(value="fields") String fields)
@GET @Produces(value="application/xml") @Path(value="/companies/universal-name={universal-name}{fields}") Company getCompanyByName(@PathParam(value="universal-name") String universal_name, @PathParam(value="fields") String fields)
@GET @Produces(value="application/xml") @Path(value="/companies/{company-id}/updates{fields}") Updates getCompanyUpdates(@PathParam(value="company-id") long company_id, @PathParam(value="fields") String fields, @QueryParam(value="event-type") EventType event_type, @QueryParam(value="start") Long start, @QueryParam(value="count") Long count)
@GET @Produces(value="application/xml") @Path(value="/companies/{company-id}/updates/key={update-key}/update-comments{fields}") UpdateComments getCompanyUpdateComments(@PathParam(value="company-id") long company_id, @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="/companies/{company-id}/updates/key={update-key}/update-comments-as-company") void addCompanyUpdateCommentAsCompany(@PathParam(value="company-id") long company_id, @PathParam(value="update-key") String update_key, UpdateComment updatecomment)
@GET @Produces(value="application/xml") @Path(value="/companies/{company-id}/updates/key={update-key}/likes{fields}") Likes getCompanyUpdateLikes(@PathParam(value="company-id") long company_id, @PathParam(value="update-key") String update_key, @PathParam(value="fields") String fields, @QueryParam(value="secure-urls") Boolean secure_urls)
@POST @Consumes(value="application/xml") @Produces(value="application/xml") @Path(value="/companies/{company-id}/shares") Update addShare(@PathParam(value="company-id") long company_id, Share share)
@GET @Produces(value="application/xml") @Path(value="/companies/{company-id}/is-company-share-enabled") IsCompanyShareEnabled isShareEnabled(@PathParam(value="company-id") long company_id)
@GET @Produces(value="application/xml") @Path(value="/companies/{company-id}/relation-to-viewer/is-company-share-enabled") IsCompanyShareEnabled isViewerShareEnabled(@PathParam(value="company-id") long company_id)
@GET @Produces(value="application/xml") @Path(value="/companies/{company-id}/historical-follow-statistics") HistoricalFollowStatistics getHistoricalFollowStatistics(@PathParam(value="company-id") long company_id, @QueryParam(value="start-timestamp") Long start_timestamp, @QueryParam(value="end-timestamp") Long end_timestamp, @QueryParam(value="time-granularity") TimeGranularity time_granularity)
@GET @Produces(value="application/xml") @Path(value="/companies/{company-id}/historical-status-update-statistics") HistoricalStatusUpdateStatistics getHistoricalStatusUpdateStatistics(@PathParam(value="company-id") long company_id, @QueryParam(value="start-timestamp") Long start_timestamp, @QueryParam(value="end-timestamp") Long end_timestamp, @QueryParam(value="time-granularity") TimeGranularity time_granularity, @QueryParam(value="update-key") String update_key)
@GET @Produces(value="application/xml") @Path(value="/companies/{company-id}/company-statistics") CompanyStatistics getStatistics(@PathParam(value="company-id") long company_id)
@GET @Produces(value="application/xml") @Path(value="/companies/{company-id}/num-followers") NumFollowers getNumberOfFollowers(@PathParam(value="company-id") long company_id, @QueryParam(value="geos") List<String> geos, @QueryParam(value="companySizes") List<String> companySizes, @QueryParam(value="jobFunc") List<String> jobFunc, @QueryParam(value="industries") List<String> industries, @QueryParam(value="seniorities") List<String> seniorities)
Apache Camel