Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Basespace API keys

44 views
Skip to first unread message

Rob QIAO

unread,
Dec 22, 2022, 9:04:01 PM12/22/22
to basespace-developers
Hi Team, 

Do we have any docs on API keys for construction of app launches via POST. 

e.g. POST body 

{ "Name": "Api Launch Isaac WGS v2", "StatusSummary": "AutoLaunch", "AutoStart": true, "Properties": [ 
 { "Name": "Input.project-id", "Type": "project", "Content": "v1pre3/projects/123 " }, 
 { "Name": "Input.sample-id", "Type": "sample[]", "items": [ "v1pre3/samples/123 " ] }, 
 { "Name": "Input.FlagPCRDuplicates-id", "Type": "string[]", "items": [ ] }, 
 { "Content": "RefSeq", "Name": "Input.AnnotationSource", "Type": "string" },
{ "Name": "Input.genome-id", "Type": "string", "Content": "Human" }, 
{ "Name": "Input.GQX-id", "Type": "string", "Content": "30" }, 
{ "Content": "10", "Name": "Input.StrandBias-id", "Type": "string" } ] }

For TSO app, I have an error like this 
    "ErrorCode": "BASESPACE.PROPERTIES.NAME_INVALID",
    "Message": "Property name: basespace-labs must contain 2 or more segments split by a period. Each segment may contain letters, numbers, '-', and '_'. First segment must start with a letter or number."

Do we have any doc/where to find info on construct basespace-labs item? 
Thx 
Regards
R
Reply all
Reply to author
Forward
0 new messages