{"_id":"5a2e743ec5066f0032f80074","project":"5773dcfc255e820e00e1cd4d","version":{"_id":"5773dcfc255e820e00e1cd50","__v":26,"project":"5773dcfc255e820e00e1cd4d","createdAt":"2016-06-29T14:36:44.812Z","releaseDate":"2016-06-29T14:36:44.812Z","categories":["5773dcfc255e820e00e1cd51","5773df36904b0c0e00ef05ff","577baf92451b1e0e006075ac","577bb183b7ee4a0e007c4e8d","577ce77a1cf3cb0e0048e5ea","577d11865fd4de0e00cc3dab","578e62792c3c790e00937597","578f4fd98335ca0e006d5c84","578f5e5c3d04570e00976ebb","57bc35f7531e000e0075d118","57f801b3760f3a1700219ebb","5804d55d1642890f00803623","581c8d55c0dc651900aa9350","589dcf8ba8c63b3b00c3704f","594cebadd8a2f7001b0b53b2","59a562f46a5d8c00238e309a","5a2aa096e25025003c582b58","5a2e79566c771d003ca0acd4","5a3a5166142db90026f24007","5a3a52b5bcc254001c4bf152","5a3a574a2be213002675c6d2","5a3a66bb2be213002675cb73","5a3a6e4854faf60030b63159","5c8a68278e883901341de571","5cb9971e57bf020024523c7b","5cbf1683e2a36d01d5012ecd"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"5a2aa096e25025003c582b58","project":"5773dcfc255e820e00e1cd4d","version":"5773dcfc255e820e00e1cd50","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-12-08T14:24:22.385Z","from_sync":false,"order":21,"slug":"sbfs-command-reference","title":"SBFS Command reference"},"user":"566590c83889610d0008a253","githubsync":"","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-12-11T12:04:14.358Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":2,"body":"##Overview\n\nList all projects which are available for mounting via SBFS. \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"Usage:\\n  sbfs list [parameters]\\n \\nParameters:\\n  -h, --help  help for list\",\n      \"language\": \"text\",\n      \"name\": \"List\"\n    }\n  ]\n}\n[/block]\n##Examples\n\n###List all projects the user has access to\nThe API endpoint and the authentication token are taken from the default profile. \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"$ sbfs list\\nuser1/proj1\\nuser1/proj2\\notheruser/otherproject\",\n      \"language\": \"text\",\n      \"name\": \"List all projects the user has access to\"\n    }\n  ]\n}\n[/block]\n###Authentication token specified in a profile\nList all projects which are available for the user whose authentication token is specified in the `my-other-account` profile.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"$ sbfs --profile \\\"my-other-account\\\" list\\nuser2/proj\\nuser2/someproject1\\nuser2/someproject2\\notheuser/otherproject\",\n      \"language\": \"text\",\n      \"name\": \"Authentication token specified in a profile\"\n    }\n  ]\n}\n[/block]\n###Modify a profile\nExisting values for API endpoint and authentication token are displayed in the brackets, pressing Enter key leaves current value unchanged.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"$ sbfs --profile \\\"my-other-account\\\" configure\\nAPI endpoint [https://cavatica-api.sbgenomics.com/v2]: <Enter>\\nAuthentication token [***************hjkl]: d7017exAMPle48934a5c750EXampLE09\",\n      \"language\": \"text\",\n      \"name\": \"Modify a profile\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"list","type":"basic","title":"List"}
##Overview List all projects which are available for mounting via SBFS. [block:code] { "codes": [ { "code": "Usage:\n sbfs list [parameters]\n \nParameters:\n -h, --help help for list", "language": "text", "name": "List" } ] } [/block] ##Examples ###List all projects the user has access to The API endpoint and the authentication token are taken from the default profile. [block:code] { "codes": [ { "code": "$ sbfs list\nuser1/proj1\nuser1/proj2\notheruser/otherproject", "language": "text", "name": "List all projects the user has access to" } ] } [/block] ###Authentication token specified in a profile List all projects which are available for the user whose authentication token is specified in the `my-other-account` profile. [block:code] { "codes": [ { "code": "$ sbfs --profile \"my-other-account\" list\nuser2/proj\nuser2/someproject1\nuser2/someproject2\notheuser/otherproject", "language": "text", "name": "Authentication token specified in a profile" } ] } [/block] ###Modify a profile Existing values for API endpoint and authentication token are displayed in the brackets, pressing Enter key leaves current value unchanged. [block:code] { "codes": [ { "code": "$ sbfs --profile \"my-other-account\" configure\nAPI endpoint [https://cavatica-api.sbgenomics.com/v2]: <Enter>\nAuthentication token [***************hjkl]: d7017exAMPle48934a5c750EXampLE09", "language": "text", "name": "Modify a profile" } ] } [/block]