MENU
      플레이어 조회
        • PDF

        플레이어 조회

        • PDF

        기사 요약

        플레이어의 상세 정보를 조회하는 방법은 다음과 같습니다.

        요청

        GET {API_URL}/players/{player_no}
        HTTP

        요청 파라미터

        필드명필수 여부타입제약 사항설명
        player_noYIntegerPath Parameter플레이어 번호

        응답

        필드명타입설명
        resultObject
        result.noInteger플레이어 번호
        result.nameString플레이어 이름
        result.versionString선택한 플레이어 SDK 버전
        result.auto_updateString자동 업데이트 여부
        result.access_keyString플레이어 액세스 키
        result.updated_atString수정일시
        result.created_atString생성일시
        result.domainsObject등록된 도메인 정보
        result.domains.iosObject등록된 ios 앱 데이터
        result.domains.ios.noInteger도메인 pk
        result.domains.ios.typeString도메인 타입
        result.domains.ios.domainStringaos 패키지 아이디
        result.domains.ios.created_atString도메인 등록일시
        result.domains.aosObject등록된 aos 앱 데이터
        result.domains.aos.noInteger도메인 pk
        result.domains.aos.typeString도메인 타입
        result.domains.aos.domainStringaos 패키지 아이디
        result.domains.aos.created_atString도메인 등록일시
        result.domains.webObject등록된 도메인 중 web
        result.domains.web.noInteger도메인 pk
        result.domains.web.typeString도메인 타입
        result.domains.web.domainStringURL
        result.domains.web.created_atString도메인 등록일시

        요청 예시

        GET /api/v1/player/1
        HOST: vpe.apigw.ntruss.com
        Content-Type: application/json
        x-ncp-apigw-timestamp:1521787414578
        x-ncp-iam-access-key:6uxz1nKkcYwUjWRG5Q1V7NsW0i5jErlu2NjBXXgy
        x-ncp-apigw-signature-v2:iJFK773KH0WwQ79PasqJ+ZGixtpDQ/abS57WGQdld2M=
        x-ncp-region_code:KR
        HTTP

        성공 코드

        HttpStatusCodeCodeMessage
        200200ok

        에러 코드

        HttpStatusCodeCodeMessageDescription
        2004601Query string player_no is missing.
        2004801No player information.

        응답 예시

        HTTP/1.1 200 OK
        Date: Fri, 26 Feb 2021 09:53:32 GMT
        Content-Type: application/json;charset=utf-8
        Connection: keep-alive
        Access-Control-Allow-Origin: *
        x-ncp-trace-id: 36c9k60om4p3238cpmc9gm4cj4
        
        {
          "code": "200",
          "message": ok,
          "result": {
            "name": "test",
            "no": 1234,
            "version" : "1.0.0",
            "auto_update": "Y",
            "domains": {
              "aos": [
                {
                  "no": 6965,
                  "type": "aos",
                  "domain": "com.test.com",
                  "created_at": "2023-04-13T01:34:13.000+00:00"
                }
              ],
              "ios": [
                {
                  "no": 6964,
                  "type": "ios",
                  "domain": "com.test.com",
                  "created_at": "2023-04-13T01:34:13.000+00:00"
                }
              ],
              "web": [
                {
                  "no": 6963,
                  "type": "web",
                  "domain": "http://test.com",
                  "created_at": "2023-04-13T01:34:13.000+00:00"
                }
              ]
            },
            "access_key": "92f4a22e68",
            "created_at": "2023-04-13T01:34:13.000+00:00",
            "updated_at": "2023-04-19T03:19:06.000+00:00"
          }
        }
        HTTP

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

        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.