플레이어 목록 조회
    • PDF

    플레이어 목록 조회

    • PDF

    Article Summary

    플레이어 목록을 조회합니다.

    요청

    GET {API_URL}/players
    

    요청 파라미터

    필드명필수 여부타입제약 사항설명
    page_sizeNInteger10 ~ 1000페이지당 항목 수 (default: 10)
    page_noNInteger1 ~ 1000페이지 번호 (default: 1)
    sort_typeNStringdesc / asc생성일 기준 정렬 (default: desc)

    응답

    필드명타입설명비고
    result[] Object
    result.page_countInteger전체 페이지 수
    result.page_noInteger현재 페이지 번호
    result.page_sizeInteger요청한 페이지 당 항목 수
    result.totalInteger총 항목 수
    result.pricingString유저의 요금제 (free:무료 / pay:유료)
    result.list[] Object
    result.list.noInteger플레이어 번호
    result.list.nameString플레이어 이름
    result.list.versionStringSDK 플레이어 버전
    result.list.access_keyString플레이어 접근 키
    result.list.updated_atString수정일시
    result.list.created_atString생성일시

    성공 코드

    HttpStatusCodeCodeMessage
    200200ok

    요청 예시

    GET /api/v1/players
    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/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": [ {
            "no": 3994,
             "name": "apiguide",
             "version": "latest",
             "access_key": "23c6e1b8cd62a6b0f12db7920f7336f0",
             "updated_at": "2023-04-13T01:34:13.000+00:00",
             "created_at": "2023-04-13T01:34:13.000+00:00"
        } ],
        "pagination": {
            "page_size": 10,
            "page_no": 1,
            "total": 1,
            "page_count": 1
        },
        "pricing": "pay"
    }
    

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

    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.