restart
    • PDF

    restart

    • PDF

    기사 요약

    VPC 환경에서 이용 가능합니다.

    생성한 Notebook을 재시작합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    idYESString- id는 Notebooks의 getList API를 통해서 획득 가능

    요청 헤더

    공통 가이드 참조

    요청 바디

    • JSON
      {
        "id": "string"
      }
      
    • XML
      <?xml version="1.0" encoding="UTF-8"?>
      <RestartNotebookRequest>
        <id>string</id>
      </RestartNotebookRequest>
      

    응답

    응답 바디

    • JSON
        {
          "id": "string",
          "message": "string",
          "success": true
        }
      
    • XML
        <?xml version="1.0" encoding="UTF-8"?>
        <RestartNotebookResponse>
            <id>string</id>
            <message>string</message>
            <success>true</success>
        </RestartNotebookResponse>
      

    오류코드

    DataForest 개요 참조

    예시

    요청 예시

    POST https://df.apigw.ntruss.com/api/v2/notebooks/restart
    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
    {
      "id": "7kHeVWhiRsxdRl0nXz04ri"
    }
    
    curl -X POST "https://df.apigw.ntruss.com/api/v2/notebooks/restart" \
    -H "accept: application/json" \
    -H "Content-Type: application/json" \
    -H "x-ncp-iam-access-key: F5O55GOTR4CqYJqPDnCu" \
    -H "x-ncp-apigw-timestamp: 1684753834320" \
    -H "x-ncp-apigw-signature-v2: 2k5YvR1zizkNA84ckHNoinY6VOaZ54GiaTZvZYElves=" \
    -d "{ \"id\": \"7kHeVWhiRsxdRl0nXz04ri\"}"
    

    응답 예시

    • HTTP

      HTTP StatusDescription
      200OK
    • BASH

      {
          "success": true,
          "id": "7kHeVWhiRsxdRl0nXz04ri"
      }
      

    오류 코드 예시

    • HTTP

      HTTP StatusDescription
      403not allowed to access
    • BASH

      {
        "message": "resource ('string') is not allowed or not exists",
        "success": false
      }
      

    이 문서가 도움이 되었습니까?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.