Skip to content

동아리 정보 수정

devi_kya edited this page Mar 12, 2018 · 7 revisions

문서 제목

  • Method : PATCH
  • URL : /cia/name
  • Content-Type : application/json; charset=utf-8

Request

필드명 타입 필수여부 설명
name String Required 정보 이름
value String Required 정보 내용

예제

http PATCH https://:your-site/cia/name/ value="정보통신망법 규정에 따라..."

Response

필드명 타입 필수여부 설명
id Int Required 정보가 저장 될 pk
name String Required 정보 이름
value String Required 정보 내용
  • 예제
{
  "id": 1,
  "createdAt": "2018-03-12T10:41:45.000Z",
  "title": "",
  "text": "helloWorld!"
}
http status code code message comment
201 0 SUCCESS 정상 응답
400 0 FAIL 비정상 응답
401 0 Unathorized 로그인 필요
403 0 Forbidden 권한 없음