Redirecting you to ${redirectUrl}
${apiDetail.name}
${apiDetail.description}
${apiDetail.arguments.length ? `Arguments
- ${renderArguments(apiDetail.arguments).join("")}
Returns
${dedent(apiDetailsReturns)}
"use strict"; // P A C K A G E S import asyncHtml from "choo-async/html"; import dedent from "dedent"; import { require as local } from "app-root-path"; // V A R I A B L E S const fetch = require("make-fetch-happen").defaults({ cacheManager: "./cache" }); const headerBlockchain = local("app/components/api/header-blockchain").default; const headerSdk = local("app/components/api/header-sdk").default; const redirects = local("app/data/redirects.json"); // E X P O R T module.exports = exports = state => parseApiFile(state.params.wildcard).then(response => { /* state.lbry = { description: "This is the API page for LBRY.tech", "og:image": "/assets/media/images/carlsagan2.jpg", "og:image:height": 300, "og:image:width": 400 }; */ return asyncHtml`
Redirecting you to ${redirectUrl}
${apiDetail.description}
${apiDetail.arguments.length ? `${dedent(apiDetailsReturns)}
// example(s) for ${apiDetail.name} to come later