Skip to main content
Version: 1.0
Endpoints Summary
GET All pool offline fetch errors
GET One pool offline fetch errors by pool id
GET All pool offline fetch errors OData
GET One pool offline fetch errors by pool id OData

GET All pool offline fetch errors

Returns all pool offline fetch errors.

GET /api/core/pools/offlinefetcherrors

👨‍💻 Code samples

const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' }); 
const offlinefetcherrors = await CBI.core.pools.offlinefetcherrors_();
console.log(offlinefetcherrors);

💌 Response Codes

OK: Successful request.

[
{
"id": 1,
"pool_id": 78,
"fetch_time": "2023-02-05T00:10:14.241245",
"pmr_id": 82,
"fetch_error": "HTTP Response from https://polypool.io/mama.json resulted in HTTP status code : 404 Not Found",
"retry_count": 0
},
"...",
{
"id": 20,
"pool_id": 270,
"fetch_time": "2023-02-05T00:10:14.241245",
"pmr_id": 324,
"fetch_error": "HTTP Response from https://tinyurl.com/bloom-small resulted in HTTP status code : 403 Forbidden",
"retry_count": 0
}
]

💌 Response Schemas

Status Code 200

NameTypeDescription
idinteger(int64)The pool offline fetch error unique identifier.
pool_idinteger(int64)The PoolHash table index for the pool this offline fetch error refers.
fetch_timestring(date-time)The UTC time stamp of the error.
pmr_idinteger(int64)The PoolMetadataRef table index for this offline data.
fetch_errorstringThe text of the error.
retry_countinteger(int32)The number of retries.

GET One pool offline fetch errors by pool id

Returns the offline fetch errors for one pool given its unique identifier.

GET /api/core/pools/{pool_id}/offlinefetcherrors

🎰 Parameters

NameDescriptionInTypeRequired
pool_idPool unique identifierpathintegertrue

👨‍💻 Code samples

const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' }); 
const offlinefetcherrors = await CBI.core.pools.offlinefetcherrors_({ pool_id: 4268 });
console.log(offlinefetcherrors);

💌 Response Codes

OK: Successful request.

[
{
"id": 16620,
"pool_id": 4268,
"fetch_time": "2023-02-06T00:16:37.343007",
"pmr_id": 25193,
"fetch_error": "Hash mismatch from when fetching metadata from https://bit.ly/3nnt1ax. Expected 446a2fc88b19a288f2fb6da512922653c9942000ada10c846d71e48bcea74e8a but got 5f6583fb9515eb9df15715d940205eeac0c2a53e5c83c6eb4276a00a98db8e02.",
"retry_count": 0
},
"...",
{
"id": 73468,
"pool_id": 4268,
"fetch_time": "2023-02-24T22:36:23.174784",
"pmr_id": 25193,
"fetch_error": "URL parse error from for pool1y24nj4qdkg35nvvnfawukauggsxrxuy74876cplmxsee29w5axc resulted in : InvalidUrlException \"pool1y24nj4qdkg35nvvnfawukauggsxrxuy74876cplmxsee29w5axc\" \"Invalid URL\"",
"retry_count": 19
}
]

💌 Response Schemas

Status Code 200

NameTypeDescription
idinteger(int64)The pool offline fetch error unique identifier.
pool_idinteger(int64)The PoolHash table index for the pool this offline fetch error refers.
fetch_timestring(date-time)The UTC time stamp of the error.
pmr_idinteger(int64)The PoolMetadataRef table index for this offline data.
fetch_errorstringThe text of the error.
retry_countinteger(int32)The number of retries.

GET All pool offline fetch errors OData

Returns all pool offline fetch errors.

GET /api/core/odata/poolsofflinefetcherrors

👨‍💻 Code samples

const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' }); 
const poolsofflinefetcherrors = await CBI.core.poolsofflinefetcherrors_({ "odata": true });
console.log(poolsofflinefetcherrors);

💌 Response Codes

OK: Successful request.

{
"@odata.context": "https://cardanobi.io/api/core/odata/$metadata#PoolsOfflineFetchErrors",
"value": [
{
"id": 1,
"pool_id": 78,
"fetch_time": "2023-02-05T00:10:14.241245Z",
"pmr_id": 82,
"fetch_error": "HTTP Response from https://polypool.io/mama.json resulted in HTTP status code : 404 Not Found",
"retry_count": 0
},
"...",
{
"id": 20,
"pool_id": 270,
"fetch_time": "2023-02-05T00:10:14.241245Z",
"pmr_id": 324,
"fetch_error": "HTTP Response from https://tinyurl.com/bloom-small resulted in HTTP status code : 403 Forbidden",
"retry_count": 0
}
],
"@odata.nextLink": "https://cardanobi.io/api/core/odata/poolsofflinefetcherrors?$skip=20"
}

💌 Response Schemas

Status Code 200

NameTypeDescription
idinteger(int64)The pool offline fetch error unique identifier.
pool_idinteger(int64)The PoolHash table index for the pool this offline fetch error refers.
fetch_timestring(date-time)The UTC time stamp of the error.
pmr_idinteger(int64)The PoolMetadataRef table index for this offline data.
fetch_errorstringThe text of the error.
retry_countinteger(int32)The number of retries.

GET One pool offline fetch errors by pool id OData

Returns the offline fetch errors for one pool given its unique identifier.

GET /api/core/odata/poolsofflinefetcherrors/{pool_id}

🎰 Parameters

NameDescriptionInTypeRequired
pool_idPool unique identifierpathintegertrue

👨‍💻 Code samples

const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' }); 
const poolsofflinefetcherrors = await CBI.core.poolsofflinefetcherrors_({ "odata": true, pool_id: 4268 });
console.log(poolsofflinefetcherrors);

💌 Response Codes

OK: Successful request.

{
"@odata.context": "https://cardanobi.io/api/core/odata/$metadata#PoolsOfflineFetchErrors",
"value": [
{
"id": 16620,
"pool_id": 4268,
"fetch_time": "2023-02-06T00:16:37.343007Z",
"pmr_id": 25193,
"fetch_error": "Hash mismatch from when fetching metadata from https://bit.ly/3nnt1ax. Expected 446a2fc88b19a288f2fb6da512922653c9942000ada10c846d71e48bcea74e8a but got 5f6583fb9515eb9df15715d940205eeac0c2a53e5c83c6eb4276a00a98db8e02.",
"retry_count": 0
},
"...",
{
"id": 73468,
"pool_id": 4268,
"fetch_time": "2023-02-24T22:36:23.174784Z",
"pmr_id": 25193,
"fetch_error": "URL parse error from for pool1y24nj4qdkg35nvvnfawukauggsxrxuy74876cplmxsee29w5axc resulted in : InvalidUrlException \"pool1y24nj4qdkg35nvvnfawukauggsxrxuy74876cplmxsee29w5axc\" \"Invalid URL\"",
"retry_count": 19
}
],
"@odata.nextLink": "https://cardanobi.io/api/core/odata/poolsofflinefetcherrors/4268?$skip=20"
}

💌 Response Schemas

Status Code 200

NameTypeDescription
idinteger(int64)The pool offline fetch error unique identifier.
pool_idinteger(int64)The PoolHash table index for the pool this offline fetch error refers.
fetch_timestring(date-time)The UTC time stamp of the error.
pmr_idinteger(int64)The PoolMetadataRef table index for this offline data.
fetch_errorstringThe text of the error.
retry_countinteger(int32)The number of retries.