pharmaobservatory 0.1.24 → 0.1.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +45 -4
  3. data/docs/BiomarkerLiteratureAllResponse.md +58 -0
  4. data/docs/BiomarkerLiteratureAllRow.md +36 -0
  5. data/docs/BiomarkerLiteratureOrgsResponse.md +58 -0
  6. data/docs/BiomarkerLiteratureOrgsRow.md +34 -0
  7. data/docs/BiomarkerLiteraturePeopleResponse.md +58 -0
  8. data/docs/BiomarkerLiteraturePeopleRow.md +36 -0
  9. data/docs/BiomarkersApi.md +240 -0
  10. data/docs/CompanyCompetitorsRow.md +1 -1
  11. data/docs/CompanyRareDiseaseDeclarationsRow.md +1 -1
  12. data/docs/ConditionLiteratureOrgsResponse.md +58 -0
  13. data/docs/ConditionLiteratureOrgsRow.md +34 -0
  14. data/docs/ConditionLiteraturePeopleResponse.md +58 -0
  15. data/docs/ConditionLiteraturePeopleRow.md +36 -0
  16. data/docs/ConditionLiteratureResponse.md +58 -0
  17. data/docs/ConditionLiteratureRow.md +36 -0
  18. data/docs/ConditionsApi.md +320 -0
  19. data/docs/ConditionsRecord.md +2 -0
  20. data/docs/InvestigatorsApi.md +320 -0
  21. data/docs/InvestmentGraphNodesRow.md +4 -2
  22. data/docs/LegalEntitiesApi.md +160 -0
  23. data/docs/OrgLiteraturePeopleResponse.md +58 -0
  24. data/docs/OrgLiteraturePeopleRow.md +36 -0
  25. data/docs/OrgLiteratureResponse.md +58 -0
  26. data/docs/OrgLiteratureRow.md +40 -0
  27. data/docs/PatientOrganisationResponse.md +58 -0
  28. data/docs/PatientOrganisationRow.md +74 -0
  29. data/docs/RareDiseaseOrganizationsRow.md +1 -1
  30. data/docs/RareDiseaseTrialSitesRow.md +5 -3
  31. data/docs/RareDiseasesApi.md +80 -0
  32. data/docs/RareDiseasesRecord.md +2 -0
  33. data/docs/TargetLiteratureOrgsResponse.md +58 -0
  34. data/docs/TargetLiteratureOrgsRow.md +34 -0
  35. data/docs/TargetLiteraturePeopleResponse.md +58 -0
  36. data/docs/TargetLiteraturePeopleRow.md +36 -0
  37. data/docs/TargetLiteratureResponse.md +58 -0
  38. data/docs/TargetLiteratureRow.md +36 -0
  39. data/docs/TargetsApi.md +240 -0
  40. data/lib/pharmaobservatory/api/biomarkers_api.rb +252 -0
  41. data/lib/pharmaobservatory/api/conditions_api.rb +336 -0
  42. data/lib/pharmaobservatory/api/investigators_api.rb +336 -0
  43. data/lib/pharmaobservatory/api/legal_entities_api.rb +168 -0
  44. data/lib/pharmaobservatory/api/rare_diseases_api.rb +84 -0
  45. data/lib/pharmaobservatory/api/targets_api.rb +252 -0
  46. data/lib/pharmaobservatory/models/biomarker_literature_all_response.rb +478 -0
  47. data/lib/pharmaobservatory/models/biomarker_literature_all_row.rb +322 -0
  48. data/lib/pharmaobservatory/models/biomarker_literature_orgs_response.rb +478 -0
  49. data/lib/pharmaobservatory/models/biomarker_literature_orgs_row.rb +311 -0
  50. data/lib/pharmaobservatory/models/biomarker_literature_people_response.rb +478 -0
  51. data/lib/pharmaobservatory/models/biomarker_literature_people_row.rb +322 -0
  52. data/lib/pharmaobservatory/models/company_competitors_row.rb +1 -1
  53. data/lib/pharmaobservatory/models/company_rare_disease_declarations_row.rb +1 -1
  54. data/lib/pharmaobservatory/models/condition_literature_orgs_response.rb +478 -0
  55. data/lib/pharmaobservatory/models/condition_literature_orgs_row.rb +311 -0
  56. data/lib/pharmaobservatory/models/condition_literature_people_response.rb +478 -0
  57. data/lib/pharmaobservatory/models/condition_literature_people_row.rb +322 -0
  58. data/lib/pharmaobservatory/models/condition_literature_response.rb +478 -0
  59. data/lib/pharmaobservatory/models/condition_literature_row.rb +322 -0
  60. data/lib/pharmaobservatory/models/conditions_record.rb +13 -1
  61. data/lib/pharmaobservatory/models/investment_graph_nodes_row.rb +19 -6
  62. data/lib/pharmaobservatory/models/org_literature_people_response.rb +478 -0
  63. data/lib/pharmaobservatory/models/org_literature_people_row.rb +322 -0
  64. data/lib/pharmaobservatory/models/org_literature_response.rb +478 -0
  65. data/lib/pharmaobservatory/models/org_literature_row.rb +344 -0
  66. data/lib/pharmaobservatory/models/patient_organisation_response.rb +478 -0
  67. data/lib/pharmaobservatory/models/patient_organisation_row.rb +545 -0
  68. data/lib/pharmaobservatory/models/rare_disease_organizations_row.rb +1 -1
  69. data/lib/pharmaobservatory/models/rare_disease_trial_sites_row.rb +15 -4
  70. data/lib/pharmaobservatory/models/rare_diseases_record.rb +13 -1
  71. data/lib/pharmaobservatory/models/target_literature_orgs_response.rb +478 -0
  72. data/lib/pharmaobservatory/models/target_literature_orgs_row.rb +311 -0
  73. data/lib/pharmaobservatory/models/target_literature_people_response.rb +478 -0
  74. data/lib/pharmaobservatory/models/target_literature_people_row.rb +322 -0
  75. data/lib/pharmaobservatory/models/target_literature_response.rb +478 -0
  76. data/lib/pharmaobservatory/models/target_literature_row.rb +322 -0
  77. data/lib/pharmaobservatory/version.rb +1 -1
  78. data/lib/pharmaobservatory.rb +24 -0
  79. metadata +50 -2
@@ -0,0 +1,36 @@
1
+ # PharmaObservatory::TargetLiteratureRow
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **target_id** | **String** | The target's Ensembl gene id (ENSG followed by eleven digits): the entry key for the targets object type. | [optional] |
8
+ | **target_symbol** | **String** | The target's HGNC gene symbol. | [optional] |
9
+ | **pmid** | **String** | The PubMed id. | [optional] |
10
+ | **title** | **String** | The paper's title. | [optional] |
11
+ | **journal_title** | **String** | The journal's title. | [optional] |
12
+ | **pub_year** | **Integer** | The publication year (2016 or later: the dataset holds recent MeSH-indexed literature). | [optional] |
13
+ | **evidence_type** | **String** | The paper's study-design label, one normalized publication type by study-design priority. | [optional] |
14
+ | **is_trial_linked** | **Boolean** | True when a registered clinical trial cites the paper; false for literature no registered trial cites. | [optional] |
15
+ | **citation_count** | **Integer** | Citations where iCite (the National Institutes of Health citation-metrics service) carries them; null is not measured, never zero. | [optional] |
16
+ | **relative_citation_ratio** | **Float** | The iCite Relative Citation Ratio (RCR) where measured; null is not measured. | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'pharmaobservatory'
22
+
23
+ instance = PharmaObservatory::TargetLiteratureRow.new(
24
+ target_id: null,
25
+ target_symbol: null,
26
+ pmid: null,
27
+ title: null,
28
+ journal_title: null,
29
+ pub_year: null,
30
+ evidence_type: null,
31
+ is_trial_linked: null,
32
+ citation_count: null,
33
+ relative_citation_ratio: null
34
+ )
35
+ ```
36
+
data/docs/TargetsApi.md CHANGED
@@ -13,6 +13,9 @@ All URIs are relative to *https://pharmaobservatory.com*
13
13
  | [**targets_target_drugs**](TargetsApi.md#targets_target_drugs) | **GET** /api/v1/targets/{id}/target_drugs | Drugs acting on a target |
14
14
  | [**targets_target_evidence**](TargetsApi.md#targets_target_evidence) | **GET** /api/v1/targets/{id}/target_evidence | Target evidence |
15
15
  | [**targets_target_investigators**](TargetsApi.md#targets_target_investigators) | **GET** /api/v1/targets/{id}/target_investigators | Investigators on a target's trials |
16
+ | [**targets_target_literature**](TargetsApi.md#targets_target_literature) | **GET** /api/v1/targets/{id}/target_literature | Target literature (MeSH-indexed, 2016 onward) |
17
+ | [**targets_target_literature_orgs**](TargetsApi.md#targets_target_literature_orgs) | **GET** /api/v1/targets/{id}/target_literature_orgs | Target literature, most active institutions |
18
+ | [**targets_target_literature_people**](TargetsApi.md#targets_target_literature_people) | **GET** /api/v1/targets/{id}/target_literature_people | Target literature, most active authors |
16
19
  | [**targets_target_patent_mentions**](TargetsApi.md#targets_target_patent_mentions) | **GET** /api/v1/targets/{id}/target_patent_mentions | Target patent mentions |
17
20
  | [**targets_target_programs**](TargetsApi.md#targets_target_programs) | **GET** /api/v1/targets/{id}/target_programs | Target development programs |
18
21
  | [**targets_target_publications**](TargetsApi.md#targets_target_publications) | **GET** /api/v1/targets/{id}/target_publications | Target publications |
@@ -717,6 +720,243 @@ end
717
720
  - **Accept**: application/json
718
721
 
719
722
 
723
+ ## targets_target_literature
724
+
725
+ > <TargetLiteratureResponse> targets_target_literature(id, opts)
726
+
727
+ Target literature (MeSH-indexed, 2016 onward)
728
+
729
+ ### Examples
730
+
731
+ ```ruby
732
+ require 'time'
733
+ require 'pharmaobservatory'
734
+ # setup authorization
735
+ PharmaObservatory.configure do |config|
736
+ # Configure Bearer authorization (JWT): ApiBearerJwt
737
+ config.access_token = 'YOUR_BEARER_TOKEN'
738
+ end
739
+
740
+ api_instance = PharmaObservatory::TargetsApi.new
741
+ id = 'ENSG00000171759' # String |
742
+ opts = {
743
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
744
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
745
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
746
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
747
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
748
+ }
749
+
750
+ begin
751
+ # Target literature (MeSH-indexed, 2016 onward)
752
+ result = api_instance.targets_target_literature(id, opts)
753
+ p result
754
+ rescue PharmaObservatory::ApiError => e
755
+ puts "Error when calling TargetsApi->targets_target_literature: #{e}"
756
+ end
757
+ ```
758
+
759
+ #### Using the targets_target_literature_with_http_info variant
760
+
761
+ This returns an Array which contains the response data, status code and headers.
762
+
763
+ > <Array(<TargetLiteratureResponse>, Integer, Hash)> targets_target_literature_with_http_info(id, opts)
764
+
765
+ ```ruby
766
+ begin
767
+ # Target literature (MeSH-indexed, 2016 onward)
768
+ data, status_code, headers = api_instance.targets_target_literature_with_http_info(id, opts)
769
+ p status_code # => 2xx
770
+ p headers # => { ... }
771
+ p data # => <TargetLiteratureResponse>
772
+ rescue PharmaObservatory::ApiError => e
773
+ puts "Error when calling TargetsApi->targets_target_literature_with_http_info: #{e}"
774
+ end
775
+ ```
776
+
777
+ ### Parameters
778
+
779
+ | Name | Type | Description | Notes |
780
+ | ---- | ---- | ----------- | ----- |
781
+ | **id** | **String** | | |
782
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
783
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
784
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
785
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
786
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
787
+
788
+ ### Return type
789
+
790
+ [**TargetLiteratureResponse**](TargetLiteratureResponse.md)
791
+
792
+ ### Authorization
793
+
794
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
795
+
796
+ ### HTTP request headers
797
+
798
+ - **Content-Type**: Not defined
799
+ - **Accept**: application/json
800
+
801
+
802
+ ## targets_target_literature_orgs
803
+
804
+ > <TargetLiteratureOrgsResponse> targets_target_literature_orgs(id, opts)
805
+
806
+ Target literature, most active institutions
807
+
808
+ ### Examples
809
+
810
+ ```ruby
811
+ require 'time'
812
+ require 'pharmaobservatory'
813
+ # setup authorization
814
+ PharmaObservatory.configure do |config|
815
+ # Configure Bearer authorization (JWT): ApiBearerJwt
816
+ config.access_token = 'YOUR_BEARER_TOKEN'
817
+ end
818
+
819
+ api_instance = PharmaObservatory::TargetsApi.new
820
+ id = 'ENSG00000171759' # String |
821
+ opts = {
822
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
823
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
824
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
825
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
826
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
827
+ }
828
+
829
+ begin
830
+ # Target literature, most active institutions
831
+ result = api_instance.targets_target_literature_orgs(id, opts)
832
+ p result
833
+ rescue PharmaObservatory::ApiError => e
834
+ puts "Error when calling TargetsApi->targets_target_literature_orgs: #{e}"
835
+ end
836
+ ```
837
+
838
+ #### Using the targets_target_literature_orgs_with_http_info variant
839
+
840
+ This returns an Array which contains the response data, status code and headers.
841
+
842
+ > <Array(<TargetLiteratureOrgsResponse>, Integer, Hash)> targets_target_literature_orgs_with_http_info(id, opts)
843
+
844
+ ```ruby
845
+ begin
846
+ # Target literature, most active institutions
847
+ data, status_code, headers = api_instance.targets_target_literature_orgs_with_http_info(id, opts)
848
+ p status_code # => 2xx
849
+ p headers # => { ... }
850
+ p data # => <TargetLiteratureOrgsResponse>
851
+ rescue PharmaObservatory::ApiError => e
852
+ puts "Error when calling TargetsApi->targets_target_literature_orgs_with_http_info: #{e}"
853
+ end
854
+ ```
855
+
856
+ ### Parameters
857
+
858
+ | Name | Type | Description | Notes |
859
+ | ---- | ---- | ----------- | ----- |
860
+ | **id** | **String** | | |
861
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
862
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
863
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
864
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
865
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
866
+
867
+ ### Return type
868
+
869
+ [**TargetLiteratureOrgsResponse**](TargetLiteratureOrgsResponse.md)
870
+
871
+ ### Authorization
872
+
873
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
874
+
875
+ ### HTTP request headers
876
+
877
+ - **Content-Type**: Not defined
878
+ - **Accept**: application/json
879
+
880
+
881
+ ## targets_target_literature_people
882
+
883
+ > <TargetLiteraturePeopleResponse> targets_target_literature_people(id, opts)
884
+
885
+ Target literature, most active authors
886
+
887
+ ### Examples
888
+
889
+ ```ruby
890
+ require 'time'
891
+ require 'pharmaobservatory'
892
+ # setup authorization
893
+ PharmaObservatory.configure do |config|
894
+ # Configure Bearer authorization (JWT): ApiBearerJwt
895
+ config.access_token = 'YOUR_BEARER_TOKEN'
896
+ end
897
+
898
+ api_instance = PharmaObservatory::TargetsApi.new
899
+ id = 'ENSG00000171759' # String |
900
+ opts = {
901
+ cursor: 'cursor_example', # String | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
902
+ limit: 56, # Integer | Rows per page, up to 500 (default 50).
903
+ sort: 'sort_example', # String | Comma separated columns, a leading minus for descending: sort=a,-b.
904
+ group_by: 'group_by_example', # String | A dimension to group by; a date takes :year, :quarter or :month.
905
+ measure: 'measure_example' # String | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
906
+ }
907
+
908
+ begin
909
+ # Target literature, most active authors
910
+ result = api_instance.targets_target_literature_people(id, opts)
911
+ p result
912
+ rescue PharmaObservatory::ApiError => e
913
+ puts "Error when calling TargetsApi->targets_target_literature_people: #{e}"
914
+ end
915
+ ```
916
+
917
+ #### Using the targets_target_literature_people_with_http_info variant
918
+
919
+ This returns an Array which contains the response data, status code and headers.
920
+
921
+ > <Array(<TargetLiteraturePeopleResponse>, Integer, Hash)> targets_target_literature_people_with_http_info(id, opts)
922
+
923
+ ```ruby
924
+ begin
925
+ # Target literature, most active authors
926
+ data, status_code, headers = api_instance.targets_target_literature_people_with_http_info(id, opts)
927
+ p status_code # => 2xx
928
+ p headers # => { ... }
929
+ p data # => <TargetLiteraturePeopleResponse>
930
+ rescue PharmaObservatory::ApiError => e
931
+ puts "Error when calling TargetsApi->targets_target_literature_people_with_http_info: #{e}"
932
+ end
933
+ ```
934
+
935
+ ### Parameters
936
+
937
+ | Name | Type | Description | Notes |
938
+ | ---- | ---- | ----------- | ----- |
939
+ | **id** | **String** | | |
940
+ | **cursor** | **String** | The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it. | [optional] |
941
+ | **limit** | **Integer** | Rows per page, up to 500 (default 50). | [optional] |
942
+ | **sort** | **String** | Comma separated columns, a leading minus for descending: sort&#x3D;a,-b. | [optional] |
943
+ | **group_by** | **String** | A dimension to group by; a date takes :year, :quarter or :month. | [optional] |
944
+ | **measure** | **String** | count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col). | [optional] |
945
+
946
+ ### Return type
947
+
948
+ [**TargetLiteraturePeopleResponse**](TargetLiteraturePeopleResponse.md)
949
+
950
+ ### Authorization
951
+
952
+ [ApiBearerJwt](../README.md#ApiBearerJwt)
953
+
954
+ ### HTTP request headers
955
+
956
+ - **Content-Type**: Not defined
957
+ - **Accept**: application/json
958
+
959
+
720
960
  ## targets_target_patent_mentions
721
961
 
722
962
  > <TargetPatentMentionsResponse> targets_target_patent_mentions(id, opts)
@@ -775,6 +775,258 @@ module PharmaObservatory
775
775
  return data, status_code, headers
776
776
  end
777
777
 
778
+ # Biomarker literature, all MeSH-indexed papers (2016 onward)
779
+ # @param id [String]
780
+ # @param [Hash] opts the optional parameters
781
+ # @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
782
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
783
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
784
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
785
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
786
+ # @return [BiomarkerLiteratureAllResponse]
787
+ def biomarkers_biomarker_literature_all(id, opts = {})
788
+ data, _status_code, _headers = biomarkers_biomarker_literature_all_with_http_info(id, opts)
789
+ data
790
+ end
791
+
792
+ # Biomarker literature, all MeSH-indexed papers (2016 onward)
793
+ # @param id [String]
794
+ # @param [Hash] opts the optional parameters
795
+ # @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
796
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
797
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
798
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
799
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
800
+ # @return [Array<(BiomarkerLiteratureAllResponse, Integer, Hash)>] BiomarkerLiteratureAllResponse data, response status code and response headers
801
+ def biomarkers_biomarker_literature_all_with_http_info(id, opts = {})
802
+ if @api_client.config.debugging
803
+ @api_client.config.logger.debug 'Calling API: BiomarkersApi.biomarkers_biomarker_literature_all ...'
804
+ end
805
+ # verify the required parameter 'id' is set
806
+ if @api_client.config.client_side_validation && id.nil?
807
+ fail ArgumentError, "Missing the required parameter 'id' when calling BiomarkersApi.biomarkers_biomarker_literature_all"
808
+ end
809
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
810
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling BiomarkersApi.biomarkers_biomarker_literature_all, must be smaller than or equal to 500.'
811
+ end
812
+
813
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
814
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling BiomarkersApi.biomarkers_biomarker_literature_all, must be greater than or equal to 1.'
815
+ end
816
+
817
+ # resource path
818
+ local_var_path = '/api/v1/biomarkers/{id}/biomarker_literature_all'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
819
+
820
+ # query parameters
821
+ query_params = opts[:query_params] || {}
822
+ query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
823
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
824
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
825
+ query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
826
+ query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
827
+
828
+ # header parameters
829
+ header_params = opts[:header_params] || {}
830
+ # HTTP header 'Accept' (if needed)
831
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
832
+
833
+ # form parameters
834
+ form_params = opts[:form_params] || {}
835
+
836
+ # http body (model)
837
+ post_body = opts[:debug_body]
838
+
839
+ # return_type
840
+ return_type = opts[:debug_return_type] || 'BiomarkerLiteratureAllResponse'
841
+
842
+ # auth_names
843
+ auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
844
+
845
+ new_options = opts.merge(
846
+ :operation => :"BiomarkersApi.biomarkers_biomarker_literature_all",
847
+ :header_params => header_params,
848
+ :query_params => query_params,
849
+ :form_params => form_params,
850
+ :body => post_body,
851
+ :auth_names => auth_names,
852
+ :return_type => return_type
853
+ )
854
+
855
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
856
+ if @api_client.config.debugging
857
+ @api_client.config.logger.debug "API called: BiomarkersApi#biomarkers_biomarker_literature_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
858
+ end
859
+ return data, status_code, headers
860
+ end
861
+
862
+ # Biomarker literature, most active institutions
863
+ # @param id [String]
864
+ # @param [Hash] opts the optional parameters
865
+ # @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
866
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
867
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
868
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
869
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
870
+ # @return [BiomarkerLiteratureOrgsResponse]
871
+ def biomarkers_biomarker_literature_orgs(id, opts = {})
872
+ data, _status_code, _headers = biomarkers_biomarker_literature_orgs_with_http_info(id, opts)
873
+ data
874
+ end
875
+
876
+ # Biomarker literature, most active institutions
877
+ # @param id [String]
878
+ # @param [Hash] opts the optional parameters
879
+ # @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
880
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
881
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
882
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
883
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
884
+ # @return [Array<(BiomarkerLiteratureOrgsResponse, Integer, Hash)>] BiomarkerLiteratureOrgsResponse data, response status code and response headers
885
+ def biomarkers_biomarker_literature_orgs_with_http_info(id, opts = {})
886
+ if @api_client.config.debugging
887
+ @api_client.config.logger.debug 'Calling API: BiomarkersApi.biomarkers_biomarker_literature_orgs ...'
888
+ end
889
+ # verify the required parameter 'id' is set
890
+ if @api_client.config.client_side_validation && id.nil?
891
+ fail ArgumentError, "Missing the required parameter 'id' when calling BiomarkersApi.biomarkers_biomarker_literature_orgs"
892
+ end
893
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
894
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling BiomarkersApi.biomarkers_biomarker_literature_orgs, must be smaller than or equal to 500.'
895
+ end
896
+
897
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
898
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling BiomarkersApi.biomarkers_biomarker_literature_orgs, must be greater than or equal to 1.'
899
+ end
900
+
901
+ # resource path
902
+ local_var_path = '/api/v1/biomarkers/{id}/biomarker_literature_orgs'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
903
+
904
+ # query parameters
905
+ query_params = opts[:query_params] || {}
906
+ query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
907
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
908
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
909
+ query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
910
+ query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
911
+
912
+ # header parameters
913
+ header_params = opts[:header_params] || {}
914
+ # HTTP header 'Accept' (if needed)
915
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
916
+
917
+ # form parameters
918
+ form_params = opts[:form_params] || {}
919
+
920
+ # http body (model)
921
+ post_body = opts[:debug_body]
922
+
923
+ # return_type
924
+ return_type = opts[:debug_return_type] || 'BiomarkerLiteratureOrgsResponse'
925
+
926
+ # auth_names
927
+ auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
928
+
929
+ new_options = opts.merge(
930
+ :operation => :"BiomarkersApi.biomarkers_biomarker_literature_orgs",
931
+ :header_params => header_params,
932
+ :query_params => query_params,
933
+ :form_params => form_params,
934
+ :body => post_body,
935
+ :auth_names => auth_names,
936
+ :return_type => return_type
937
+ )
938
+
939
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
940
+ if @api_client.config.debugging
941
+ @api_client.config.logger.debug "API called: BiomarkersApi#biomarkers_biomarker_literature_orgs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
942
+ end
943
+ return data, status_code, headers
944
+ end
945
+
946
+ # Biomarker literature, most active authors
947
+ # @param id [String]
948
+ # @param [Hash] opts the optional parameters
949
+ # @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
950
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
951
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
952
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
953
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
954
+ # @return [BiomarkerLiteraturePeopleResponse]
955
+ def biomarkers_biomarker_literature_people(id, opts = {})
956
+ data, _status_code, _headers = biomarkers_biomarker_literature_people_with_http_info(id, opts)
957
+ data
958
+ end
959
+
960
+ # Biomarker literature, most active authors
961
+ # @param id [String]
962
+ # @param [Hash] opts the optional parameters
963
+ # @option opts [String] :cursor The next_cursor of the previous page. Opaque; it is bound to the filters and the warehouse build that issued it.
964
+ # @option opts [Integer] :limit Rows per page, up to 500 (default 50).
965
+ # @option opts [String] :sort Comma separated columns, a leading minus for descending: sort&#x3D;a,-b.
966
+ # @option opts [String] :group_by A dimension to group by; a date takes :year, :quarter or :month.
967
+ # @option opts [String] :measure count, sum(col), avg(col), min(col), max(col), median(col) or count_distinct(col).
968
+ # @return [Array<(BiomarkerLiteraturePeopleResponse, Integer, Hash)>] BiomarkerLiteraturePeopleResponse data, response status code and response headers
969
+ def biomarkers_biomarker_literature_people_with_http_info(id, opts = {})
970
+ if @api_client.config.debugging
971
+ @api_client.config.logger.debug 'Calling API: BiomarkersApi.biomarkers_biomarker_literature_people ...'
972
+ end
973
+ # verify the required parameter 'id' is set
974
+ if @api_client.config.client_side_validation && id.nil?
975
+ fail ArgumentError, "Missing the required parameter 'id' when calling BiomarkersApi.biomarkers_biomarker_literature_people"
976
+ end
977
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
978
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling BiomarkersApi.biomarkers_biomarker_literature_people, must be smaller than or equal to 500.'
979
+ end
980
+
981
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
982
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling BiomarkersApi.biomarkers_biomarker_literature_people, must be greater than or equal to 1.'
983
+ end
984
+
985
+ # resource path
986
+ local_var_path = '/api/v1/biomarkers/{id}/biomarker_literature_people'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
987
+
988
+ # query parameters
989
+ query_params = opts[:query_params] || {}
990
+ query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
991
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
992
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
993
+ query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
994
+ query_params[:'measure'] = opts[:'measure'] if !opts[:'measure'].nil?
995
+
996
+ # header parameters
997
+ header_params = opts[:header_params] || {}
998
+ # HTTP header 'Accept' (if needed)
999
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
1000
+
1001
+ # form parameters
1002
+ form_params = opts[:form_params] || {}
1003
+
1004
+ # http body (model)
1005
+ post_body = opts[:debug_body]
1006
+
1007
+ # return_type
1008
+ return_type = opts[:debug_return_type] || 'BiomarkerLiteraturePeopleResponse'
1009
+
1010
+ # auth_names
1011
+ auth_names = opts[:debug_auth_names] || ['ApiBearerJwt']
1012
+
1013
+ new_options = opts.merge(
1014
+ :operation => :"BiomarkersApi.biomarkers_biomarker_literature_people",
1015
+ :header_params => header_params,
1016
+ :query_params => query_params,
1017
+ :form_params => form_params,
1018
+ :body => post_body,
1019
+ :auth_names => auth_names,
1020
+ :return_type => return_type
1021
+ )
1022
+
1023
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1024
+ if @api_client.config.debugging
1025
+ @api_client.config.logger.debug "API called: BiomarkersApi#biomarkers_biomarker_literature_people\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1026
+ end
1027
+ return data, status_code, headers
1028
+ end
1029
+
778
1030
  # Companies publishing on a biomarker
779
1031
  # @param id [String]
780
1032
  # @param [Hash] opts the optional parameters