{"id":19749616,"url":"https://github.com/mskcc/external-samples-rest","last_synced_at":"2026-03-03T08:06:54.346Z","repository":{"id":75108136,"uuid":"115736889","full_name":"mskcc/external-samples-rest","owner":"mskcc","description":"Rest service to retrieve DMP samples for IGO","archived":false,"fork":false,"pushed_at":"2019-10-08T19:10:12.000Z","size":100,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-28T08:28:55.680Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mskcc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-29T16:19:02.000Z","updated_at":"2019-10-08T19:10:14.000Z","dependencies_parsed_at":"2023-04-20T13:57:14.198Z","dependency_job_id":null,"html_url":"https://github.com/mskcc/external-samples-rest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mskcc/external-samples-rest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskcc%2Fexternal-samples-rest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskcc%2Fexternal-samples-rest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskcc%2Fexternal-samples-rest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskcc%2Fexternal-samples-rest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mskcc","download_url":"https://codeload.github.com/mskcc/external-samples-rest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mskcc%2Fexternal-samples-rest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30036998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T06:58:30.252Z","status":"ssl_error","status_checked_at":"2026-03-03T06:58:15.329Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T02:27:27.070Z","updated_at":"2026-03-03T08:06:54.341Z","avatar_url":"https://github.com/mskcc.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# external-samples-rest\nRest service to retrieve DMP samples for IGO\n\n1. Samples endpoint\u003cbr/\u003e\n  usage: /samples/\u003cEXTERNAL_SAMPLE_ID\u003e\u003cbr/\u003e\n  eg. for DMP Samples: /samples/P-0020725-N01\u003cbr/\u003e\n2. Get all samples for a patient: \u003cbr/\u003e\n  a) by Cmo patient id\u003cbr/\u003e\n      /samples/patientCmo/\u003cCMO_PATIENT_ID\u003e\u003cbr/\u003e\n  b) by Dmp patient id\u003cbr/\u003e\n      /samples/patientDmp/\u003cDMP_PATIENT_ID\u003e\u003cbr/\u003e\n3. Get samples using pagination \u003cbr/\u003e\n  a) usage: samples/get?page=\u003cPAGE_NUMBER\u003e\u0026size=\u003cSIZE_\u003e \u003cbr/\u003e\n     page number is 0 based \u003cbr/\u003e\u003cbr/\u003e\n     result: content + information about pages:\u003cbr/\u003e\n       { \u003cbr/\u003e\n         \"last\": {\u003cbr/\u003e\n            \"type\": \"boolean\"\u003cbr/\u003e\n         },\u003cbr/\u003e\n         \"totalPages\":{\u003cbr/\u003e\n            \"type\": \"integer\"\u003cbr/\u003e\n         },\u003cbr/\u003e\n         \"totalElements\":{\u003cbr/\u003e\n            \"type\": \"integer\"\u003cbr/\u003e\n         },\u003cbr/\u003e\n         \"size\":{\u003cbr/\u003e\n            \"type\": \"integer\"\u003cbr/\u003e\n         },\u003cbr/\u003e\n         \"number\":{\u003cbr/\u003e\n            \"type\": \"integer\"\u003cbr/\u003e\n         },\u003cbr/\u003e\n         \"sort\":{\u003cbr/\u003e\n            \"type\": \"string\"\u003cbr/\u003e\n         },\u003cbr/\u003e\n         \"first\":{\u003cbr/\u003e\n            \"type\": \"boolean\"\u003cbr/\u003e\n         },\u003cbr/\u003e\n         \"numberOfElements\":{\u003cbr/\u003e\n            \"type\": \"integer\"\u003cbr/\u003e\n         }\u003cbr/\u003e\n       }\u003cbr/\u003e\n  b) sorting by any returned field: samples/get?page=1\u0026size5\u0026sort=runId\u0026direction=desc\u003cbr/\u003e\n4. Returned fields:\u003cbr/\u003e\n{\u003cbr/\u003e\n“externalId”: {\u003cbr/\u003e\n“type” : “string”\u003cbr/\u003e\n},\u003cbr/\u003e\n“filePath”: {\u003cbr/\u003e\n“type” : “string”\u003cbr/\u003e\n},\u003cbr/\u003e\n“externalPatientId”: {\u003cbr/\u003e\n“type” : “string”\u003cbr/\u003e\n},\u003cbr/\u003e\n“tumorNormal”: {\u003cbr/\u003e\n“type” : “string”\u003cbr/\u003e\n},\u003cbr/\u003e\n“counter”: {\u003cbr/\u003e\n“type” : “integer”\u003cbr/\u003e\n},\u003cbr/\u003e\n“runId”: {\u003cbr/\u003e\n“type” : “string”\u003cbr/\u003e\n},\u003cbr/\u003e\n“sampleOrigin”: {\u003cbr/\u003e\n“type” : “string”\u003cbr/\u003e\n},\u003cbr/\u003e\n“sampleClass”: {\u003cbr/\u003e\n“type” : “string”\u003cbr/\u003e\n},\u003cbr/\u003e\n“cmoId”: {\u003cbr/\u003e\n“type” : “string”\u003cbr/\u003e\n},\u003cbr/\u003e\n“nucleidAcid”: {\u003cbr/\u003e\n“type” : “string”\u003cbr/\u003e\n},\u003cbr/\u003e\n“patientCmoId”: {\u003cbr/\u003e\n“type” : “string”\u003cbr/\u003e\n},\u003cbr/\u003e\n“specimenType”: {\u003cbr/\u003e\n“type” : “string”\u003cbr/\u003e\n},\u003cbr/\u003e\n“sex”: {\u003cbr/\u003e\n“type” : “string”\u003cbr/\u003e\n},\u003cbr/\u003e\n“oncotreeCode”: {\u003cbr/\u003e\n“type” : “string”\u003cbr/\u003e\n},\u003cbr/\u003e\n“baitVersion”: {\u003cbr/\u003e\n“type” : “string”\u003cbr/\u003e\n},\u003cbr/\u003e\n“tissueSite”: {\u003cbr/\u003e\n“type” : “string”\u003cbr/\u003e\n},\u003cbr/\u003e\n“preservationType”: {\u003cbr/\u003e\n“type” : “string”\u003cbr/\u003e\n},\u003cbr/\u003e\n“externalRunId”: {\u003cbr/\u003e\n“type” : “string”\u003cbr/\u003e\n}\u003cbr/\u003e\n}\u003cbr/\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmskcc%2Fexternal-samples-rest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmskcc%2Fexternal-samples-rest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmskcc%2Fexternal-samples-rest/lists"}