跳到主要内容

Create a crawler

POST 

https://api.one.blendvision.com/bv/aisk/v1/crawlers

This API is used to create a crawler resource.

Request

Body

required
    crawler objectrequired

    Required. The crawler resource to be created.

    start_urls string[]

    Input only. The list of URLs which the crawler will begin to crawl from.

Responses

A successful response.

Schema
    crawler object
    id string

    Output only. The uuid of the crawler.

    start_urls string[]

    Input only. The list of URLs which the crawler will begin to crawl from.

    status string

    Possible values: [CRAWLER_STATUS_RUNNING, CRAWLER_STATUS_COMPLETED, CRAWLER_STATUS_FAILED]

    Output only. The status of the crawler.

    crawled_urls string[]

    Output only. The list of URLs that the crawler found.

Authorization: authorization

name: authorizationtype: apiKeydescription: Enter the token with Bearer schema prefix, eg. `Bearer <token-string>`in: header
curl -L 'https://api.one.blendvision.com/bv/aisk/v1/crawlers' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'authorization: <API_KEY_VALUE>' \
-d '{
"crawler": {
"start_urls": [
"string"
]
}
}'
Request Collapse all
Base URL
https://api.one.blendvision.com
Auth
Body required
{
"crawler": {
"start_urls": [
"string"
]
}
}
ResponseClear

Click the Send API Request button above and see the response here!