跳转到主要内容
GET
Get Sources

请求规范

  • 方法与路径: GET /apis/v1/fred/sources
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/fred/sources
  • file_type: query; 可选
  • limit: query; 可选
  • offset: query; 可选
  • order_by: query; 可选
  • realtime_end: query; 可选
  • realtime_start: query; 可选
  • sort_order: query; 可选
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

公开参考价格:每次成功请求 $0.00001 USD。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

file_type
enum<string>
默认值:xml

A key or file extension that indicates the type of file to send. string, optional, default: xml One of the following values: 'xml', 'json' xml = Extensible Markup Language. The HTTP Content-Type is text/xml. json = JavaScript Object Notation. The HTTP Content-Type is application/json. xml = Extensible Markup Language. The HTTP Content-Type is text/xml. json = JavaScript Object Notation. The HTTP Content-Type is application/json.

可用选项:
xml,
json
limit
integer
默认值:1000

The maximum number of results to return. integer between 1 and 1000, optional, default: 1000

必填范围: 1 <= x <= 1000
offset
integer
默认值:0

non-negative integer, optional, default: 0

必填范围: x >= 0
order_by
enum<string>
默认值:source_id

Order results by values of the specified attribute. One of the following strings: 'source_id', 'name', 'realtime_start', 'realtime_end'. optional, default: source_id

可用选项:
source_id,
name,
realtime_start,
realtime_end
realtime_end
string<date>

The end of the real-time period. For more information, see Real-Time Periods . YYYY-MM-DD formatted string, optional, default: today's date

realtime_start
string<date>

The start of the real-time period. For more information, see Real-Time Periods . YYYY-MM-DD formatted string, optional, default: today's date

sort_order
enum<string>
默认值:asc

Sort results is ascending or descending order for attribute values specified by order_by. One of the following strings: 'asc', 'desc'. optional, default: asc

可用选项:
asc,
desc

响应

Successful response. The payload schema has not been reviewed yet.