archivebox.api.v1_crawls

Module Contents

Classes

SeedSchema

CrawlSchema

Functions

get_seeds

get_seed

get_crawls

get_crawl

Get a specific Crawl by id or abid.

Data

router

API

archivebox.api.v1_crawls.router[source]

‘Router(…)’

class archivebox.api.v1_crawls.SeedSchema[source]

Bases: ninja.Schema

TYPE: str[source]

‘crawls.models.Seed’

id: uuid.UUID[source]

None

abid: str[source]

None

modified_at: datetime.datetime[source]

None

created_at: datetime.datetime[source]

None

created_by_id: str[source]

None

created_by_username: str[source]

None

uri: str[source]

None

tags_str: str[source]

None

config: dict[source]

None

static resolve_created_by_id(obj)[source]
static resolve_created_by_username(obj)[source]
archivebox.api.v1_crawls.get_seeds(request)[source]
archivebox.api.v1_crawls.get_seed(request, seed_id: str)[source]
class archivebox.api.v1_crawls.CrawlSchema[source]

Bases: ninja.Schema

TYPE: str[source]

‘crawls.models.Crawl’

id: uuid.UUID[source]

None

abid: str[source]

None

modified_at: datetime.datetime[source]

None

created_at: datetime.datetime[source]

None

created_by_id: str[source]

None

created_by_username: str[source]

None

status: str[source]

None

retry_at: datetime.datetime | None[source]

None

seed: archivebox.api.v1_crawls.SeedSchema[source]

None

max_depth: int[source]

None

static resolve_created_by_id(obj)[source]
static resolve_created_by_username(obj)[source]
static resolve_snapshots(obj, context)[source]
archivebox.api.v1_crawls.get_crawls(request)[source]
archivebox.api.v1_crawls.get_crawl(request, crawl_id: str, as_rss: bool = False, with_snapshots: bool = False, with_archiveresults: bool = False)[source]

Get a specific Crawl by id or abid.