Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.51 KB

rest_fcevent.md

File metadata and controls

43 lines (30 loc) · 1.51 KB

RestAPI FullCalendar Event

FullCalendar Event Restapi 입니다.

GET

URI Description Attributes Curl Example
/api/fcevent/{id} FullCalendar event 정보를 가져옵니다 id curl -X GET -H "Authorization: Basic {TOKEN}" "https://openpipeline.io/api/fcevent/{id}"

POST

URI Description Attributes Curl Example
/api/fcevent FullCalendar event 정보를 추가합니다 Option 참고 curl -X POST -H 'Authorization: Basic {TOKEN}' -d '{"title":"일정이름","start":"2022-10-07", "end":"2022-10-08"}' "https://openpipeline.io/api/fcevent"

PUT

URI Description Attributes Curl Example
/api/fcevent/{id} FullCalendar event 정보를 수정합니다 자료구조 참고 curl -X PUT -H "Authorization: Basic {TOKEN}“ -d '{"title":"일정이름","start":"2022-10-07", "end":"2022-10-08"}' "https://openpipeline.io/api/fcevent/{id}"

DELETE

URI Description Attributes Curl Example
/api/fcevent/{id} FullCalendar event 정보를 삭제합니다. id curl -X DELETE -H "Authorization: Basic {TOKEN}" "https://openpipeline.io/api/fcevent/{id}"

Option 체크

curl https://openpipeline.io/api/fcevent -v
HTTP/1.1 200 OK
< Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
< Access-Control-Allow-Origin: *
< Date: Tue, 17 May 2022 02:10:41 GMT
< Content-Length: 0