public interface CompaniesResource
@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