시리즈 스크래핑
Velog 시리즈의 모든 게시글을 스크래핑합니다.
GET /api/v1/series
Parameters
| Name | Type | Description |
|---|---|---|
| userId | string | Required. 스크래핑할 Velog 사용자 ID |
| seriesTitle | string | Required. 스크래핑할 Velog 시리즈 제목 |
Code samples
curl -L \
-H "Accept: application/json" \
"/api/v1/series?userId=username&seriesTitle=시리즈 제목"HTTP response status codes
| Status code | Description |
|---|---|
| 200 | OK |
| 400 | userId 또는 seriesTitle 파라미터가 누락되었습니다 |
| 500 | Internal server error |
Response schema
{
"title": string,
"contents": [
{
"title": string,
"body": string,
"image": string,
"date": string,
"href": string
}
]
}Example response
Status: 200
{
"title": "시리즈 제목",
"contents": [
{
"title": "게시글 제목 1",
"body": "<p>게시글 내용...</p>",
"image": "https://velog.io/image-url.jpg",
"date": "2024-01-01",
"href": "https://velog.io/@username/post-title-1"
},
{
"title": "게시글 제목 2",
"body": "<p>게시글 내용...</p>",
"image": "https://velog.io/image-url.jpg",
"date": "2024-01-02",
"href": "https://velog.io/@username/post-title-2"
}
]
}