Skip to content

Commit

Permalink
Merge pull request #963 from onflow/nialexsan/replace-redirect
Browse files Browse the repository at this point in the history
http-api redirect
  • Loading branch information
nialexsan authored Oct 24, 2024
2 parents 4280387 + b8d20d9 commit 9c637a9
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 107 deletions.
2 changes: 1 addition & 1 deletion docs/networks/node-ops/_category_.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
position: 2
label: Node Ops
label: Node Ops
1 change: 1 addition & 0 deletions docs/networks/node-ops/access-onchain-data/_category_.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Accessing On-chain Data
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Access Nodes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Accessing Data
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
redirect: /http-api
title: Access HTTP API ↗️
sidebar_position: 2
---

# Access HTTP API

Go to [HTTP API](/http-api)

<meta http-equiv="refresh" content="0; url=/http-api" />
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Light Nodes
1 change: 0 additions & 1 deletion docs/networks/node-ops/node-operation/_category_.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
label: Participating in the Network
position: 5
2 changes: 1 addition & 1 deletion docs/tools/flow-cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ With Flow CLI, developers can:
- **Query Chain State**: Retrieve data from the Flow blockchain, including account balances, event logs, and the status of specific transactions.
- **Deploy Smart Contracts**: Easily deploy and update Cadence smart contracts on any Flow environment (emulator, testnet, or mainnet).
- **Use the Emulator:** Set up a local Flow blockchain instance with the Flow emulator to test and debug smart contracts in a development environment before deploying them on the network.
- **Interact with the [Flow Access API](https://developers.flow.com/http-api)**: Automate complex workflows using configuration files and command-line scripting, which allows for greater flexibility in continuous integration (CI) or custom development tools.
- **Interact with the [Flow Access API](/http-api)**: Automate complex workflows using configuration files and command-line scripting, which allows for greater flexibility in continuous integration (CI) or custom development tools.
- **Access Flow’s Tooling Ecosystem**: Integrate Flow CLI with other developer tools like the [Cadence Extension for VSCode](https://marketplace.visualstudio.com/items?itemName=onflow.cadence) to enhance your development experience.

The Flow CLI is essential for developers looking to build, test, and maintain decentralized applications on the Flow blockchain efficiently, offering a feature-rich, user-friendly interface for both beginners and experienced blockchain developers.
Expand Down
105 changes: 1 addition & 104 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,110 +13,7 @@

/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
networks: [
'networks/index',
{
type: 'category',
label: 'Network Architecture',
link: { type: 'doc', id: 'networks/network-architecture/index' },
items: [
'networks/network-architecture/solving-blockchain-trilemma',
'networks/network-architecture/user-safety',
'networks/network-architecture/sustainability',
],
},
{
type: 'category',
label: 'Flow Networks',
link: { type: 'doc', id: 'networks/flow-networks/index' },
items: [
'networks/flow-networks/accessing-mainnet',
'networks/flow-networks/accessing-testnet',
],
},
{
type: 'category',
label: 'Flow Port',
link: { type: 'doc', id: 'networks/flow-port/index' },
items: ['networks/flow-port/staking-guide'],
},
'networks/governance',
{
type: 'category',
label: 'Node Ops',
link: { type: 'doc', id: 'networks/node-ops/index' },
items: [
{
type: 'category',
label: 'Accessing On-chain Data',
items: [
{
type: 'category',
label: 'Access Nodes',
items: [
'networks/node-ops/access-onchain-data/access-nodes/access-node-setup',
'networks/node-ops/access-onchain-data/access-nodes/access-node-configuration-options',
{
type: 'category',
label: 'Accessing Data',
items: [
'networks/node-ops/access-onchain-data/access-nodes/accessing-data/access-api',
{
type: 'link',
label: 'Access HTTP API',
href: 'https://developers.flow.com/http-api',
},
],
},
],
},
{
type: 'category',
label: 'Light Nodes',
items: [
{
type: 'autogenerated',
dirName: 'networks/node-ops/access-onchain-data/light-nodes',
},
],
},
],
},
{
type: 'category',
label: 'Participating in the Network',
items: [
{
type: 'autogenerated',
dirName: 'networks/node-ops/node-operation',
},
],
},
],
},
{
type: 'category',
label: 'Staking and Epochs',
link: { type: 'doc', id: 'networks/staking/index' },
items: [
'networks/staking/epoch-terminology',
'networks/staking/schedule',
'networks/staking/epoch-preparation',
'networks/staking/stake-slashing',
'networks/staking/epoch-scripts-events',
'networks/staking/technical-overview',
'networks/staking/staking-scripts-events',
'networks/staking/staking-rewards',
'networks/staking/qc-dkg',
'networks/staking/qc-dkg-scripts-events',
'networks/staking/machine-account',
'networks/staking/faq',
'networks/staking/staking-options',
'networks/staking/staking-collection',
'networks/staking/staking-guide',
],
},
],
networks: [{ type: 'autogenerated', dirName: 'networks' }],
build: [{ type: 'autogenerated', dirName: 'build' }],
evm: [{ type: 'autogenerated', dirName: 'evm' }],
tools: [{ type: 'autogenerated', dirName: 'tools' }],
Expand Down

0 comments on commit 9c637a9

Please sign in to comment.