MemberTitle API
회원 칭호 관련 API
회원 칭호 단건 조회
회원 칭호 단건 조회하기
GET https://www.photosmap.site/member-titles/{id}
회원 칭호의 id 값을 사용하여 특정 회원 칭호 정보(id, 이름, 획득방법, 이미지URL, 획득여부, 대표칭호여부)를 조회한다.
Path Parameters
Name
Type
Description
id*
회원 칭호 id
Headers
Name
Type
Description
Authorization*
Bearer
access token
is_holding: 획득여부(true: 획득O, false: 획득X)
is_main: 대표칭호여부(true: 대표칭호O, false: 대표칭호X)
{
"id": 1,
"name": "뉴비",
"content": "회원가입",
"image_url": "https://d18tllc1sxg8cp.cloudfront.net/member_title_image/member_title_1_active.png",
"is_holding": true,
"is_main": true
}{
"errorCode": "404",
"errorMessage": "해당 회원 칭호가 존재하지 않습니다."
}회원 칭호 전체 조회
회원 칭호 전체 조회하기
GET https://www.photosmap.site/member-titles
획득한 칭호 개수, 대표 칭호 정보, 모든 칭호 정보(id, 이름, 이미지URL, 획득여부, 대표칭호여부)를 응답한다.
Headers
Name
Type
Description
Authorization*
Bearer
access token
holding_count: 획득한 칭호 개수
is_holding: 획득여부(true: 획득O, false: 획득X)
is_main: 대표칭호여부(true: 대표칭호O, false: 대표칭호X)
standard: 획득방법(획득하지 않은 경우 사용)
content: 설명(획득한 경우 사용)
Last updated