Invoice Summarizer
Invoice Summarizer · Ações GPT
Bank of Canada Valet API
GET /observations/{seriesNames}Get exchange rate observations
Esquema API original
{
"openapi": "3.0.0",
"info": {
"title": "Bank of Canada Valet API",
"version": "1.0.0"
},
"servers": [
{
"url": "https://www.bankofcanada.ca/valet",
"description": "Bank of Canada Valet API base URL"
}
],
"paths": {
"/observations/{seriesNames}": {
"get": {
"operationId": "getExchangeRateObservations",
"summary": "Get exchange rate observations",
"parameters": [
{
"in": "path",
"name": "seriesNames",
"required": true,
"schema": {
"type": "string"
},
"description": "The ID of the exchange rate series"
},
{
"in": "query",
"name": "start_date",
"schema": {
"type": "string",
"format": "date"
},
"description": "Start date for the observations"
},
{
"in": "query",
"name": "end_date",
"schema": {
"type": "string",
"format": "date"
},
"description": "End date for the observations"
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"terms": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
}
}
},
"observations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"format": "date"
},
"value": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}
}
}