Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

YouScan History API

Manage historical data collection for a topic.Starting a collection can return `400` if a collection is already running, if the daterange is invalid, or if the requested depth exceeds your plan's history limit.

YouScan History API is one of 8 APIs that YouScan publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include History. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 3 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against a single base URL, https://api.youscan.io/api/external.

3 operations 2 paths 3 schemas 1 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Base URL
https://api.youscan.io/api/external
Authentication
API Key, API Key
Resource Areas
1

Authentication & Security 2

YouScan History API declares 2 security schemes for authenticating requests. An API key is passed in the header as X-API-KEY (ApiKeyHeader). An API key is passed in the query as apiKey (ApiKeyQuery). By default, every request must be authenticated.

  • ApiKeyHeader — API key authentication. The recommended way to authenticate requests.
  • ApiKeyQuery — API key as a query parameter. For testing purposes only.

Paths & Operations 3

Across 2 paths, the API surfaces 3 operations — 1 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

History 3

Manage historical data collection for a topic. Starting a collection can return 400 if a collection is already running, if the date range is invalid, or if the requested depth exc…

GET
/topics/{topicId}/history
History collection details
getHistoryDetails 1 param → 200204403404401
POST
/topics/{topicId}/history
Start history collection
collectHistory 1 param body → 200400403404401
POST
/topics/{topicId}/history/stop
Stop history collection
stopHistoryCollection 1 param → 200400403404401

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are HistoryJobDetails (15 properties), Error (3 properties), ValidationError (3 properties). Each schema is shown below with its type and property counts.

ValidationError
object
3 properties
Error
object
3 properties
HistoryJobDetails
object
15 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

youscan-history-api-openapi.yml Raw ↑

Other APIs YouScan publishes across the network.

YouScan Data Import API
YouScan Mentions API
YouScan Spaces API
YouScan Statistics API
YouScan Tags API
YouScan Topics API
YouScan Webhook API