LogoLogo
English
English
  • Welcome
  • About
    • About the CVSA Project
    • Scope of Inclusion
  • Architecture
    • Overview
    • Crawler
    • Database Structure
      • Type of a Song
    • Artificial Intelligence
  • API Doc
    • Catalog
    • Songs
Powered by GitBook

Contents are licensed under CC BY 4.0 if not specified.

On this page

Was this helpful?

Edit on GitHub
  1. API Doc

Songs

PreviousCatalog

Last updated 1 month ago

Was this helpful?

Get list of video snapshots

get

Get a list of video snapshots by the ID. The ID can be "av" + number, or "BV" + a 12-digit alphanumeric string, or an integer as the av number in bilibili.

Path parameters
idstringRequired

The ID of the video (e.g. av78977256, BV1KJ411C7CW, 78977256)

Query parameters
psinteger · min: 1Optional

The number of snapshots returned per page (pageSize), the default is 1000.

Default: 1000
pninteger · min: 1Optional

The page number, used for pagination. Only one of offset and pn can be specified.

offsetinteger · min: 1Optional

The offset for offset-based queries. Only one of offset and pn can be specified.

reversebooleanOptional

Reverse snapshots from old to new if set to true. Default is false.

Responses
200
Successfuly retrieved snapshots
application/json
400
Invalid query parameters
application/json
500
Internal server error
application/json
get
GET /video/{id}/snapshots HTTP/1.1
Host: api.projectcvsa.com
Accept: */*
[
  {
    "id": 1,
    "aid": 1,
    "views": 1,
    "coins": 1,
    "likes": 1,
    "favorites": 1,
    "shares": 1,
    "danmakus": 1,
    "replies": 1
  }
]