Scrape domains / Get one
Return specific domain to scrape.
Route: /api/{tenant:minlength(2)}/v{version:apiVersion}/scrape_domains/{id}
Method: GET
Authorisation: Minimum role: USER
Request Arguments
Name | Type | Source |
---|---|---|
id | Int32 |
Request body example
Response object
Response status: 200 (OK)
Response type: DTO_scrape_domain
Wrapper: DTO_response_wrap
Other response statuses: 400 (BadRequest), 403 (Forbidden)
Response body example
DTO_scrape_domain
Name | Type | ReadOnly | Description |
---|---|---|---|
created_by | DTO_reference_user | ReadOnly | Created by |
last_updated_by | DTO_reference_user | ReadOnly | Last updated by |
id | Int32 | ReadOnly | Leave empty on input |
domain_name | String | Domain name | |
status | ENUM scrape_domain_status | ReadOnly | Status |
created | DateTime | ReadOnly | Created |
scraped_count | Int32 | ReadOnly | Scraped count |
last_updated | DateTime | ReadOnly | Last updated |
verified | DateTime (nullable) | ReadOnly | Verified |
DTO_reference_user
Name | Type | ReadOnly | Description |
---|---|---|---|
profile_pic | String | ReadOnly | Profile pic |
String | ReadOnly | ||
id | Int32 | Id | |
label | Object | ReadOnly | Label |
ENUM scrape_domain_status
Value | Name | Description |
---|---|---|
0 | UNKNOWN | UNKNOWN |
1 | PENDING | PENDING |
2 | VERIFIED | VERIFIED |