메뉴

스냅포스트 메타 데이터 업데이트 엔드포인트 (모바일 앱 클라이언트 전용)

2017년 2월 6일 - SnapPost edit

스냅포스트 메타 데이터 업데이트 엔드포인트

특정 SnapPost 모델의 메타 데이터를 업데이트하기 위한 엔드포인트입니다.

모바일 앱 클라이언트 전용 엔드포인트입니다.

Endpoint

POST /{api_version}/snap-post/update-meta/{post_id}

api_version은 API 버전 슬러그, post_id는 스냅포스트 모델 id(pk)로 치환하시기 바랍니다.

title, subtitle, caption, location_id, gender, season 파라미터를 전송할 수 있습니다.

HTTP response codes

200 성공.
404 존재하지 않는 모델의 저장을 요청한 경우.
403 소유권이 사용자에게 없는 모델의 저장을 요청하는 경우.

반환값

Standard Response Structure의 data 속성에 업데이트된 SnapPost 모델을 반환합니다.