콘텐츠 뻐꾸기 API
공모전, 이벤트 등 콘텐츠 정보를 조회하는 API입니다.
콘텐츠 목록 조회
Endpoint
GET /v1/contentsRequest
Query Parameters
Response
| Name | Type | Default |
|---|---|---|
items | ContentResponse[]콘텐츠 목록 | |
pagination | Pagination페이지네이션 정보 |
Examples
cURL
Terminal
# 모집 중인 콘텐츠 조회
curl "https://openapi.meloming.com/v1/contents?statuses=RECRUITING&limit=20"
# 마감 임박순 정렬
curl "https://openapi.meloming.com/v1/contents?statuses=RECRUITING&order=deadline_closest"
# 태그로 필터링
curl "https://openapi.meloming.com/v1/contents?tagIds=1,2,3"콘텐츠 상세 조회
Endpoint
GET /v1/contents/{id}Request
Path Parameters
| Name | Type | Default |
|---|---|---|
id | number콘텐츠 ID |
Query Parameters
| Name | Type | Default |
|---|---|---|
incrementView | boolean조회수 증가 여부 | true |
Response
Examples
cURL
Terminal
# 기본 조회 (조회수 증가)
curl https://openapi.meloming.com/v1/contents/123
# 조회수 증가 없이 조회
curl "https://openapi.meloming.com/v1/contents/123?incrementView=false"콘텐츠 참가 신청 및 관리 API는 OAuth 인증이 필요하며, 추후 별도 문서로 안내될 예정입니다.
Last updated on