Before History

A frontier server may be configured to only keep a portion of the DigitalBits network’s history stored within its database. This error will be returned when a client requests a piece of information (such as a page of transactions or a single operation) that the server can positively identify as falling outside the range of recorded history.

Attributes

As with all errors Frontier returns, before_history follows the Problem Details for HTTP APIs draft specification guide and thus has the following attributes:

Attribute Type Description
Type URL The identifier for the error. This is a URL that can be visited in the browser.
Title String A short title describing the error.
Status Number An HTTP status code that maps to the error.
Detail String A more detailed description of the error.
Instance String A token that uniquely identifies this request. Allows server administrators to correlate a client report with server log files

Example

$ curl -X GET "https://frontier.testnet.digitalbits.io/transactions?cursor=1&order=desc"
{
  "type": "before_history",
  "title": "Data Requested Is Before Recorded History",
  "status": 410,
  "detail": "This frontier instance is configured to only track a portion of the DigitalBits network's latest history. This request is asking for results prior to the recorded history known to this frontier instance.",
  "instance": "node0.frontier.testnet.digitalbits.io/ngUFNhn76T-078058"
}

Not Found


Edit this doc in GitHub

THE FUTURE OF LOYALTY STARTS HERE

Stay up to date on the latest happenings at DigitalBits. Get the latest news.