Tube Archivist Refresh API

The Refresh API from Tube Archivist — 1 operation(s) for refresh.

Operations 2

GET /api/refresh/ Api refresh retrieve #
POST /api/refresh/ Api refresh create #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tubearchivist:tubearchivist-refresh-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tubearchivist-refresh-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tubearchivist Refresh API
  version: v0.6.0
  description: 'Operations tagged Refresh across 2 of this provider''s published API definitions: schema.yaml, tubearchivist-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: Refresh
paths:
  /api/refresh/:
    get:
      operationId: api_refresh_retrieve
      description: get refresh status
      parameters:
      - in: query
        name: id
        schema:
          type: string
          minLength: 1
      - in: query
        name: type
        schema:
          enum:
          - video
          - channel
          - playlist
          type: string
          minLength: 1
        description: '* `video` - video

          * `channel` - channel

          * `playlist` - playlist'
      tags:
      - Refresh
      security:
      - tokenAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RefreshResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad request
      summary: Api refresh retrieve
      x-summary-source: derived
    post:
      operationId: api_refresh_create
      description: add to reindex queue
      parameters:
      - in: query
        name: extract_videos
        schema:
          type: boolean
      tags:
      - Refresh
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RefreshAddData'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/RefreshAddData'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/RefreshAddData'
      security:
      - tokenAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncTaskResponse'
          description: ''
      summary: Api refresh create
      x-summary-source: derived
components:
  schemas:
    ErrorResponse:
      type: object
      description: error message
      properties:
        error:
          type: string
      required:
      - error
    RefreshResponse:
      type: object
      description: serialize refresh response
      properties:
        id:
          type:
          - string
          - 'null'
        state:
          $ref: '#/components/schemas/StateEnum'
        total_queued:
          type: integer
        queue_type:
          $ref: '#/components/schemas/QueueTypeEnum'
        queue_position:
          type:
          - integer
          - 'null'
      required:
      - id
      - queue_position
      - queue_type
      - state
      - total_queued
    AsyncTaskResponse:
      type: object
      description: serialize new async task
      properties:
        message:
          type: string
        task_id:
          type: string
        status:
          type: string
        filename:
          type: string
      required:
      - task_id
    QueueTypeEnum:
      enum:
      - all
      - video
      - channel
      - playlist
      type: string
      description: '* `all` - all

        * `video` - video

        * `channel` - channel

        * `playlist` - playlist'
    StateEnum:
      enum:
      - running
      - in_queue
      - empty
      - not_in_queue
      - processing
      type: string
      description: '* `running` - running

        * `in_queue` - in_queue

        * `empty` - empty

        * `not_in_queue` - not_in_queue

        * `processing` - processing'
    RefreshAddData:
      type: object
      description: add to refresh queue serializer
      properties:
        video:
          type: array
          items:
            type: string
        channel:
          type: array
          items:
            type: string
        playlist:
          type: array
          items:
            type: string
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
    cookieAuth:
      type: apiKey
      in: cookie
      name: sessionid
    tokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Token-based authentication with required prefix "Token"
x-refined-from:
- schema.yaml
- tubearchivist-openapi.yml