archivebox.api.v1_core
Module Contents
Classes
Functions
List all ArchiveResult entries matching these filters. |
|
Get a specific ArchiveResult by id or abid. |
|
List all Snapshot entries matching these filters. |
|
Get a specific Snapshot by abid or id. |
|
Get any object by its ABID or ID (e.g. snapshot, archiveresult, tag, seed, crawl, etc.). |
Data
API
- class archivebox.api.v1_core.CustomPagination[source]
Bases:
ninja.pagination.PaginationBase
- archivebox.api.v1_core.get_archiveresults(request, filters: archivebox.api.v1_core.ArchiveResultFilterSchema = Query(...))[source]
List all ArchiveResult entries matching these filters.
- archivebox.api.v1_core.get_archiveresult(request, archiveresult_id: str)[source]
Get a specific ArchiveResult by id or abid.
- class archivebox.api.v1_core.SnapshotSchema[source]
Bases:
ninja.Schema
- archiveresults: List[archivebox.api.v1_core.MinimalArchiveResultSchema][source]
None
- archivebox.api.v1_core.get_snapshots(request, filters: archivebox.api.v1_core.SnapshotFilterSchema = Query(...), with_archiveresults: bool = False)[source]
List all Snapshot entries matching these filters.
- archivebox.api.v1_core.get_snapshot(request, snapshot_id: str, with_archiveresults: bool = True)[source]
Get a specific Snapshot by abid or id.
- class archivebox.api.v1_core.TagSchema[source]
Bases:
ninja.Schema
- snapshots: List[archivebox.api.v1_core.SnapshotSchema][source]
None