{"openapi":"3.0.3","info":{"title":"APICK 문서 수정","version":"1.0.0","description":"편집한 문서를 저장합니다. 다른 곳에서 수정되었다면 충돌을 알려 줍니다."},"servers":[{"url":"https://apick.app"}],"paths":{"/rest/document_update":{"post":{"summary":"문서 수정","description":"편집한 문서를 저장합니다. 다른 곳에서 수정되었다면 충돌을 알려 줍니다.","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"서비스별 성공·처리 상태 응답","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"default":{"description":"HTTP 상태 및 서비스 오류코드 확인","content":{"application/json":{"schema":{"type":"object"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"document_id":{"type":"string","description":"내 문서 ID"},"version":{"type":"integer","description":"마지막으로 읽은 문서 버전","minimum":1},"title":{"type":"string","description":"문서에 표시할 제목, 최대 120자"},"form":{"type":"string","description":"서식 키. 자유 문서는 빈 문자열"},"content":{"type":"object","description":"문서 JSON. type=doc, content에 문단·표·텍스트를 넣습니다. 스키마 버전 1","additionalProperties":true},"request_id":{"type":"string","description":"중복 방지 요청 ID. UUID 권장, 같은 요청의 재시도는 같은 값"}},"required":["document_id","version","request_id"]}}}}}}},"x-code-tables":[],"x-service-errors":[],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}}}