📄
lee
  • Initial page
  • API
  • 이메일 인증
    • 이메일 인증
    • 패스워드 찾기 이메일 인증
  • 회원가입 및 신규 패스워드
    • 소셜 계정
    • 회원가입
    • 신규 패스워드
  • 로그인
    • 토큰 발급(로그인)
    • 토큰 인증(자동 로그인)
  • 마이페이지
    • 유저 마이페이지
    • 마이페이지
  • 댓글
    • 댓글
  • 알림
  • 좋아요
  • 게시글(사진)
  • 패스워드
  • 신고
  • 스크랩
    • 스크랩 페이지
    • 스크랩
  • 태그
  • 검색
  • 최근검색어
  • 유저
  • 규칙
Powered by GitBook
On this page
  • get-list recent search word
  • 'Regacy Method'

Was this helpful?

최근검색어

get-list recent search word

GET http://15.164.213.66/spott/recent

This endpoint allows you to get free cakes.

Headers

Name
Type
Description

Authorization

string

'규칙 참조'

{
    "payload": {
        "items": [
            {
                "name": "쇼쇼",
                "is_tag": true
            },
            {
                "id": 4,
                "nickname": "최지석",
                "profile_image": "https://avon-spott-imageserver.s3.ap-northeast-2.amazonaws.com/media/usr/%EC%97%AC%EC%9E%903.jpg",
                "is_tag": false
            },
            {
                "id": 3,
                "nickname": "박민석",
                "profile_image": "https://avon-spott-imageserver.s3.ap-northeast-2.amazonaws.com/media/usr/0.jpg",
                "is_tag": false
            },
            {
                "name": "이치원",
                "is_tag": true
            }
        ]
    },
    "message": "create success"
}
{
    "error": "User matching query does not exist."
}

POST

Path Parameters

Name
Type
Description

action

string

Request Body

Name
Type
Description

action

integer

'검색된 후

tag_name

string

user_pk

string

'Regacy Method'

PATCH http://15.164.213.66/spott/recent/:pk

Path Parameters

Name
Type
Description

pk

integer

'최근 검색어 어레이리스트의 포지션'

Headers

Name
Type
Description

Authorization

string

'규칙 참조'

{
    "payload": {
        "result": true
    },
    "message": "recent_search_item_click success"
}

DELETE http://15.164.213.66/spott/recent/:pk

Path Parameters

Name
Type
Description

pk

integer

'전체 삭제 시 -1 부분 삭제시 최금 검색어의 어레이리스트 포지션 값 입력'

Headers

Name
Type
Description

Authorization

string

'규칙 참조'

{
    "payload": {
        "result": true
    },
    "message": "delete success"
}

Previous검색Next유저

Last updated 5 years ago

Was this helpful?