getUserConfigurationSpecList
- Print
- PDF
getUserConfigurationSpecList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Views the user settings necessary for composition of Notebooks.
Requests
Request Parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
typeName | YES | String | - typeName can be verified through Notebooks’ getTypeList API |
Request headers
Request bodies
- JSON
{ "typeName": "string" }
- XML
<?xml version="1.0" encoding="UTF-8"?> <GetNotebookUserConfigurationSpecListRequest> <typeName>string</typeName> </GetNotebookUserConfigurationSpecListRequest>
Errors
HTTP Status | Description |
---|---|
400 | invalid request parameters |
403 | not allowed to access |
404 | no such element |
500 | unexpected error |
Examples
Request Examples
POST https://df.apigw.ntruss.com/api/v2/notebooks/getUserConfigurationSpecList
HOST: df.apigw.ntruss.com
Content-Type: application/json
x-ncp-apigw-signature-v2: Azm1WBMWDgEONUCUbsVkB4tRIpc053uOHU8bitbQRtU=
x-ncp-apigw-timestamp: 1658898041497
x-ncp-iam-access-key: F5O55GOTR4CqYJqPDnCu
{
"typeName": "Jupyter Lab"
}
curl -X POST "https://df.apigw.ntruss.com/api/v2/notebooks/getUserConfigurationSpecList" \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-H "x-ncp-iam-access-key: F5O55GOTR4CqYJqPDnCu" \
-H "x-ncp-apigw-timestamp: 1684750884177" \
-H "x-ncp-apigw-signature-v2: HxotNU+ZrmqWNVM+j3dd36xWncpIRcHPi4egeKU+3Dw=" \
-d "{ \"typeName\": \"Jupyter Lab\"}"
Response examples
HTTP
HTTP Status Description 200 OK BASH
{ "success": true, "userConfigurationSpecs": [ { "name": "Access Password", "value": "", "componentName": "Jupyter Lab", "regularExpression": "^[a-zA-Z][a-zA-Z0-9]{1,7}$", "isMasking": true, "isMandatory": true }, { "name": "Access Key", "value": "", "componentName": "Object Storage", "regularExpression": ".*", "isMasking": true, "isMandatory": false }, { "name": "Secret Key", "value": "", "componentName": "Object Storage", "regularExpression": ".*", "isMasking": true, "isMandatory": false } ] }
Errors examples
HTTP
HTTP Status Description 403 not allowed to access BASH
{ "message": "resource ('string') is not allowed or not exists", "success": false }
Was this article helpful?