openapi: 3.0.3
info:
  version: 6.6.1
  title: Flux Decentralized Cloud API
  termsOfService: https://cdn.runonflux.io/Flux_Terms_of_Service.pdf
  contact:
    name: Flux Development Team
    email: development@runonflux.com
    url: https://docs.runonflux.io
  license:
    name: GNU AGPLv3
    url: https://www.gnu.org/licenses/agpl-3.0.en.html
  x-logo:
    url: https://raw.githubusercontent.com/runonflux/fluxdocs/master/flux_logo.png
  description: >-
    # Flux API Documentation

    Welcome to the comprehensive API reference for **Flux**, the world's leading
    decentralized Web3 cloud computing platform. This documentation covers all
    available API endpoints for interacting with the Flux network, nodes, and
    decentralized applications.


    ## About Flux

    **Flux** is a decentralized Web3 cloud infrastructure powered by globally
    distributed, user-operated nodes. Built for scalability and censorship
    resistance, Flux eliminates single points of failure while providing
    enterprise-grade computing resources for deploying and managing
    applications.


    ### Key Features

    - **🌐 Decentralized Infrastructure**: Over 15,000 nodes worldwide providing
    111,500+ cores, 193TB+ RAM, and 6.7PB+ SSD storage - **⚡ High Performance**:
    Enterprise-grade computing with automatic load balancing and high
    availability - **🔐 Secure by Design**: Multiple authentication methods with
    advanced cryptographic security - **💰 Cost Effective**: Competitive pricing
    compared to traditional cloud providers - **🚀 Developer Friendly**:
    Docker-based deployments with comprehensive API support


    ## API Architecture

    The Flux API uses a **5-tier permission hierarchy** to ensure secure and
    controlled access:

    | Permission Level | Description | Authentication Required |
    |------------------|-------------|-------------------------| | **Public** |
    Open access endpoints | ❌ No | | **User** | User-level permissions | ✅ Yes |
    | **FluxTeam** | Flux Team member access | ✅ Yes | | **Admin** | Node
    administrator access | ✅ Yes | | **AdminAndFluxTeam** | Combined Admin &
    FluxTeam access | ✅ Yes | | **AppOwner** | Application owner permissions | ✅
    Yes | | **AppOwnerAbove** | App Owner, FluxTeam, and Admin access | ✅ Yes |


    ### Request Methods

    - **GET**: Most endpoints support GET requests with parameters as query
    strings or path variables - **POST**: Used for endpoints requiring large
    payloads or sensitive data - **WebSocket**: Used for real-time communication
    and simplified authentication flows


    ## Supported Wallet Authentication

    Flux supports multiple modern authentication methods for maximum flexibility
    and security:


    ### 🛡️ SSP Wallet

    **Secure, Simple, Powerful** - The next-generation 2FA wallet with
    enterprise security:

    - **True 2-of-2 Multi-Signature**: Requires both browser extension and
    mobile app authorization - **Advanced Security**: BIP48 derivation, Account
    Abstraction (ERC-4337), Schnorr signatures - **Multi-Chain Support**:
    Bitcoin, Ethereum, Polygon, BSC, Avalanche, and 15+ blockchains -
    **WalletConnect v2**: Connect to thousands of dApps seamlessly -
    **Professional Audit**: Thoroughly audited by security experts in 2025

    **Installation**: - Chrome Extension: [SSP Wallet - Chrome Web
    Store](https://chromewebstore.google.com/detail/ssp-wallet/mgfbabcnedcejkfibpafadgkhmkifhbd)
    - Mobile App: Available on iOS App Store and Google Play Store - Website:
    [sspwallet.io](https://sspwallet.io)


    ### 🔑 ZelCore Wallet

    **Multi-Asset Cryptocurrency Wallet** - The original Flux ecosystem wallet:

    - **Self-Custodial**: Full control over your private keys - **Decentralized
    2FA (d2FA)**: Unique blockchain-based two-factor authentication -
    **Multi-Chain**: Support for 80+ blockchains and thousands of assets -
    **Hardware Integration**: Connect with hardware wallets for enhanced
    security - **Deep Linking**: Native `zel:` protocol support

    **Installation**: [zelcore.io](https://zelcore.io)


    ### 🦊 MetaMask Integration

    **Ethereum Ecosystem Wallet** - Popular browser extension wallet:

    - **Ethereum Native**: Full Ethereum and EVM chain support - **Sign-In with
    Ethereum (SIWE)**: ERC-4361 standard compliance - **Wide Adoption**: Most
    popular Web3 wallet with extensive dApp support - **Domain Binding**:
    Advanced phishing protection

    **Installation**: [metamask.io](https://metamask.io)


    ### 🔗 WalletConnect v2

    **Universal Wallet Connection Protocol** - Connect any compatible wallet:

    - **700+ Wallets**: Support for hundreds of popular wallets -
    **Cross-Platform**: Mobile, desktop, and web wallet compatibility - **Secure
    Bridge**: Encrypted communication between wallet and dApp - **QR Code
    Connection**: Simple mobile wallet connection


    ### 📧 Traditional Authentication

    **Email-Based Login** - For users preferring traditional authentication:

    - **Firebase Integration**: Google Firebase authentication backend -
    **Email/Password**: Standard username/password login - **Google OAuth**:
    Sign in with Google account - **Account Recovery**: Standard password reset
    flows


    ## Getting Started

    Follow these steps to start using the Flux API:


    ### 1. Choose Your Authentication Method

    Select from the supported wallet options above based on your development
    needs and user preferences. All methods are supported by the FluxOS API.


    ### 2. Set Up Your Wallet

    Install and configure your chosen wallet: - Download from official sources
    only - Secure your seed phrase or recovery information - Enable two-factor
    authentication where available - Test with small amounts first


    ### 3. Obtain Authentication Credentials

    Follow the **Authentication** section in this API documentation to: -
    Generate login phrases - Sign authentication messages - Obtain session
    tokens - Set up API headers


    ### 4. Configure API Headers

    For authenticated requests, include these headers:

    ``` zelidauth: {
      "zelid": "your-wallet-address",
      "signature": "signed-message-signature", 
      "loginPhrase": "temporary-login-phrase"
    } ```

    **Note**: Signature values may need to be URL-encoded depending on your HTTP
    client.


    ### 5. Start Making API Calls

    Test your setup with public endpoints first, then proceed to authenticated
    endpoints once your credentials are properly configured.


    ## Support & Community

    - **Documentation**: [docs.runonflux.com](https://docs.runonflux.com) -
    **Discord Community**: [discord.io/runonflux](https://discord.io/runonflux) 
    - **GitHub**: [github.com/RunOnFlux](https://github.com/RunOnFlux) -
    **Twitter/X**: [@RunOnFlux](https://x.com/runonflux) - **Website**:
    [runonflux.com](https://runonflux.com)


    **🚀 Ready to build on the decentralized web? Let's get started!**


    ## Important Notes

    - Login phrases expire after 15 minutes - Session tokens are valid for up to
    14 days - Always use HTTPS in production environments - Signature values may
    need URL encoding depending on your HTTP client


    ## Authentication Workflows


    ### 🔐 Complete Authentication Flow

    **Step 1: Get Login Phrase** ```bash curl -X GET
    "https://api.runonflux.io/id/loginphrase" ```

    **Step 2: Sign the Login Phrase** - **SSP Wallet**: Use browser extension +
    mobile app to sign the message - **ZelCore**: Use the wallet's message
    signing feature   - **MetaMask**: Use `personal_sign` method - **Hardware
    Wallet**: Sign via hardware device integration

    **Step 3: Verify Login**  ```bash curl -X POST
    "https://api.runonflux.io/id/verifylogin" \
      -H "Content-Type: application/json" \
      -d '{
        "zelid": "your-wallet-address",
        "loginPhrase": "phrase-from-step-1", 
        "signature": "your-signature-from-step-2"
      }'
    ```

    **Step 4: Use Authentication Header** ```bash curl -X GET
    "https://api.runonflux.io/id/loggedsessions" \
      -H "zelidauth: zelid=your-address&signature=your-signature&loginPhrase=your-phrase"
    ```


    ### 📱 SSP Wallet Integration Guide

    **Browser Extension Setup:** 1. Install SSP Wallet Chrome Extension 2.
    Install SSP Key mobile app (iOS/Android) 3. Pair devices using QR code 4.
    Fund wallet with small amount for testing

    **Signing Messages with SSP:** ```javascript // Connect to SSP Wallet if
    (window.ssp) {
      const accounts = await window.ssp.request({
        method: 'wallet_requestPermissions',
        params: [{ wallet_accounts: {} }]
      });
      
      // Sign login phrase
      const signature = await window.ssp.request({
        method: 'personal_sign',
        params: [loginPhrase, accounts[0]]
      });
    } ```


    ### 🦊 MetaMask Integration Guide

    **Connect and Sign:** ```javascript // Connect MetaMask const accounts =
    await ethereum.request({
      method: 'eth_requestAccounts'
    });

    // Sign login phrase const signature = await ethereum.request({
      method: 'personal_sign',
      params: [loginPhrase, accounts[0]]
    });

    // Use Ethereum address as zelid const zelid = accounts[0]; ```


    ### 🔑 ZelCore Wallet Integration

    **Deep Link Integration:** ```javascript // Generate ZelCore deep link for
    signing const zelcoreUrl =
    `zel:?action=sign&message=${encodeURIComponent(loginPhrase)}&icon=https://yourapp.com/icon.png&callback=${encodeURIComponent('https://yourapp.com/auth/callback')}`;

    // Open ZelCore for signing window.location.href = zelcoreUrl; ```

    **WebSocket Integration:** ```javascript // Listen for ZelCore signature via
    WebSocket const ws = new
    WebSocket(`wss://api.runonflux.io/ws/id/${loginPhrase}`);

    ws.onmessage = (event) => {
      const authData = JSON.parse(event.data);
      if (authData.status === 'success') {
        // Authentication successful
        console.log('Signed in with ZelID:', authData.data.zelid);
      }
    }; ```


    ### 🔗 WalletConnect v2 Integration

    **Setup WalletConnect:** ```javascript import { SignClient } from
    '@walletconnect/sign-client';

    const signClient = await SignClient.init({
      projectId: 'your-walletconnect-project-id',
      metadata: {
        name: 'Your Flux App',
        description: 'Flux Network Integration',
        url: 'https://yourapp.com',
        icons: ['https://yourapp.com/logo.png']
      }
    });

    // Connect to wallet const { uri, approval } = await signClient.connect({
      requiredNamespaces: {
        eip155: {
          methods: ['personal_sign'],
          chains: ['eip155:1'],
          events: ['chainChanged', 'accountsChanged']
        }
      }
    });

    // Sign message when connected const signature = await signClient.request({
      topic: session.topic,
      chainId: 'eip155:1',
      request: {
        method: 'personal_sign',
        params: [loginPhrase, address]
      }
    }); ```


    ### 📧 Traditional Email Authentication

    **Firebase Integration:** ```javascript import { getAuth,
    signInWithEmailAndPassword } from 'firebase/auth';

    // Email/password login const auth = getAuth(); const userCredential = await
    signInWithEmailAndPassword(auth, email, password);

    // Get ID token for API authentication const idToken = await
    userCredential.user.getIdToken();

    // Use token in API calls
    fetch('https://api.runonflux.io/protected-endpoint', {
      headers: {
        'Authorization': `Bearer ${idToken}`,
        'Content-Type': 'application/json'
      }
    }); ```


    ### ⚠️ Common Integration Issues

    **Login Phrase Expiration:** ```javascript // Always check phrase timestamp
    const phraseTimestamp = parseInt(loginPhrase.substring(0, 13)); const now =
    Date.now(); const age = now - phraseTimestamp;

    if (age > 15 * 60 * 1000) { // 15 minutes
      throw new Error('Login phrase expired, get a new one');
    } ```

    **Signature URL Encoding:** ```javascript // Always URL encode signatures
    for headers const encodedSignature = encodeURIComponent(signature); const
    authHeader =
    `zelid=${zelid}&signature=${encodedSignature}&loginPhrase=${loginPhrase}`;
    ```

    **Error Handling:** ```javascript try {
      const response = await fetch('/api/authenticated-endpoint', {
        headers: { 'zelidauth': authHeader }
      });
      
      if (response.status === 401) {
        // Re-authenticate user
        redirectToLogin();
      }
    } catch (error) {
      console.error('API call failed:', error);
    } ```


    ## API Version Information

    **Current Version**: 6.6.1

    **Version Notes**: - All endpoints documented in this specification are
    available in version 6.6.1 - This documentation reflects the current stable
    API implementation - For the latest changes and updates, refer to the [Flux
    GitHub repository](https://github.com/runonflux/flux)
externalDocs:
  description: Flux Documentation & Resources Hub
  url: https://docs.runonflux.com
tags:
  - name: Authentication
    description: >-
      **Authentication & Authorization Endpoints**

      Essential API endpoints for secure authentication and authorization with
      the Flux network.  These endpoints handle login phrase generation, message
      signing verification, and session  management for all supported wallet
      types including SSP Wallet, ZelCore, MetaMask, and  WalletConnect
      integrations.

      **Key Features:** - Multi-wallet authentication support - Secure login
      phrase generation - Cryptographic signature verification  - Session token
      management - 5-tier permission system integration
  - name: ID
    description: >-
      **Identity & User Management**

      Comprehensive identity management endpoints that handle user
      authentication, authorization  levels, and identity verification across
      multiple blockchain addresses (Bitcoin P2PKH,  Ethereum, ZelID). These
      endpoints manage user sessions, permissions, and access control 
      throughout the Flux ecosystem.

      **Supported Address Types:** - Bitcoin P2PKH addresses - Ethereum
      addresses   - ZelID addresses - Multi-signature addresses
  - name: Daemon
    description: >-
      **Flux Daemon Operations**

      Core blockchain daemon endpoints for interacting with the underlying Flux
      blockchain node. These endpoints provide access to blockchain data, wallet
      operations, mining information, network statistics, and node management
      functions. Essential for node operators and  developers building
      blockchain-integrated applications.

      **Core Functions:** - Blockchain state queries - Transaction management -
      Wallet operations - Network information - Mining and staking operations
  - name: Benchmark
    description: >-
      **Node Performance & Benchmarking**

      Endpoints for monitoring and managing Flux node performance benchmarks.
      These APIs provide access to hardware specifications, performance metrics,
      benchmark results, and node tier qualification status. Critical for node
      operators to ensure optimal performance and  maintain network
      participation requirements.

      **Monitoring Capabilities:** - Hardware specification reporting -
      Performance benchmark execution - Node tier status verification - Resource
      utilization metrics - Network connectivity testing
  - name: Flux
    description: >-
      **Flux Network Operations**

      Core network endpoints for interacting with the broader Flux decentralized
      network. These APIs provide access to network statistics, node
      information, consensus data, and network-wide operations that facilitate
      the decentralized cloud infrastructure.

      **Network Services:** - Node discovery and registry - Network consensus
      information - Global network statistics - Peer-to-peer communication -
      Distributed coordination
  - name: Apps
    description: >-
      **Decentralized Application Management**

      Comprehensive endpoints for deploying, managing, and monitoring
      decentralized applications  (dApps) on the Flux network. These APIs handle
      the complete application lifecycle from  deployment to scaling, including
      Docker container management, resource allocation, and  global distribution
      across the Flux node network.

      **Application Services:** - Docker-based app deployment - Application
      lifecycle management - Resource scaling and allocation - Multi-region
      distribution - Application marketplace integration - Performance
      monitoring and analytics
  - name: Explorer
    description: >-
      **Blockchain Explorer Services**

      Blockchain exploration endpoints providing detailed access to on-chain
      data, transaction  history, address information, and network analytics.
      These APIs power blockchain explorers and provide developers with
      comprehensive blockchain data access for building analytics and monitoring
      applications.

      **Explorer Features:** - Transaction history and details - Address balance
      and activity - Block information and statistics - Network-wide analytics -
      Search and filtering capabilities
  - name: Syncthing
    description: >-
      **Distributed File Synchronization**

      Endpoints for managing Syncthing-based distributed file synchronization
      services. These APIs enable secure, decentralized file sharing and
      synchronization across Flux nodes, providing reliable data distribution
      and backup capabilities for decentralized applications and user data.

      **Synchronization Services:** - Peer-to-peer file synchronization -
      Distributed storage management - Conflict resolution - Encryption and
      security - Bandwidth optimization
  - name: Fluxshare
    description: >-
      **Decentralized File Sharing**

      Advanced file sharing and storage endpoints built on the Flux
      decentralized network. FluxShare provides secure, distributed file storage
      with redundancy, encryption, and global accessibility. Ideal for building
      decentralized storage applications and content distribution networks.

      **Storage Features:** - Distributed file storage - Redundancy and fault
      tolerance - End-to-end encryption - Global content distribution - Access
      control and sharing permissions
  - name: Backup/Restore
    description: >-
      **Application Backup & Recovery**

      Comprehensive backup and disaster recovery endpoints for Flux applications
      and data. These APIs provide automated backup creation, version
      management, and restoration capabilities to ensure data integrity and
      business continuity for decentralized applications running on the Flux
      network.

      **Backup Services:** - Automated backup scheduling - Version control and
      history - Cross-region replication   - Point-in-time recovery - Disaster
      recovery orchestration
  - name: Volume Browser
    description: >-
      **Persistent Storage Management**

      Advanced volume and persistent storage management endpoints for
      containerized applications. These APIs provide comprehensive file system
      operations, storage allocation, and data management capabilities for
      applications requiring persistent data storage across the distributed Flux
      network.

      **Storage Management:** - Volume provisioning and management - File system
      operations - Storage quota enforcement - Data migration and replication -
      Performance optimization
  - name: IOUtils
    description: >-
      **File System Operations & Utilities**

      Low-level file system operation endpoints providing essential I/O
      utilities for application development and system administration. These
      APIs offer direct file manipulation, directory management, and system
      utilities required for advanced application deployment and management on
      Flux nodes.

      **I/O Operations:** - File and directory management - Permission and
      ownership control - Data transfer utilities - System resource monitoring -
      Batch operation support
servers:
  - url: https://api.runonflux.io
    description: Production API Gateway - Global load-balanced endpoint
  - url: https://api.runonflux.com
    description: Backup Production API Gateway
  - url: https://testnet-api.runonflux.io
    description: Testnet API Gateway - For development and testing
  - url: https://{nodeip}:16127
    description: Direct Flux Node Connection - Connect directly to specific node
    variables:
      nodeip:
        description: Flux node IP address or hostname
        default: localhost
  - url: http://localhost:16127
    description: Local Development Node - For local testing
  - url: https://explorer.runonflux.io
    description: Explorer API - Blockchain data and statistics
  - url: https://stats.runonflux.io
    description: Network Statistics API - Real-time network metrics
paths:
  /id/loginphrase:
    get:
      tags:
        - Authentication
        - ID
      summary: Obtain login phrase
      description: >-
        Obtain valid Login Phrase for signing into Flux. Login Phrase is at
        least 40 characters, first 13 characters is server timestamp and is
        valid for 15 minutes. **Public**
      operationId: loginPhrase
      security: []
      x-codeSamples:
        - lang: curl
          source: |
            curl -X GET "https://api.runonflux.io/id/loginphrase"
        - lang: JavaScript
          source: >
            const response = await
            fetch('https://api.runonflux.io/id/loginphrase');

            const data = await response.json();

            console.log(data.data); // Login phrase string
        - lang: Node.js
          source: |
            const https = require('https');

            const options = {
              hostname: 'api.runonflux.io',
              path: '/id/loginphrase',
              method: 'GET'
            };

            const req = https.request(options, (res) => {
              let data = '';
              res.on('data', chunk => data += chunk);
              res.on('end', () => {
                const result = JSON.parse(data);
                console.log(result.data);
              });
            });
            req.end();
        - lang: Python
          source: |
            import requests

            response = requests.get('https://api.runonflux.io/id/loginphrase')
            data = response.json()
            login_phrase = data['data']
            print(login_phrase)
        - lang: PHP
          source: >
            <?php

            $response =
            file_get_contents('https://api.runonflux.io/id/loginphrase');

            $data = json_decode($response, true);

            $loginPhrase = $data['data'];

            echo $loginPhrase;

            ?>
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: loginphrase
              example:
                status: success
                data: 1574994809615gj4ct52kzz695twl0l27np0ivkmvu2ow4lbtpwk2nvf2k
  /id/emergencyphrase:
    get:
      tags:
        - ID
      summary: Obtain emergency login phrase
      description: Obtain emergency Login Phrase for signing into Flux. **Public**
      operationId: emergencyLoginPhrase
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: loginphrase
              example:
                status: success
                data: 1587939091067l06vdyv5wtl80q5aj0npi3vyyig869ogf7o7jxfpu68r
  /id/verifylogin:
    post:
      tags:
        - Authentication
        - ID
      summary: Login into Flux
      description: >-
        Login into Flux by submitting correct ZelID, login phrase and signature.
        Note that to get the signature of the signed message you would need to
        do the signing on Zelcore or your BTC wallet or your ETH wallet. If
        success status response is returned, we can use the supplied data(zelid,
        loginPhrase, signature) as zelauth header as part of api calls that
        require a user to be logged in. Additionally it is possible to listen
        for a response on websocket. ws://{Flux_IP}:16127/ws/id/{loginPhrase}.
        **Public**
      operationId: verifyLogin
      security: []
      x-codeSamples:
        - lang: curl
          source: |
            curl -X POST "https://api.runonflux.io/id/verifylogin" \
              -H "Content-Type: application/json" \
              -d '{
                "zelid": "1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC",
                "loginPhrase": "1574994809615gj4ct52kzz695twl0l27np0ivkmvu2ow4lbtpwk2nvf2k",
                "signature": "IAMZBB0p8aQ6A0Zt8uUKFLdWvPJlBypuczhaM6/R+s5bI72NQs/TPF1KYywvJlumMZyvLmk7JelDwaQbfTjqtSs="
              }'
        - lang: JavaScript
          source: >
            const loginData = {
              zelid: "1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC",
              loginPhrase: "1574994809615gj4ct52kzz695twl0l27np0ivkmvu2ow4lbtpwk2nvf2k", 
              signature: "IAMZBB0p8aQ6A0Zt8uUKFLdWvPJlBypuczhaM6/R+s5bI72NQs/TPF1KYywvJlumMZyvLmk7JelDwaQbfTjqtSs="
            };


            const response = await
            fetch('https://api.runonflux.io/id/verifylogin', {
              method: 'POST',
              headers: { 'Content-Type': 'application/json' },
              body: JSON.stringify(loginData)
            });


            const result = await response.json();

            console.log(result);
        - lang: Python
          source: |
            import requests
            import json

            login_data = {
                "zelid": "1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC",
                "loginPhrase": "1574994809615gj4ct52kzz695twl0l27np0ivkmvu2ow4lbtpwk2nvf2k",
                "signature": "IAMZBB0p8aQ6A0Zt8uUKFLdWvPJlBypuczhaM6/R+s5bI72NQs/TPF1KYywvJlumMZyvLmk7JelDwaQbfTjqtSs="
            }

            response = requests.post(
                'https://api.runonflux.io/id/verifylogin',
                headers={'Content-Type': 'application/json'},
                data=json.dumps(login_data)
            )

            result = response.json()
            print(result)
      requestBody:
        content:
          text/plain:
            schema:
              $ref: '#/components/schemas/ZelIDLogin'
            example:
              loginPhrase: 1575012988077darschvve5ag82g8e8sgeij4sn61842ya7ovxi9r3kba
              zelid: 1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC
              signature: >-
                IAMZBB0p8aQ6A0Zt8uUKFLdWvPJlBypuczhaM6/R+s5bI72NQs/TPF1KYywvJlumMZyvLmk7JelDwaQbfTjqtSs=
        description: ZelID login object
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: status
                    enum:
                      - success
                      - error
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        description: explanation of status
                      zelid:
                        type: string
                        description: >-
                          supplied ZelID or bitcoin P2PKH address or ethereum
                          address
                      loginPhrase:
                        type: string
                        description: valid and active loginPhrase
                      signature:
                        type: string
                        description: >-
                          signature of loginPhrase signed with zelid/btc/eth
                          address
                      privilege:
                        type: string
                        description: granted Flux privilege
                        enum:
                          - user
                          - fluxteam
                          - admin
              example:
                status: success
                data:
                  message: Successfully logged in
                  zelid: 1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC
                  loginPhrase: 1575012988077darschvve5ag82g8e8sgeij4sn61842ya7ovxi9r3kba
                  signature: >-
                    IAMZBB0p8aQ6A0Zt8uUKFLdWvPJlBypuczhaM6/R+s5bI72NQs/TPF1KYywvJlumMZyvLmk7JelDwaQbfTjqtSs=
                  privilege: admin
        '400':
          $ref: '#/components/responses/ValidationError'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /id/providesign:
    post:
      tags:
        - Authentication
        - ID
      summary: Provide Signature
      description: >-
        Provide requested signature from signed message to return data.
        **Public**
      operationId: provideSign
      security: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                address:
                  type: string
                  description: ZelID or any P2PKH Bitcoin address or Ethereum address
                message:
                  type: string
                  description: >-
                    Login phrase message that was provided by GET
                    /id/loginphrase
                signature:
                  type: string
                  description: Signature of signed loginPhrase with zelid/btc/eth address
            example:
              address: 1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC
              message: 1575012988077darschvve5ag82g8e8sgeij4sn61842ya7ovxi9r3kba
              signature: >-
                IAMZBB0p8aQ6A0Zt8uUKFLdWvPJlBypuczhaM6/R+s5bI72NQs/TPF1KYywvJlumMZyvLmk7JelDwaQbfTjqtSs=
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      signature:
                        type: string
                        description: Signature of signed loginPhrase with ZelID
                      identifier:
                        type: string
                        description: ZelID or any P2PKH Bitcoin address or Ethereum address
                      createdAt:
                        type: string
                        description: Start date and time of vaild message
                      expiredAt:
                        type: string
                        description: End date and and time of valid message
                      _id:
                        type: string
                        description: ObjectID
              example:
                status: success
                data:
                  signature: >-
                    IAMZBB0p8aQ6A0Zt8uUKFLdWvPJlBypuczhaM6/R+s5bI72NQs/TPF1KYywvJlumMZyvLmk7JelDwaQbfTjqtSs=
                  identifier: 1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC
                  createdAt: '2020-09-12T11:28:28.457Z'
                  expiredAt: '2020-09-12T11:43:28.457Z'
                  _id: 5f6cb0bcb7e30e24063e1777
  /id/loggedsessions:
    get:
      tags:
        - ID
      summary: Obtain all logged sessions of ZelID.
      description: >-
        Gets all currently active logged sessions in Flux tied to given ZelID.
        **User**
      operationId: loggedSessions
      security:
        - ZelID: []
      x-codeSamples:
        - lang: curl
          source: |
            curl -X GET "https://api.runonflux.io/id/loggedsessions" \
              -H "zelidauth: zelid=1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC&signature=IAMZBB0p8aQ6A0Zt8uUKFLdWvPJlBypuczhaM6%2FR%2Bs5bI72NQs%2FTPF1KYywvJlumMZyvLmk7JelDwaQbfTjqtSs%3D&loginPhrase=1574994809615gj4ct52kzz695twl0l27np0ivkmvu2ow4lbtpwk2nvf2k"
        - lang: JavaScript
          source: >
            const authHeader =
            'zelid=1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC&signature=' + 
              encodeURIComponent('IAMZBB0p8aQ6A0Zt8uUKFLdWvPJlBypuczhaM6/R+s5bI72NQs/TPF1KYywvJlumMZyvLmk7JelDwaQbfTjqtSs=') +
              '&loginPhrase=1574994809615gj4ct52kzz695twl0l27np0ivkmvu2ow4lbtpwk2nvf2k';

            const response = await
            fetch('https://api.runonflux.io/id/loggedsessions', {
              headers: { 'zelidauth': authHeader }
            });


            const result = await response.json();

            console.log(result);
        - lang: Python
          source: |
            import requests
            from urllib.parse import quote

            auth_header = (
                f"zelid=1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC&"
                f"signature={quote('IAMZBB0p8aQ6A0Zt8uUKFLdWvPJlBypuczhaM6/R+s5bI72NQs/TPF1KYywvJlumMZyvLmk7JelDwaQbfTjqtSs=')}&"
                f"loginPhrase=1574994809615gj4ct52kzz695twl0l27np0ivkmvu2ow4lbtpwk2nvf2k"
            )

            response = requests.get(
                'https://api.runonflux.io/id/loggedsessions',
                headers={'zelidauth': auth_header}
            )

            result = response.json()
            print(result)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        zelid:
                          type: string
                          description: associated ZelID
                        loginPhrase:
                          type: string
                          description: login phrase used for session
              example:
                status: success
                data:
                  - zelid: 1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC
                    loginPhrase: 1566749385160npvtiku0z7yqsxgenyvzfmfrz7pyxrxvflv3sfztbc
                  - zelid: 1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC
                    loginPhrase: 1566822581693fuuo3oi0sqdvab9h8baavc0kdawxvbwjgdbjsy5tk739m
                  - zelid: 1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC
                    loginPhrase: 1566970790344nhd5tjwyphq4l1azf5o64axfz75b8892poo853ivbfc
                  - zelid: 1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC
                    loginPhrase: 15673514189266fzehz9q1ujvw4fg5lsko9q6qrfji3iwfg9hkblx5dpm
                  - zelid: 1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC
                    loginPhrase: 1575011828315mzqenqvi9ixaq0yr34g8jtvwgcs3d33cf1ies0myd
                  - zelid: 1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC
                    loginPhrase: 1575012988077darschvve5ag82g8e8sgeij4sn61842ya7ovxi9r3kba
  /id/logoutcurrentsession:
    get:
      tags:
        - ID
      summary: Logs out current session
      description: >-
        This call logs out currently logged session which is determined by the
        supplied authentication header. **User**
      operationId: logoutCurrentSession
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Successfully logged out
  /id/logoutallsessions:
    get:
      tags:
        - ID
      summary: Logs out all sessions
      description: >-
        This call logs out all logged sessions which are determined by the
        supplied authentication header. **User**
      operationId: logoutAllSession
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Successfully logged out all sessions
  /id/loggedusers:
    get:
      tags:
        - ID
      summary: Gets information about logged users
      description: >-
        This call gets basic infromation about currently logged sessions of all
        users. **Admin**
      operationId: loggedUsers
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        zelid:
                          type: string
                          description: users ZelID
                        loginPhrase:
                          type: string
                          description: login phrase used for session
              example:
                status: success
                data:
                  - zelid: 1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC
                    loginPhrase: 1566749385160npvtiku0z7yqsxgenyvzfmfrz7pyxrxvflv3sfztbc
                  - zelid: 1E1NSwDHtvCziYP4CtgiDMcgvgZL64PhkR
                    loginPhrase: 1575805361736fdk6ak6yn5lgiuebz1oumh9z8rhyw0kf744f1sk2yd43
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /id/activeloginphrases:
    get:
      tags:
        - ID
      summary: Lists active login phrases
      description: >-
        This call gets a list of login phrases that are currently active (were
        generated less than 15 minutes ago) - phrases that have been used
        recently and phrases that can be used to log in.. **Admin**
      operationId: activeLoginPhrases
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        loginPhrase:
                          type: string
                          description: active login phrase
                        createdAt:
                          type: string
                          description: timestamp of loginPhrase creation in server time.
                        expireAt:
                          type: string
                          description: >-
                            expiration timestamp of loginPhrase. After this
                            time, the loginPhrase cannot be used anymore.
              example:
                status: success
                data:
                  - loginPhrase: 1575865221315yqilps02mx0e1tmf5ymtcry8mbzk4u3k3v17tdsxif6
                    createdAt: '2019-12-09T04:20:21.315Z'
                    expireAt: '2019-12-09T04:35:21.315Z'
                  - loginPhrase: 1575865221315yqilps02mx0e1tmf5ymtcry8mbzk4u3k3v17tdsxif6
                    createdAt: '2019-12-09T04:20:21.315Z'
                    expireAt: '2019-12-09T04:35:21.315Z'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /id/logoutallusers:
    get:
      tags:
        - ID
      summary: Logs out all users
      description: >-
        This call logs out all logged users (including fluxteam, admins).
        **Admin**
      operationId: logoutAllUsers
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Successfully logged out all users
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /id/logoutspecificsession:
    post:
      tags:
        - Authentication
        - ID
      summary: Logs out a specific session
      security:
        - ZelID: []
      description: >-
        Logs out a specific session. Requires the knowledge of a session
        loginPhrase and so users level is sufficient and user cannot logout
        another user as he does not know the loginPhrase. Admin can logout any
        specific session. **User**
      operationId: logoutSpecificSession
      requestBody:
        content:
          text/plain:
            schema:
              type: object
              properties:
                loginPhrase:
                  description: Login Phrase of session we want to log out.
                  type: string
                  minLength: 40
                  example: 1574991374806spbcvsuwerl52tppx9dw5khuz8rew13mkq86gg8r2c
            example:
              loginPhrase: 1575012988077darschvve5ag82g8e8sgeij4sn61842ya7ovxi9r3kba
        description: Object containing loginPhrase
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Session successfully logged out
  /id/checkprivilege:
    post:
      tags:
        - ID
      summary: Checks the privilege level of user
      security:
        - ZelID: []
      description: >-
        Checks the privilege level of the user. The 5 levels are public, user,
        admin, flux team and app owner. **User**
      operationId: checkLoggedUser
      requestBody:
        content:
          text/plain:
            schema:
              type: object
              properties:
                zelid:
                  type: string
                  description: ZelID
                signature:
                  type: string
                  description: Signature of signed loginPhrase with ZelID
            example:
              zelid: 1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC
              signature: >-
                IAMZBB0p8aQ6A0Zt8uUKFLdWvPJlBypuczhaM6/R+s5bI72NQs/TPF1KYywvJlumMZyvLmk7JelDwaQbfTjqtSs=
        description: Object containing privilege level
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: admin
  /flux/startdaemon:
    get:
      tags:
        - Flux
      summary: Starts Flux daemon
      description: >-
        Tries to start Flux daemon running on the Flux node the call is run
        against without any extra parameters. **Admin**
      operationId: startdaemon
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Flux successfully started
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /flux/restartdaemon:
    get:
      tags:
        - Flux
      summary: Restarts Flux daemon
      description: >-
        Tries to restart Flux daemon running on the Flux node the call is run
        against. Flux daemon is firstly stopped and then started without any
        extra parameters. **Admin**
      operationId: restartdaemon
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Daemon successfully restarted
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /flux/entermaster:
    get:
      tags:
        - Flux
      summary: Switch to master branch of FluxOS
      description: Tries to switch to master branch of FluxOS. **Admin**
      operationId: FluxEnterMaster
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Master branch successfully entered
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /flux/enterdevelopment:
    get:
      tags:
        - Flux
      summary: Switch to development branch of FluxOS
      description: Tries to switch to development branch of FluxOS. **Admin**
      operationId: FluxEnterDevelopment
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Development branch successfully entered
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /flux/reindexdaemon:
    get:
      tags:
        - Flux
      summary: Reindexes Flux daemon
      description: >-
        Tries to reindex Flux daemon running on the Flux node the call is run
        against. Flux daemon is firstly stopped and then started with reindex
        flag. **Admin**
      operationId: reindexFluxB
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Flux successfully reindexing
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /flux/updateflux:
    get:
      tags:
        - Flux
      summary: Updates Flux to the latest version
      description: >-
        Updates Flux to the latest version available according to github master
        branch. Flux will restart its services after the update.
        **AdminAndFluxTeam**
      operationId: updateFlux
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Flux successfully updating
  /flux/hardupdateflux:
    get:
      tags:
        - Flux
      summary: Perform hard update to the latest version
      description: >-
        Hard updates to latest version by removing node_modules and
        package-lock.json before executing git reset --hard and git pull. This
        may resolve any issues that may arise from Flux not being able to update
        using the `GET /flux/updateflux` call. Flux will restart its services
        after the update. **AdminAndFluxTeam**
      operationId: hardUpdateFlux
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Flux successfully updating
  /flux/rebuildhome:
    get:
      tags:
        - Flux
      summary: Rebuild UI - Home of Flux
      description: >-
        Rebuilds Home part of Flux. May help resolving frontend issues.
        **AdminAndFluxTeam**
      operationId: rebuildZelFront
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Flux successfully rebuilt
  /flux/updatedaemon:
    get:
      tags:
        - Flux
      summary: Updates Flux daemon
      description: >-
        Updates the Flux daemon of Flux node to the latest available version
        according to official Flux APT repository. Flux daemon is restarted with
        no extra parameters during this update. **AdminAndFluxTeam**
      operationId: updateDaemon
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Daemon successfully updated
  /flux/updatebenchmark:
    get:
      tags:
        - Flux
      summary: Updates Benchmark daemon
      description: >-
        Updates the Benchmark daemon of Flux node to the latest available
        version according to official Flux APT repository. Benchmark daemon is
        restarted with no extra parameters during this update.
        **AdminAndFluxTeam**
      operationId: updateBenchmark
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Benchmark successfully updated
  /flux/daemondebug:
    get:
      tags:
        - Flux
      summary: Returns with the Flux debug log
      description: >-
        Returns with the debug log located in Flux data directory.
        **AdminAndFluxTeam**
      operationId: fluxDebug
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
                description: Debug log
              example: >-
                2020-05-09 11:27:30 Flux version v4.0.1-32bd16d-dirty
                (2020-03-20 19:05:39 +0000) 2020-05-09 11:27:30 AppInit2:
                parameter interaction: -externalip set -> setting -discover=0
                2020-05-09 11:27:30 Using BerkeleyDB version Berkeley DB 6.2.23:
                (March 28, 2016) 2020-05-09 11:27:30 Default data directory
                /home/user/.flux 2020-05-09 11:27:30 Using data directory
                /home/user/.flux/ 2020-05-09 11:27:30 Using config file
                /home/user/.flux/flux.conf 2020-05-09 11:27:30 Using at most 256
                connections (1024 file descriptors available) 2020-05-09
                11:27:30 Using 2 threads for script verification 2020-05-09
                11:27:30 scheduler thread start 2020-05-09 11:27:30 Loading
                Sapling (Spend) parameters from
                /home/user/.zcash-params/sapling-spend.params 2020-05-09
                11:27:30 Loading Sapling (Output) parameters from
                /home/user/.zcash-params/sapling-output.params 2020-05-09
                11:27:30 Loading Sapling (Sprout Groth16) parameters from
                /home/user/.zcash-params/sprout-groth16.params 2020-05-09
                11:27:34 Loaded Sapling parameters in 4.129045s seconds.
                2020-05-09 11:27:34 Binding RPC on address 0.0.0.0 port 16124
                failed. 2020-05-09 11:27:34 HTTP: creating work queue of depth
                16 2020-05-09 11:27:34 HTTP: starting 4 worker threads
                2020-05-09 11:27:34 Using wallet wallet.dat 2020-05-09 11:27:34
                init message: Verifying wallet...
  /flux/benchmarkdebug:
    get:
      tags:
        - Flux
      summary: Returns with the Benchmark debug log
      description: >-
        Returns with the debug log located in fluxbenchmark directory.
        **AdminAndFluxTeam**
      operationId: benchmarkDebuf
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
                description: Debug log
              example: >-
                2020-05-13 16:59:02 Benchmark version v1.0.0-beta1-53e0ea2-dirty
                (2020-04-25 13:03:38 +0800) 2020-05-13 16:59:02 Using OpenSSL
                version OpenSSL 1.1.1a  20 Nov 2018 2020-05-13 16:59:02 HTTP:
                creating work queue of depth 16 2020-05-13 16:59:02 HTTP:
                starting 4 worker threads 2020-05-13 16:59:02 Bound to
                [::]:16225 2020-05-13 16:59:02 Bound to 0.0.0.0:16225 2020-05-13
                16:59:02 init message: Done loading 2020-05-13 16:59:02 Starting
                Fluxnodes Benchmarking Thread 2020-05-13 16:59:03 Path:
                /home/user/flux/ZelBack 2020-05-13 16:59:03 ---Flux usage:
                0.23012 2020-05-13 16:59:03 ---package evaluator system setup
                starting 2020-05-13 16:59:03 ---package evaluator already
                installed 2020-05-13 16:59:03 ---package evaluator found
                version: 1.0.11 2020-05-13 16:59:03 ---package evaluator system
                setup completed 2020-05-13 16:59:03 ---Starting computer specs
                test 2020-05-13 16:59:08 ---Found cores: 2 2020-05-13 16:59:08
                ---Found ram: 3.8 2020-05-13 16:59:08 ---Found HDD: 38.200001 G
                2020-05-13 16:59:08 ---Found HDD: 12.000000 G 2020-05-13
                16:59:08 ---Found DD_WRITE: 675.628 2020-05-13 16:59:08
                ---Finished computer specs test 2020-05-13 16:59:08 ---Starting
                package evaluator test 2020-05-13 16:59:29 ---Found eps v1:
                157.185 2020-05-13 16:59:29 ---Finished package evaluator test
  /flux/taildaemondebug:
    get:
      tags:
        - Flux
      summary: Returns last lines of Flux debug log
      description: Returns last 100 lines known in the Flux debug log. **AdminAndFluxTeam**
      operationId: tailFluxDebug
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: >-
                    2020-09-12 01:41:43 keypool reserve 6

                    2020-09-12 01:41:43 keypool return 6

                    2020-09-12 01:41:47 UpdateTip: new
                    best=00000001445f7d700c03f4815cbd3504ba4b133f33493fa0513dfb34a904c024
                    height=684556  log2_work=45.426889  tx=4126528
                    date=2020-09-12 01:40:03 progress=0.999999
                    cache=55.5MiB(15859tx)

                    2020-09-12 01:41:48 keypool reserve 6

                    2020-09-12 01:41:48 keypool return 6

                    2020-09-12 01:41:51 keypool reserve 6

                    2020-09-12 01:41:51 keypool return 6

                    2020-09-12 01:41:56 peer=80 using obsolete version 170006;
                    disconnecting

                    2020-09-12 01:41:56 ProcessMessages(version, 103 bytes)
                    FAILED peer=80

                    2020-09-12 01:41:56 keypool reserve 6

                    2020-09-12 01:41:56 keypool return 6

                    2020-09-12 01:42:02 keypool reserve 6

                    2020-09-12 01:42:02 keypool return 6

                    2020-09-12 01:42:07 keypool reserve 6

                    2020-09-12 01:42:07 keypool return 6

                    2020-09-12 01:42:12 keypool reserve 6

                    2020-09-12 01:42:12 keypool return 6

                    2020-09-12 01:42:17 keypool reserve 6

                    2020-09-12 01:42:17 keypool return 6

                    2020-09-12 01:42:22 keypool reserve 6

                    2020-09-12 01:42:22 keypool return 6

                    2020-09-12 01:42:27 keypool reserve 6

                    2020-09-12 01:42:27 keypool return 6

                    2020-09-12 01:42:32 keypool reserve 6

                    2020-09-12 01:42:32 keypool return 6

                    2020-09-12 01:42:37 keypool reserve 6

                    2020-09-12 01:42:37 keypool return 6

                    2020-09-12 01:42:42 keypool reserve 6

                    2020-09-12 01:42:42 keypool return 6

                    2020-09-12 01:42:47 keypool reserve 6

                    2020-09-12 01:42:47 keypool return 6

                    2020-09-12 01:42:49 keypool reserve 6

                    2020-09-12 01:42:49 keypool return 6

                    2020-09-12 01:42:52 keypool reserve 6

                    2020-09-12 01:42:52 keypool return 6

                    2020-09-12 01:42:57 keypool reserve 6

                    2020-09-12 01:42:57 keypool return 6

                    2020-09-12 01:43:02 keypool reserve 6

                    2020-09-12 01:43:02 keypool return 6

                    2020-09-12 01:43:07 keypool reserve 6

                    2020-09-12 01:43:07 keypool return 6

                    2020-09-12 01:43:12 keypool reserve 6

                    2020-09-12 01:43:12 keypool return 6

                    2020-09-12 01:43:17 keypool reserve 6

                    2020-09-12 01:43:17 keypool return 6

                    2020-09-12 01:43:22 keypool reserve 6

                    2020-09-12 01:43:22 keypool return 6

                    2020-09-12 01:43:27 keypool reserve 6

                    2020-09-12 01:43:27 keypool return 6

                    2020-09-12 01:43:32 keypool reserve 6

                    2020-09-12 01:43:32 keypool return 6

                    2020-09-12 01:43:37 keypool reserve 6

                    2020-09-12 01:43:37 keypool return 6

                    2020-09-12 01:43:42 keypool reserve 6

                    2020-09-12 01:43:42 keypool return 6

                    2020-09-12 01:43:47 keypool reserve 6

                    2020-09-12 01:43:47 keypool return 6

                    2020-09-12 01:43:52 keypool reserve 6

                    2020-09-12 01:43:52 keypool return 6

                    2020-09-12 01:43:57 keypool reserve 6

                    2020-09-12 01:43:57 keypool return 6

                    2020-09-12 01:44:02 keypool reserve 6

                    2020-09-12 01:44:02 keypool return 6

                    2020-09-12 01:44:07 keypool reserve 6

                    2020-09-12 01:44:07 keypool return 6

                    2020-09-12 01:44:12 keypool reserve 6

                    2020-09-12 01:44:12 keypool return 6

                    2020-09-12 01:44:17 keypool reserve 6

                    2020-09-12 01:44:17 keypool return 6

                    2020-09-12 01:44:17 peer=81 using obsolete version 170013;
                    disconnecting

                    2020-09-12 01:44:17 ProcessMessages(version, 103 bytes)
                    FAILED peer=81

                    2020-09-12 01:44:22 keypool reserve 6

                    2020-09-12 01:44:22 keypool return 6

                    2020-09-12 01:44:27 keypool reserve 6

                    2020-09-12 01:44:27 keypool return 6

                    2020-09-12 01:44:29 remove: Remove fluxnode tx from mempool
                    4fea691828378a1cfabfe43ca29b527aea98c81a9ecb3e12a70a53d2eed2c924

                    2020-09-12 01:44:29 UpdateTip: new
                    best=000000747c5d711cb2ae3187797051307b10c2732299cdc2cb8078b1cef91d7d
                    height=684557  log2_work=45.426889  tx=4126534
                    date=2020-09-12 01:43:47 progress=1.000000
                    cache=55.5MiB(15862tx)

                    2020-09-12 01:44:29 Fluxnode found nothing to do:
                    COutPoint(9c8af320e5, 0)

                    2020-09-12 01:44:30 AcceptToMemoryPool: Adding fluxnode
                    transaction to mempool: COutPoint(a5b2a9ebbb, 0) hash:
                    928f795ecc704c3f0411512ebe3f2732f4f1d94f4dd9239147c8d6cbdf80228e

                    2020-09-12 01:44:30 AcceptToMemoryPool: Adding fluxnode
                    transaction to mempool: COutPoint(87b6472d8d, 0) hash:
                    c66fada272ddd909aa20a413e8dfa8ecb9e80bdfabe06fe21ca8216923d8fab6

                    2020-09-12 01:44:30 AcceptToMemoryPool: Adding fluxnode
                    transaction to mempool: COutPoint(0aed717593, 0) hash:
                    090c77f6793fffcfd876c8952b351d4e9bfe40c5795b59480730e8ae3d5edfa4

                    2020-09-12 01:44:30 AcceptToMemoryPool: Adding fluxnode
                    transaction to mempool: COutPoint(805d696dda, 0) hash:
                    cb2ba22ca622332c02e5855c1d0f176606a19a59269280e800bce5bcc2b44e1c

                    2020-09-12 01:44:30 AcceptToMemoryPool: Adding fluxnode
                    transaction to mempool: COutPoint(35b4698aad, 0) hash:
                    71edaec39542cc5cf13faa3e181fb98c94d0027a15f3ba90851a9f73c21c91c2

                    2020-09-12 01:44:30 AcceptToMemoryPool: Adding fluxnode
                    transaction to mempool: COutPoint(49fa5b457d, 0) hash:
                    9ef9da575da26ff4dde7a9eb8b339ca0621c28b924fee46865c196b8259903ad

                    2020-09-12 01:44:31 AcceptToMemoryPool: Adding fluxnode
                    transaction to mempool: COutPoint(b5bcdabfe4, 0) hash:
                    f854454ad5f32d69b91c778e88d23ec67d695a1d0791c2b97fc4c7d7dfca2220

                    2020-09-12 01:44:32 keypool reserve 6

                    2020-09-12 01:44:32 keypool return 6

                    2020-09-12 01:44:36 AcceptToMemoryPool: Adding fluxnode
                    transaction to mempool: COutPoint(b5dd6b1a79, 0) hash:
                    cc4c40dc30e54b2ef18f4b7ece987292bac2a8248f763bcd60574d610c811c52

                    2020-09-12 01:44:36 keypool reserve 6\n2020-09-12 01:44:36
                    keypool return 6

                    2020-09-12 01:44:36 AcceptToMemoryPool: Adding fluxnode
                    transaction to mempool: COutPoint(57f9033b47, 0) hash:
                    0218861ec9783cc45731d3fb1d87858a9d0e7b5bbc48f6d34ac01065db66e140

                    2020-09-12 01:44:38 AcceptToMemoryPool: Adding fluxnode
                    transaction to mempool: COutPoint(2c122a59b8, 0) hash:
                    f071f20767d1a55783c21e4e754e7d12e18e2729f28935d1db2b13f482d82b91

                    2020-09-12 01:44:38 AcceptToMemoryPool: Adding fluxnode
                    transaction to mempool: COutPoint(936393fea0, 0) hash:
                    8c623265e5e33dfad68967ff14d31d03dd4c62565e2fd97916903cefb780334a

                    2020-09-12 01:44:39 AcceptToMemoryPool: Adding fluxnode
                    transaction to mempool: COutPoint(e27995065e, 0) hash:
                    ca7c2362a43ce53c0c95221e2333393724601480e14ba9b330d8fd3ecfc9c4da

                    2020-09-12 01:44:41 keypool reserve 6

                    2020-09-12 01:44:41 keypool return 6

                    2020-09-12 01:44:46 keypool reserve 6

                    2020-09-12 01:44:46 keypool return 6

                    2020-09-12 01:44:49 keypool reserve 6

                    2020-09-12 01:44:49 keypool return 6
  /flux/tailbenchmarkdebug:
    get:
      tags:
        - Flux
      summary: Returns last lines of Benchmark debug log
      description: >-
        Returns last 100 lines known in the Benchmark debug log.
        **AdminAndFluxTeam**
      operationId: tailBenchmarkDebug
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: >-
                    2020-09-12 00:03:39 ---Using Historical eps: 167.846

                    2020-09-12 00:03:39 ---Finished package evaluator test

                    2020-09-12 00:23:25 Shutdown: In progress...

                    2020-09-12 00:23:25 StopRPC: waiting for async rpc workers
                    to stop

                    2020-09-12 00:23:25 Shutdown: done

                    2020-09-12 00:24:09

                    2020-09-12 00:24:09 Benchmark version
                    v1.0.0-beta1-b16e73c-dirty (2020-07-16 22:58:47 +0200)

                    2020-09-12 00:24:09 Using OpenSSL version OpenSSL 1.1.1a  20
                    Nov 2018

                    2020-09-12 00:24:09 HTTP: creating work queue of depth 16

                    2020-09-12 00:24:09 HTTP: starting 4 worker threads

                    2020-09-12 00:24:09 Bound to [::]:16225

                    2020-09-12 00:24:09 Bound to 0.0.0.0:16225

                    2020-09-12 00:24:09 init message: Done loading

                    2020-09-12 00:24:09 Starting Fluxnodes Benchmarking Thread

                    2020-09-12 00:24:10 Path: /home/user/flux/ZelBack

                    2020-09-12 00:25:10 ---Flux usage: 0.44897

                    2020-09-12 00:25:10 ---package evaluator system setup
                    starting

                    2020-09-12 00:25:10 ---package evaluator already installed

                    2020-09-12 00:25:10 ---package evaluator found version:
                    1.0.11

                    2020-09-12 00:25:10 ---package evaluator system setup
                    completed

                    2020-09-12 00:25:10 ---Starting computer specs test

                    2020-09-12 00:25:15 ---Found cores: 2

                    2020-09-12 00:25:15 ---Found ram: 3.8

                    2020-09-12 00:25:15 ---Found HDD: 38.200001 G

                    2020-09-12 00:25:15 ---Found HDD: 13.000000 G

                    2020-09-12 00:25:15 ---Found DD_WRITE: 745.264

                    2020-09-12 00:25:15 ---Finished computer specs test

                    2020-09-12 00:25:15 ---Starting package evaluator test

                    2020-09-12 00:25:35 ---Found eps v1: 176.479

                    2020-09-12 00:25:35 ---Finished package evaluator test

                    2020-09-12 00:55:45 ---Restarting benchmarks

                    2020-09-12 00:55:46 Path: /home/user/flux/ZelBack

                    2020-09-12 00:55:46 ---Flux usage: 0.16616

                    2020-09-12 00:55:46 ---package evaluator system setup
                    starting

                    2020-09-12 00:55:46 ---package evaluator already installed

                    2020-09-12 00:55:46 ---package evaluator found version:
                    1.0.11

                    2020-09-12 00:55:46 ---package evaluator system setup
                    completed

                    2020-09-12 00:55:46 ---Starting computer specs test

                    2020-09-12 00:55:46 ---Found cores: 2

                    2020-09-12 00:55:46 ---Found ram: 3.8

                    2020-09-12 00:55:46 ---Found HDD: 38.200001 G

                    2020-09-12 00:55:46 ---Found HDD: 13.000000 G

                    2020-09-12 00:55:46 ---Using Historical DD_WRITE: 745.264

                    2020-09-12 00:55:46 ---Finished computer specs test

                    2020-09-12 00:55:46 ---Starting package evaluator test

                    2020-09-12 00:55:46 ---Using Historical eps: 176.479

                    2020-09-12 00:55:46 ---Finished package evaluator test

                    2020-09-12 01:25:56 ---Restarting benchmarks

                    2020-09-12 01:25:57 Path: /home/user/flux/ZelBack

                    2020-09-12 01:25:57 ---Flux usage: 0.21791

                    2020-09-12 01:25:57 ---package evaluator system setup
                    starting

                    2020-09-12 01:25:57 ---package evaluator already installed

                    2020-09-12 01:25:57 ---package evaluator found version:
                    1.0.11

                    2020-09-12 01:25:57 ---package evaluator system setup
                    completed

                    2020-09-12 01:25:57 ---Starting computer specs test

                    2020-09-12 01:25:57 ---Found cores: 2

                    2020-09-12 01:25:57 ---Found ram: 3.8

                    2020-09-12 01:25:57 ---Found HDD: 38.200001 G

                    2020-09-12 01:25:57 ---Found HDD: 13.000000 G

                    2020-09-12 01:25:57 ---Using Historical DD_WRITE: 745.264

                    2020-09-12 01:25:57 ---Finished computer specs test

                    2020-09-12 01:25:57 ---Starting package evaluator test

                    2020-09-12 01:25:57 ---Using Historical eps: 176.479

                    2020-09-12 01:25:57 ---Finished package evaluator test

                    2020-09-12 01:56:07 ---Restarting benchmarks

                    2020-09-12 01:56:08 Path: /home/user/flux/ZelBack

                    2020-09-12 01:56:08 ---Flux usage: 0.19594

                    2020-09-12 01:56:08 ---package evaluator system setup
                    starting

                    2020-09-12 01:56:08 ---package evaluator already installed

                    2020-09-12 01:56:08 ---package evaluator found version:
                    1.0.11

                    2020-09-12 01:56:08 ---package evaluator system setup
                    completed

                    2020-09-12 01:56:08 ---Starting computer specs test

                    2020-09-12 01:56:08 ---Found cores: 2

                    2020-09-12 01:56:08 ---Found ram: 3.8

                    2020-09-12 01:56:08 ---Found HDD: 38.200001 G

                    2020-09-12 01:56:08 ---Found HDD: 13.000000 G

                    2020-09-12 01:56:08 ---Using Historical DD_WRITE: 745.264

                    2020-09-12 01:56:08 ---Finished computer specs test

                    2020-09-12 01:56:08 ---Starting package evaluator test

                    2020-09-12 01:56:28 ---Found eps v1: 167.138

                    2020-09-12 01:56:28 ---Finished package evaluator test
  /flux/errorlog:
    get:
      tags:
        - Flux
      summary: Returns with the Flux error log
      description: >-
        Returns with the error log located in flux directory.
        **AdminAndFluxTeam**
      operationId: fluxErrorLog
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
                description: Error log
              example: >-
                2020-05-13T11:43:35.223Z          {} 2020-05-13T16:58:20.492Z
                {"code":"ECONNREFUSED","name":"Error","message":"connect
                ECONNREFUSED 127.0.0.1:16124"} 2020-05-13T16:58:20.494Z {}
                2020-05-13T16:58:29.181Z
                {"code":"ECONNREFUSED","name":"Error","message":"connect
                ECONNREFUSED 127.0.0.1:16124"} 2020-05-13T16:59:03.686Z
                {"code":-28,"name":"Error","message":"Loading fluxnode payment
                cache..."} 2020-05-13T20:51:36.484Z          {}
                2020-05-14T07:15:38.355Z          {}
                2020-05-14T12:18:38.695Z          {} 2020-05-14T13:30:35.112Z
                {"code":"ECONNREFUSED","name":"Error","message":"connect
                ECONNREFUSED 127.0.0.1:16124"} 2020-05-14T13:30:35.114Z {}
                2020-05-14T13:30:38.782Z          {} 2020-05-14T13:31:09.309Z
                {"code":-28,"name":"Error","message":"Loading fluxnode payment
                cache..."} 2020-05-14T13:37:30.205Z
                {"code":"ECONNREFUSED","name":"Error","message":"connect
                ECONNREFUSED 127.0.0.1:16124"} 2020-05-14T13:38:10.519Z
                {"code":-28,"name":"Error","message":"Loading fluxnode payment
                cache..."} 2020-05-14T13:58:08.810Z          {}
                2020-05-14T14:49:30.295Z
                {"code":"ECONNREFUSED","name":"Error","message":"connect
                ECONNREFUSED 127.0.0.1:16124"} 2020-05-14T14:49:32.669Z
                {"code":"ECONNREFUSED","name":"Error","message":"connect
                ECONNREFUSED 127.0.0.1:16124"} 2020-05-14T14:49:32.672Z {}
                2020-05-14T14:50:10.807Z
                {"code":-28,"name":"Error","message":"Loading fluxnode payment
                cache..."} 2020-05-14T16:19:39.197Z          {}
  /flux/tailerrorlog:
    get:
      tags:
        - Flux
      summary: Returns last lines of Flux error log
      description: Returns last 100 lines known in the Flux error log. **AdminAndFluxTeam**
      operationId: tailFluxErrorLog
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: >-
                    2020-09-11T18:36:17.339Z          {}

                    2020-09-11T18:36:17.452Z          {}

                    2020-09-11T18:36:17.553Z          {}

                    2020-09-11T18:36:17.776Z          {}

                    2020-09-11T18:36:17.898Z          {}

                    2020-09-11T18:36:18.102Z          {}

                    2020-09-11T18:36:18.207Z          {}

                    2020-09-11T18:36:18.711Z          {}

                    2020-09-11T18:36:18.812Z          {}

                    2020-09-11T18:36:18.915Z          {}

                    2020-09-11T18:36:19.016Z          {}

                    2020-09-11T18:36:19.218Z          {}

                    2020-09-11T18:36:19.318Z          {}

                    2020-09-11T18:36:19.521Z          {}

                    2020-09-11T18:48:11.898Z          {}

                    2020-09-11T18:48:17.556Z          {}

                    2020-09-11T18:48:19.812Z          {}

                    2020-09-11T18:52:20.539Z          {}

                    2020-09-11T18:55:26.079Z          {}

                    2020-09-11T18:55:26.159Z          {}

                    2020-09-11T19:00:19.193Z          {}

                    2020-09-11T19:04:07.389Z          {}

                    2020-09-11T19:04:13.667Z          {}

                    2020-09-11T19:14:10.229Z          {}

                    2020-09-11T19:24:16.383Z          {}

                    2020-09-11T19:32:09.297Z          {}

                    2020-09-11T19:56:17.959Z          {}

                    2020-09-11T20:03:26.244Z          {}

                    2020-09-11T20:06:22.354Z          {}

                    2020-09-11T20:24:14.665Z          {}

                    2020-09-11T20:36:19.212Z          {}

                    2020-09-11T20:42:12.967Z          {}

                    2020-09-11T20:44:12.980Z          {}

                    2020-09-11T20:49:40.861Z          {}

                    2020-09-11T20:52:16.705Z          {}

                    2020-09-11T20:52:16.893Z          {}

                    2020-09-11T20:52:16.994Z          {}

                    2020-09-11T20:54:12.108Z          {}

                    2020-09-11T21:07:27.799Z          {}

                    2020-09-11T21:08:19.471Z          {}

                    2020-09-11T21:13:39.968Z          {}

                    2020-09-11T21:16:09.308Z          {}

                    2020-09-11T21:24:17.914Z          {}

                    2020-09-11T21:24:18.011Z          {}

                    2020-09-11T21:29:13.920Z          {}

                    2020-09-11T21:36:09.406Z          {}

                    2020-09-11T21:48:08.548Z          {}

                    2020-09-11T21:54:57.653Z          {}

                    2020-09-11T22:08:20.088Z          {}

                    2020-09-11T22:12:17.281Z          {}

                    2020-09-11T22:15:21.272Z          {}

                    2020-09-11T22:22:56.814Z          {}

                    2020-09-11T22:26:24.336Z          {}

                    2020-09-11T22:40:18.348Z          {}

                    2020-09-11T22:48:14.137Z          {}

                    2020-09-11T23:12:15.635Z          {}

                    2020-09-11T23:23:44.443Z          {}

                    2020-09-11T23:24:44.429Z          {}

                    2020-09-11T23:27:32.293Z          {}

                    2020-09-11T23:29:14.338Z          {}

                    2020-09-11T23:50:22.790Z          {}

                    2020-09-11T23:50:23.146Z          {}

                    2020-09-11T23:51:32.910Z          {}

                    2020-09-12T00:01:44.369Z          {}

                    2020-09-12T00:05:14.362Z          {}

                    2020-09-12T00:11:14.366Z          {}

                    2020-09-12T00:16:20.163Z          {}

                    2020-09-12T00:23:26.264Z          {}

                    2020-09-12T00:23:26.395Z          {}

                    2020-09-12T00:23:26.496Z          {}

                    2020-09-12T00:23:26.779Z          {}

                    2020-09-12T00:23:27.502Z          {}

                    2020-09-12T00:23:27.703Z          {}

                    2020-09-12T00:23:27.804Z          {}

                    2020-09-12T00:23:27.906Z          {}

                    2020-09-12T00:23:28.006Z          {}

                    2020-09-12T00:23:28.207Z          {}

                    2020-09-12T00:23:28.308Z          {}

                    2020-09-12T00:23:28.409Z          {}

                    2020-09-12T00:23:57.695Z          {}

                    2020-09-12T00:24:04.521Z
                    {"code":-28,"name":"Error","message":"Activating best
                    chain..."}

                    2020-09-12T00:24:19.135Z          {}

                    2020-09-12T00:34:22.624Z          {}

                    2020-09-12T00:49:11.875Z          {}

                    2020-09-12T00:52:11.993Z          {}

                    2020-09-12T00:52:17.362Z          {}

                    2020-09-12T00:52:18.594Z          {}

                    2020-09-12T01:03:14.488Z          {}

                    2020-09-12T01:06:56.394Z          {}

                    2020-09-12T01:18:11.652Z          {}

                    2020-09-12T01:24:13.613Z          {}

                    2020-09-12T01:30:41.937Z          {}

                    2020-09-12T01:31:13.278Z          {}

                    2020-09-12T01:32:19.941Z          {}

                    2020-09-12T01:34:11.928Z          {}

                    2020-09-12T01:34:56.540Z          {}

                    2020-09-12T01:47:11.945Z          {}

                    2020-09-12T01:56:27.102Z          {}

                    2020-09-12T02:01:12.047Z          {}

                    2020-09-12T02:15:22.973Z          {}
  /flux/nodetier:
    get:
      tags:
        - Flux
      summary: Node Tier
      description: This call will display the tier of the node. **Public**
      operationId: getNodeTier
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Node Tier
              example:
                status: success
                data: cumulus
  /flux/info:
    get:
      tags:
        - Flux
      summary: Combined info
      description: Combined info of statuses. **Public**
      operationId: getFluxInfo
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      daemon:
                        type: object
                        properties:
                          info:
                            $ref: '#/components/schemas/daemongetinfo'
                      node:
                        type: object
                        properties:
                          status:
                            $ref: '#/components/schemas/fluxnodestatus'
                      benchmark:
                        type: object
                        properties:
                          info:
                            $ref: '#/components/schemas/benchinfo'
                          status:
                            $ref: '#/components/schemas/benchstatus'
                          bench:
                            $ref: '#/components/schemas/getbenchmarks'
                      flux:
                        type: object
                        properties:
                          version:
                            type: string
                            description: Version number
                          ip:
                            type: string
                            description: Server's IP address
                          staticIp:
                            type: boolean
                            enum:
                              - true
                              - false
                            description: If ``true`` node have a static IP address
                          zelid:
                            type: string
                            description: Admin's ZelID
                          pgp:
                            type: string
                            description: PGP identity
                          cruxid:
                            type: string
                            description: Cruxid address
                          timezone:
                            type: string
                            description: Server's timezone
                          dos:
                            type: object
                            properties:
                              dosState:
                                type: number
                                description: >-
                                  Number indicating value of DOS state from 0 to
                                  infinity
                              dosMessage:
                                type: string
                                description: Status message or Null if no message
                          appsDos:
                            type: object
                            properties:
                              dosState:
                                type: number
                                description: >-
                                  Number indicating value of DOS state from 0 to
                                  infinity
                              dosMessage:
                                type: string
                                description: Status message or Null if no message
                          development:
                            type: boolean
                            enum:
                              - true
                              - false
                            description: If ```true``` development branch is active
                          explorerScannedHeigth:
                            type: object
                            properties:
                              generalScannedHeight:
                                type: integer
                                description: Explorer block height
                          numberOfConnectionsOut:
                            type: integer
                          numberOfConnectionsIn:
                            type: integer
                      apps:
                        type: object
                        properties:
                          fluxusage:
                            type: string
                            description: Amount of CPU usage
                          runningapps:
                            $ref: '#/components/schemas/containerinfo'
                          resources:
                            $ref: '#/components/schemas/appsresources'
                      geolocation:
                        $ref: '#/components/schemas/geolocation'
                      appsHashesTotal:
                        type: integer
                      hashesPresent:
                        type: integer
              example:
                status: success
                data:
                  daemon:
                    info:
                      version: 6020050
                      protocolversion: 170018
                      walletversion: 60000
                      blocks: 1455414
                      timeoffset: 0
                      connections: 100
                      proxy: ''
                      difficulty: 27259.8892076468
                      testnet: false
                      keypoololdest: 1674853325
                      keypoolsize: 101
                      paytxfee: 0
                      relayfee: 0.000001
                      errors: ''
                  node:
                    status:
                      status: CONFIRMED
                      collateral: >-
                        COutPoint(405e86b48a5d6846763f260154ca15383854ce5a2efad31474e55ff60cb62979,
                        0)
                      txhash: >-
                        405e86b48a5d6846763f260154ca15383854ce5a2efad31474e55ff60cb62979
                      outidx: 0
                      ip: 185.216.177.168
                      network: ipv4
                      added_height: 1327207
                      confirmed_height: 1327209
                      last_confirmed_height: 1455394
                      last_paid_height: 1453696
                      tier: NIMBUS
                      payment_address: t1b6ZZLYAVG8QaafiZxB4dwX77YLLtMZeRx
                      pubkey: >-
                        047f9deaee93ae795a354d5b0977dcc3949e062bdbacdd78384b550987ab9db4545f96a5b59bfb2418cba08a181a9eb501bf70d49ef0fc2aa17bcbaf7ada334c8b
                      activesince: '1677520595'
                      lastpaid: '1692825635'
                      amount: '12500.00'
                  benchmark:
                    info:
                      version: 3.9.0
                      rpcport: 16224
                    status:
                      status: online
                      benchmarking: NIMBUS
                      ipaddress: 185.216.177.168
                      architecture: amd64
                      armboard: ''
                      tier: NIMBUS
                      time: 1693033429
                      real_cores: 10
                      cores: 10
                      ram: 31
                      ssd: 1024
                      hdd: 0
                      ddwrite: 1114.33
                      totalstorage: 1024
                      disksinfo:
                        - disk: vda
                          size: 1024
                          writespeed: 1114.33
                      eps: 1036
                      ping: 7.226
                      download_speed: 809.3055686875
                      upload_speed: 310.0325255625
                      bench_version: 1.0.20
                      speed_version: 1.2.0
                      thunder: false
                      error: ''
                  flux:
                    version: 4.9.1
                    ip: 185.216.177.168
                    staticIp: true
                    zelid: 1HWjQ9S3MyzV6EbtDMEkpHm31parya412N
                    pgp: >
                      -----BEGIN PGP PUBLIC KEY BLOCK-----


                      xjMEZIgjpBYJKwYBBAHaRw8BAQdAerrwWyO64yjV8judx51MuoRVum3FDAx0

                      WDtYoWqatwHNdDQwNWU4NmI0OGE1ZDY4NDY3NjNmMjYwMTU0Y2ExNTM4Mzg1

                      NGNlNWEyZWZhZDMxNDc0ZTU1ZmY2MGNiNjI5Nzk6MCA8MUhXalE5UzNNeXpW

                      NkVidERNRWtwSG0zMXBhcnlhNDEyTkBydW5vbmZsdXguaW8+wowEEBYKAD4F

                      gmSII6QECwkHCAmQxAt379vcLEADFQgKBBYAAgECGQECmwMCHgEWIQTJIjfd

                      RpTSWLEgehHEC3fv29wsQAAAIQoBAOWaX6+vALJA5DTZp3v/snNK4RUxGP4j

                      0yPKXuMQtUJ7AP43Bjv22il8nWL7DAZZpPQu6EJI8vNSkfiw9rZDlYZAA844

                      BGSII6QSCisGAQQBl1UBBQEBB0Dokszyg3BVx5lJpzDdsvazPLiwi+11Zz8b

                      bpOisj8PSwMBCAfCeAQYFggAKgWCZIgjpAmQxAt379vcLEACmwwWIQTJIjfd

                      RpTSWLEgehHEC3fv29wsQAAADuYA/2FMZLcEmH62FaUKeXsbxDtwH45o3zkr

                      uuxpBKrbx06gAP4hhjAl+ldIxPVUlCTyd63V6T1/CZXmxjDcv9EXoTUiCQ==

                      =B2xR

                      -----END PGP PUBLIC KEY BLOCK-----
                    cruxid: null
                    timezone: Europe/Berlin
                    dos:
                      dosState: 0
                      dosMessage: null
                    appsDos:
                      dosState: 0
                      dosMessage: null
                    development: false
                    explorerScannedHeigth:
                      generalScannedHeight: 1455414
                    numberOfConnectionsOut: 19
                    numberOfConnectionsIn: 33
                  apps:
                    fluxusage: '5.24500000'
                    runningapps:
                      - Id: >-
                          4d4f8b41bc06be437a289411fc368b533cb3037262db6c1b7da834b9ff64c990
                        Names:
                          - /fluxnode_PresearchNode1692351142712
                        Image: presearch/node:latest
                        ImageID: >-
                          sha256:250779dc2ac2c4b8bef16ef46d0d5f4310eb9677e3da622f1a8dbbfc701dae36
                        Command: /app/presearch-node
                        Created: 1692377195
                        Ports:
                          - IP: 0.0.0.0
                            PrivatePort: 38253
                            PublicPort: 39000
                            Type: tcp
                          - IP: '::'
                            PrivatePort: 38253
                            PublicPort: 39000
                            Type: tcp
                          - IP: 0.0.0.0
                            PrivatePort: 38253
                            PublicPort: 39000
                            Type: udp
                          - IP: '::'
                            PrivatePort: 38253
                            PublicPort: 39000
                            Type: udp
                          - PrivatePort: 39000
                            Type: tcp
                          - PrivatePort: 39000
                            Type: udp
                        Labels: {}
                        State: running
                        Status: Up 7 days
                      - Id: >-
                          ec7fbc0d1815dca14cbfc7618ca98bfed786664634919cfadcfe5ad476626fdd
                        Names:
                          - /fluxisokoredis_IsokoSSE
                        Image: isokoxyz/isoko-redis:latest
                        ImageID: >-
                          sha256:57827417aa9fbd1d64bbdaece64baa432ba5ec59edce99c774e64f8c83c02c66
                        Command: >-
                          docker-entrypoint.sh redis-server --requirepass
                          password
                        Created: 1692341609
                        Ports:
                          - PrivatePort: 39470
                            Type: udp
                          - PrivatePort: 6379
                            Type: tcp
                          - IP: 0.0.0.0
                            PrivatePort: 3679
                            PublicPort: 39470
                            Type: tcp
                          - IP: '::'
                            PrivatePort: 3679
                            PublicPort: 39470
                            Type: tcp
                          - IP: 0.0.0.0
                            PrivatePort: 3679
                            PublicPort: 39470
                            Type: udp
                          - IP: '::'
                            PrivatePort: 3679
                            PublicPort: 39470
                            Type: udp
                          - PrivatePort: 39470
                            Type: tcp
                        Labels: {}
                        State: running
                        Status: Up 8 days
                      - Id: >-
                          c8e4a96024e3fef3790585ffcdb48fd81f914f8ace86e27961fe596675b73119
                        Names:
                          - /fluxisokosse_IsokoSSE
                        Image: isokoxyz/isoko-sse:latest
                        ImageID: >-
                          sha256:e57a082b29709efc1d25583855276095873fb3b218fe5fb4ba7854bb6f5f900d
                        Command: docker-entrypoint.sh npm run start
                        Created: 1692341603
                        Ports:
                          - IP: 0.0.0.0
                            PrivatePort: 5000
                            PublicPort: 33772
                            Type: udp
                          - IP: '::'
                            PrivatePort: 5000
                            PublicPort: 33772
                            Type: udp
                          - PrivatePort: 33772
                            Type: tcp
                          - PrivatePort: 33772
                            Type: udp
                          - IP: 0.0.0.0
                            PrivatePort: 5000
                            PublicPort: 33772
                            Type: tcp
                          - IP: '::'
                            PrivatePort: 5000
                            PublicPort: 33772
                            Type: tcp
                        Labels: {}
                        State: running
                        Status: Up 8 days
                      - Id: >-
                          ca7edafff17324889aefbdfd8e9ad936e15f84d677d12716ec38f34fae15e046
                        Names:
                          - /fluxFoldingAtHome_FoldingAtRunOnFlux9
                        Image: yurinnick/folding-at-home:latest
                        ImageID: >-
                          sha256:3b22eaf749f01384995a122aa97d4e03f80af32350e75ebe125927bf3f1d7a0e
                        Command: /init-wrapper.sh
                        Created: 1692163488
                        Ports:
                          - PrivatePort: 36330
                            Type: tcp
                          - PrivatePort: 36666
                            Type: tcp
                          - PrivatePort: 36666
                            Type: udp
                          - IP: 0.0.0.0
                            PrivatePort: 7396
                            PublicPort: 36666
                            Type: tcp
                          - IP: '::'
                            PrivatePort: 7396
                            PublicPort: 36666
                            Type: tcp
                          - IP: 0.0.0.0
                            PrivatePort: 7396
                            PublicPort: 36666
                            Type: udp
                          - IP: '::'
                            PrivatePort: 7396
                            PublicPort: 36666
                            Type: udp
                        Labels:
                          description: Unofficial Folding@Home image for CPU compute
                          maintainer: yurinnick
                          repository: https://github.com/yurinnick/folding-at-home-docker
                          version: v7.6.21
                        State: running
                        Status: Up 10 days
                      - Id: >-
                          373182fd794517c6f959ad0ce208b1c3258ad5b3f182f07d35955f4c35873585
                        Names:
                          - /fluxFoldingAtHome_FoldingAtFluxCloud1691606082588
                        Image: yurinnick/folding-at-home:latest
                        ImageID: >-
                          sha256:3b22eaf749f01384995a122aa97d4e03f80af32350e75ebe125927bf3f1d7a0e
                        Command: /init-wrapper.sh
                        Created: 1691875783
                        Ports:
                          - PrivatePort: 35555
                            Type: udp
                          - PrivatePort: 36330
                            Type: tcp
                          - IP: 0.0.0.0
                            PrivatePort: 7396
                            PublicPort: 35555
                            Type: tcp
                          - IP: '::'
                            PrivatePort: 7396
                            PublicPort: 35555
                            Type: tcp
                          - IP: 0.0.0.0
                            PrivatePort: 7396
                            PublicPort: 35555
                            Type: udp
                          - IP: '::'
                            PrivatePort: 7396
                            PublicPort: 35555
                            Type: udp
                          - PrivatePort: 35555
                            Type: tcp
                        Labels:
                          description: Unofficial Folding@Home image for CPU compute
                          maintainer: yurinnick
                          repository: https://github.com/yurinnick/folding-at-home-docker
                          version: v7.6.21
                        State: running
                        Status: Up 13 days
                      - Id: >-
                          e381969e619194b5c037b1063373d52d0e46d883f0cc2000889c064a67b83726
                        Names:
                          - /flux_watchtower
                        Image: containrrr/watchtower
                        ImageID: >-
                          sha256:f847e1adb570c2cc11d1e613cad97baf3cdfe83ddd3c1a29ada848cfbd4f7f3f
                        Command: /watchtower --cleanup --interval 24133
                        Created: 1676891906
                        Ports:
                          - PrivatePort: 8080
                            Type: tcp
                        Labels:
                          com.centurylinklabs.watchtower: 'true'
                        State: running
                        Status: Up 6 months
                    resources:
                      appsCpusLocked: 4.3
                      appsRamLocked: 17700
                      appsHddLocked: 98
                  geolocation:
                    ip: 185.216.177.168
                    continent: Europe
                    continentCode: EU
                    country: Germany
                    countryCode: DE
                    region: BW
                    regionName: Baden-Wurttemberg
                    lat: 49.0291
                    lon: 8.35695
                    org: netcup GmbH
                  appsHashesTotal: 25312
                  hashesPresent: 25279
  /flux/timezone:
    get:
      tags:
        - Flux
      summary: Flux timezone
      description: This will return with the timezone of the server. **Public**
      operationId: getFluxTimezone
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Timezone
              example:
                status: success
                data: Europe/Berlin
  /flux/version:
    get:
      tags:
        - Flux
      summary: Gets version of Flux
      description: >-
        Gets version of Flux running on the Flux node the call is run against as
        it is in package.json. **Public**
      operationId: getFluxVersion
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Flux version
              example:
                status: success
                data: 4.1.0
  /flux/ip:
    get:
      tags:
        - Flux
      summary: Flux IP
      description: >-
        This will return with the IP address of the server that Flux is on.
        **Public**
      operationId: getFluxIP
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: IP address
              example:
                status: success
                data: 49.12.8.215
  /flux/staticip:
    get:
      tags:
        - Flux
      summary: Flux static IP status
      description: >-
        This will return `true` if FluxNode is running under a known static ip
        ISP/Org. **Public**
      operationId: getFluxStaticIP
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: boolean
                    enum:
                      - true
                      - false
                    description: static ip ISP/Org or not
              example:
                status: success
                data: true
  /flux/geolocation:
    get:
      tags:
        - Flux
      summary: Geolocation info
      description: This will return geolocation info. **Public**
      operationId: getFluxGeolocation
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/geolocation'
              example:
                status: success
                data:
                  ip: 148.113.135.234
                  continent: North America
                  continentCode: NA
                  country: Canada
                  countryCode: CA
                  region: QC
                  regionName: Quebec
                  lat: 45.3151
                  lon: -73.8779
                  org: OVH Hosting, Inc
  /flux/id:
    get:
      tags:
        - Flux
      summary: Admin's ZelID
      description: This will return with the admin's ZelID. **Public**
      operationId: getFluxID
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: ZelID
              example:
                status: success
                data: 1CcoEkKQZcwUXPSps4bZJDjUM3mqe9bNXf
  /flux/pgp:
    get:
      tags:
        - Flux
      summary: PGP identity
      description: This will return node pgp public key. **Public**
      operationId: getPgp
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Pgp public key
              example:
                status: success
                data: |
                  -----BEGIN PGP PUBLIC KEY BLOCK-----

                  xjMEZOMsEBYJKwYBBAHaRw8BAQdAqjIh7dGGpEwo2bHAJKPnZJLclDSKPysv
                  gmK3Va+8fcPNdDFlN2U1ODU0YjdlMjk4OWU5NTNlMTA1MGY0MGFmY2YzYWUz
                  ZDQ3ZThlNWI1NDgyZWYyZWViNWZkNTY2ZmNmMmE6MCA8MUhXalE5UzNNeXpW
                  NkVidERNRWtwSG0zMXBhcnlhNDEyTkBydW5vbmZsdXguaW8+wowEEBYKAD4F
                  gmTjLBAECwkHCAmQSQ3C8FnVJhkDFQgKBBYAAgECGQECmwMCHgEWIQQAyk4E
                  Gn08EnjEMCtJDcLwWdUmGQAAC2QBANAEdUdQEUTLQNYnGRzrCvqzBqdPGbJT
                  /zW0nyF8ZLJgAP9pS8OLA3eoYzkhoJKuOn4qcUr48PcBcGzEIpgZFKPPBM44
                  BGTjLBASCisGAQQBl1UBBQEBB0AoXsfprvNft3PNBsCPz9VMl8e342PDq91X
                  VJeSeBnCSAMBCAfCeAQYFggAKgWCZOMsEAmQSQ3C8FnVJhkCmwwWIQQAyk4E
                  Gn08EnjEMCtJDcLwWdUmGQAATboA/3hxWLcTxPRQokx+BlcIXHuRu3fK9cnj
                  UW6j9M99t6hTAQDDdiNNDAEIOnWXBr1NZiD3iqhPv5zOkLDRtpyw+7NGCw==
                  =crwl
                  -----END PGP PUBLIC KEY BLOCK-----
  /flux/kadena:
    get:
      tags:
        - Flux
      summary: Kadena Info
      description: >-
        This call will display the user's Kadena address and chain ID.
        **Public**
      operationId: getFluxKadena
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Kadena address and chain ID
              example:
                status: success
                data: >-
                  kadena:k:7a1529b3a07fate32d75684ab20bdde61545d60f1c6bcbf2489fef857a316652?chainid=0
  /flux/cruxid:
    get:
      tags:
        - Flux
      summary: Admin's CruxID
      description: This will return with the admin's CruxID. **Public**
      operationId: getFluxCruxID
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: CruxID
              example:
                status: success
                data: dk808@zel.crux
  /flux/dosstate:
    get:
      tags:
        - Flux
      summary: DOS state
      description: >-
        This will return with the DOS state that Flux is in from 0 to infinity
        and if it reaches 10 it gets banned. **Public**
      operationId: getDOSState
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      dosState:
                        type: integer
                        description: Status number
                      dosMessage:
                        type: string
                        description: Explanation of status
              example:
                status: success
                data:
                  dosState: 0
                  dosMessage: null
  /flux/connectedpeers:
    get:
      tags:
        - Flux
      summary: Gets IP's of connected peers
      description: Gets list of IP addresses of outgoing connected peers. **Public**
      operationId: connectedPeers
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: string
                      description: IP of connected peer
              example:
                status: success
                data:
                  - 193.188.15.252
                  - 164.68.127.146
                  - 188.239.61.176
                  - 89.187.128.108
  /flux/connectedpeersinfo:
    get:
      tags:
        - Flux
      summary: Gets info of connected peers
      description: >-
        Gets list of ip addresses and rtt of the outgoing connected peers.
        **Public**
      operationId: connectedPeersInfo
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        ip:
                          type: string
                          description: Ip address of connected peer
                        rtt:
                          type: integer
                          description: >-
                            Round trip time of packets being sent back and forth
                            between peers
              example:
                status: success
                data:
                  - ip: 193.188.15.252
                    rtt: 27
                  - ip: 164.68.127.146
                    rtt: 196
                  - ip: 188.239.61.176
                    rtt: 202
                  - ip: 89.187.128.108
                    rtt: 214
  /flux/incomingconnections:
    get:
      tags:
        - Flux
      summary: List of incoming connections
      description: Gets list of IP addresses of incoming connected peers. **Public**
      operationId: incomingConnections
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: string
                      description: Ip list of incoming connections
              example:
                status: success
                data:
                  - '::ffff:91.238.104.205'
                  - '::ffff:192.81.130.145'
                  - '::ffff:167.86.71.144'
                  - '::ffff:193.188.15.254'
                  - '::ffff:62.171.188.152'
                  - '::ffff:164.68.125.203'
  /flux/incomingconnectionsinfo:
    get:
      tags:
        - Flux
      summary: Gets info of incoming connections
      description: Gets list of ip addresses and rtt of incoming connections. **Public**
      operationId: incomingConnectionsInfo
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        ip:
                          type: string
                          description: Ip address of incoming connection
                        rtt:
                          type: string
                          description: >-
                            Round trip time of packets being sent back and forth
                            for incoming connection
              example:
                status: success
                data:
                  - ip: '::ffff:91.238.104.205'
                    rtt: 210
                  - ip: '::ffff:192.81.130.145'
                    rtt: 196
                  - ip: '::ffff:167.86.71.144'
                    rtt: null
                  - ip: '::ffff:193.188.15.254'
                    rtt: 214
                  - ip: '::ffff:62.171.188.152'
                    rtt: 194
                  - ip: '::ffff:164.68.125.203'
                    rtt: 205
  /flux/checkfluxavailability:
    get:
      tags:
        - Flux
      summary: Check availability of Flux
      description: >-
        Check if Flux is reachable and available using IP of the Flux's server.
        **Public**
      operationId: checkFluxAvailability
      security: []
      parameters:
        - in: query
          name: ip
          required: true
          schema:
            type: string
          description: Ip address
          example: 193.188.15.245
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: sucess
                data:
                  message: Asking Flux is available
  /flux/checkcommunication:
    get:
      tags:
        - Flux
      summary: Check incoming/outgoing peers
      description: Check if there is enough incoming/outgoing peers. **Public**
      operationId: isCommunicationEstablished
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Communication to Flux network is properly established
  /flux/uptime:
    get:
      tags:
        - Flux
      summary: FluxOS uptime
      description: Return FluxOS uptime in seconds. **Public**
      operationId: FluxUptime
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: integer
              example:
                status: success
                data: 467
  /flux/broadcastmessage:
    post:
      tags:
        - Flux
      summary: Broadcast message to peers
      description: Broadcast data message to peers that are connected. **AdminAndFluxTeam**
      operationId: broadcastMessageFromUserPost
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                data:
                  type: string
                  description: The message
            example:
              data: a7a5b90b25ccc0a8379ec960c103103390369d1d6d18f88281372b944531dc23
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Message successfully broadcasted to Flux network
    get:
      tags:
        - Flux
      summary: Broadcast message to peers
      description: Broadcast data message to peers that are connected. **AdminAndFluxTeam**
      security:
        - ZelID: []
      parameters:
        - in: query
          name: data
          required: true
          schema:
            type: string
          description: The message
          example: a7a5b90b25ccc0a8379ec960c103103390369d1d6d18f88281372b944531dc23
      operationId: broadcastMessageFromUser
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Message successfully broadcasted to Flux network
  /flux/broadcastmessagetooutgoing:
    post:
      tags:
        - Flux
      summary: Broadcast message to outgoing peers
      description: >-
        Broadcast data message to peers on outgoing connections.
        **AdminAndFluxTeam**
      operationId: broadcastMessageToOutgoingFromUserPost
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                data:
                  type: string
                  description: The message
            example:
              data: a7a5b90b25ccc0a8379ec960c103103390369d1d6d18f88281372b944531dc23
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Message successfully broadcasted to Flux network
    get:
      tags:
        - Flux
      summary: Broadcast message to outgoing peers
      description: >-
        Broadcast data message to peers on outgoing connections.
        **AdminAndFluxTeam**
      operationId: broadcastMessageToOutgoingFromUser
      security:
        - ZelID: []
      parameters:
        - in: query
          name: data
          required: true
          schema:
            type: string
          description: The message
          example: a7a5b90b25ccc0a8379ec960c103103390369d1d6d18f88281372b944531dc23
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Message successfully broadcasted to Flux network
  /flux/broadcastmessagetoincoming:
    post:
      tags:
        - Flux
      summary: Broadcast message to incoming peers
      description: >-
        Broadcast data message to peers on incoming connections.
        **AdminAndFluxTeam**
      operationId: broadcastMessageToIncomingFromUserPost
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                data:
                  type: string
                  description: The message
            example:
              data: a7a5b90b25ccc0a8379ec960c103103390369d1d6d18f88281372b944531dc23
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Message successfully broadcasted to Flux network
    get:
      tags:
        - Flux
      summary: Broadcast message to incoming peers
      description: >-
        Broadcast data message to peers on incoming connections.
        **AdminAndFluxTeam**
      operationId: broadcastMessageToIncomingFromUser
      security:
        - ZelID: []
      parameters:
        - in: query
          name: data
          required: true
          schema:
            type: string
          description: The message
          example: a7a5b90b25ccc0a8379ec960c103103390369d1d6d18f88281372b944531dc23
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Message successfully broadcasted to Flux network
  /flux/addpeer:
    get:
      tags:
        - Flux
      summary: Add peer option
      description: >-
        This call gives option to add peers to outgoing connections.
        **AdminAndFluxTeam**
      operationId: addPeer
      security:
        - ZelID: []
      parameters:
        - in: query
          name: ip
          required: true
          schema:
            type: string
          description: Ip of peer to add
          example: 49.12.8.215
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Outgoing connection to 49.12.8.215 initiated
  /flux/removepeer:
    get:
      tags:
        - Flux
      summary: Remove peer option
      description: >-
        This call does exact opposite of add and removes/drops a outgoing
        connected peer. **AdminAndFluxTeam**
      operationId: removePeer
      security:
        - ZelID: []
      parameters:
        - in: query
          name: ip
          required: true
          schema:
            type: string
          description: Ip of peer to remove
          example: 49.12.8.215
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Outgoing connection to 49.12.8.215 closed
  /flux/removeincomingpeer:
    get:
      tags:
        - Flux
      summary: Remove incoming peer
      description: Remove a incoming connected peer. **AdminAndFluxTeam**
      operationId: removeIncomingPeer
      security:
        - ZelID: []
      parameters:
        - in: query
          name: ip
          required: true
          schema:
            type: string
          description: Ip of peer to remove
          example: 49.12.8.215
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Incoming connection to 49.12.8.215 closed
  /flux/allowport:
    get:
      tags:
        - Flux
      summary: Open port on server
      description: >-
        This will open a port on the server and adding it to the firewall rules.
        **AdminAndFluxTeam**
      operationId: allowPortApi
      security:
        - ZelID: []
      parameters:
        - in: query
          name: port
          required: true
          schema:
            type: integer
          description: Port number to open
          example: 22222
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      code:
                        type: integer
                        description: Port number
                      name:
                        type: integer
                        description: Port number
                      message:
                        type: string
                        description: Explanation of status
              example:
                status: success
                data:
                  code: 22222
                  name: 22222
                  message: |-
                    Rule added
                    Rule added (v6)
  /flux/adjustcruxid:
    get:
      tags:
        - Flux
      summary: Adjust CruxID
      description: This will add/update your CruxID. **Admin**
      operationId: adjustCruxID
      security:
        - ZelID: []
      parameters:
        - in: query
          name: cruxid
          required: true
          schema:
            type: string
          description: CruxID
          example: dk808@zel.crux
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: CruxID adjusted
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /flux/adjustkadena:
    get:
      tags:
        - Flux
      summary: Adjust Kadena Account
      description: Essentially rebuilds flux - use with caution! **Admin**
      operationId: adjustKadenaAccount
      security:
        - ZelID: []
      parameters:
        - in: query
          name: account
          required: true
          schema:
            type: string
          description: Kadena Account
          example: k:7a1529b3a07fate32d75684ab20bdde61545d60f1c6bcbf2489fef857a316652
        - in: query
          name: chainid
          required: true
          schema:
            type: string
          description: Kadena ChainID
          example: 0
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Kadena account adjusted
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /flux/startbenchmark:
    get:
      tags:
        - Flux
      summary: Start Benchmark
      description: >-
        This call will start the benchmark which tests the hardware
        specifications and performance. **AdminAndFluxTeam**
      operationId: fluxstartBenchmark
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Start performance benchmark
              example:
                status: success
                data:
                  message: Benchamrk successfully started
  /flux/restartbenchmark:
    get:
      tags:
        - Flux
      summary: Restart Benchmark
      description: >-
        This call will restart the benchmark which tests the hardware
        specifications and performance. **AdminAndFluxTeam**
      operationId: fluxrestartbenchmark
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Restart performance benchmark
              example:
                status: success
                data:
                  message: Benchamrk successfully restarted
  /flux/softupdateflux:
    get:
      tags:
        - Flux
      summary: Soft Update Flux
      description: This call will perform a soft update of Flux. **AdminAndFluxTeam**
      operationId: softUpdateFlux
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Perform a soft update of Flux
              example:
                status: success
                data:
                  message: Flux successfully updated using soft method
  /flux/softupdatefluxinstall:
    get:
      tags:
        - Flux
      summary: Install Flux
      description: This call will install Flux. **AdminAndFluxTeam**
      operationId: softUpdateFluxInstall
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Install Flux
              example:
                status: success
                data:
                  message: Flux successfully updated softly with installation
  /flux/warnlog:
    get:
      tags:
        - Flux
      summary: Warning Log
      description: This call returns the Flux warning log. **AdminAndFluxTeam**
      operationId: fluxWarnLog
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
                description: Warning log
              example: >-
                2022-01-23T15:23:33.638Z          Daemon not yet synced. Flux
                discovery is awaiting. 2022-01-23T15:25:33.655Z          Node
                not confirmed. Flux discovery is awaiting.
                2022-01-23T15:27:33.869Z          Unexpected token B in JSON at
                position 0 2022-01-23T15:29:34.535Z          Flux IP not
                detected. Flux discovery is awaiting.
  /flux/debuglog:
    get:
      tags:
        - Flux
      summary: Debug Log
      description: This call returns the Flux debug log. **AdminAndFluxTeam**
      operationId: fluxDebugLog
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
                description: Debug log
              example: >-
                2022-01-23T15:23:33.049Z          Flux running on port 16127!
                2022-01-23T15:23:33.051Z          Initiating MongoDB connection
                2022-01-23T15:23:33.075Z          Flux Home running on port
                16126! 2022-01-23T15:23:33.106Z          DB connected
                2022-01-23T15:23:33.106Z          Preparing local database...
                2022-01-23T15:23:33.471Z          Local database prepared
                2022-01-23T15:23:33.472Z          Preparing temporary
                database... 2022-01-23T15:23:33.505Z          Temporary database
                prepared 2022-01-23T15:23:33.505Z          Preparing Flux Apps
                locations 2022-01-23T15:23:33.554Z          Flux Apps locations
                prepared 2022-01-23T15:23:33.571Z          Firewalls checked
                2022-01-23T15:23:33.572Z          Connections polling prepared
                2022-01-23T15:23:33.580Z          Flux Daemon Info Service
                Started 2022-01-23T15:23:33.619Z          Flux checks
                operational 2022-01-23T15:23:33.638Z          Daemon not yet
                synced. Flux discovery is awaiting.
                2022-01-23T15:23:33.639Z          Flux Discovery started
  /flux/infolog:
    get:
      tags:
        - Flux
      summary: Info Log
      description: This call returns the Flux info log. **AdminAndFluxTeam**
      operationId: fluxInfoLog
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
                description: Info log
              example: >-
                2022-01-23T15:23:33.047Z          Flux running on port 16127!
                2022-01-23T15:23:33.050Z          Initiating MongoDB connection
                2022-01-23T15:23:33.071Z          Flux Home running on port
                16126! 2022-01-23T15:23:33.105Z          DB connected
                2022-01-23T15:23:33.106Z          Preparing local database...
                2022-01-23T15:23:33.431Z          Local database prepared
                2022-01-23T15:23:33.472Z          Preparing temporary
                database... 2022-01-23T15:23:33.505Z          Temporary database
                prepared 2022-01-23T15:23:33.505Z          Preparing Flux Apps
                locations 2022-01-23T15:23:33.554Z          Flux Apps locations
                prepared 2022-01-23T15:23:33.571Z          Firewalls checked
  /flux/tailwarnlog:
    get:
      tags:
        - Flux
      summary: Tail Warn Log
      description: This call returns the Flux tail warn log. **AdminAndFluxTeam**
      operationId: tailFluxWarnLog
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
                description: Tail warn log
              example:
                status: success
                data:
                  message: >-
                    2022-01-23T16:44:33.266Z          Message received from
                    outgoing peer 167.86.116.93 but is not an originating node
                    of
                    043adf786dbfc86b8ca741deb589c75b5aa05e99416af5489a6407683c3ef88d30eab6b5cfab869d8def357c46db6bf553b4cb17104219065a17519a8a2596da92.\n
                    2022-01-23T16:44:34.856Z          Message received from
                    outgoing peer 167.86.121.80 but is not an originating node
                    of
                    043d50eb6288db8991a893d00014a0c9bf3ca4baac923eee2e65fae746b5ef41ccd26508ca5e8ef2f0092fc22cd7306b4c1da900eca5f27ee995786f58f6254c79.\n
                    2022-01-23T16:44:36.225Z          Message received from
                    incoming peer ::ffff:194.163.176.204 but is not an
                    originating node of
                    042dd35e0ccf4df99b63768a974b16f6b00fe8cf087320db13942689230ad3a8817f5d98dc0deb8b899a6794cc7ec7771295b54782c8ad52c07c8cedebe83772f5.
  /flux/taildebuglog:
    get:
      tags:
        - Flux
      summary: Tail Debug Log
      description: This call returns the Flux tail debug log. **AdminAndFluxTeam**
      operationId: tailFluxDebugLog
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
                description: Tail debug log
              example:
                status: success
                data:
                  message: >-
                    2022-01-23T17:02:21.941Z          Transaction
                    c70cd93576c5717621f75ca9509c113266a0e19559b61784443845c6cb4865d0
                    1 not found in database. Falling back to blockchain data\n
                    2022-01-23T17:02:22.327Z          Transaction
                    8a6118a60b845250d747f66ecb2eb702eb7ed29c7567745788f9e81d4c3a0f3a
                    1 not found in database. Falling back to blockchain data\n
                    2022-01-23T17:02:22.470Z          Transaction
                    04b86bbc7a3cd64752032f29d6ef6f6f859bfe86ac5026ecc8d5e8dfa7c29160
                    0 not found in database. Falling back to blockchain data\n
  /flux/tailinfolog:
    get:
      tags:
        - Flux
      summary: Tail Info Log
      description: This call returns the Flux tail info log. **AdminAndFluxTeam**
      operationId: tailFluxInfoLog
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
                description: Tail info log
              example:
                status: success
                data:
                  message: >-
                    2022-01-23T17:02:23.458Z          Transaction
                    03dcc45f7c265d73db3e53c98a94c1a52841ac10c7774c6a1942fb602bd7712c
                    1 not found in database. Falling back to blockchain data\n
                    2022-01-23T17:02:23.600Z          Transaction
                    e141049a8de186b718313343bb08f0341c6273eccd424a4b4d5c5bee599ad713
                    0 not found in database. Falling back to blockchain data\n
                    2022-01-23T17:02:23.793Z          Transaction
                    5e59328a1f97ee3335b23ac550236cdcc022bea86cc78e3dddf0674e2d0fd129
                    0 not found in database. Falling back to blockchain data\n
  /flux/backendfolder:
    get:
      tags:
        - Flux
      summary: Local Folder Location
      description: >-
        This call returns the local folder location for Flux.
        **AdminAndFluxTeam**
      operationId: fluxBackendFolder
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
                description: Backend folder location
              example:
                status: success
                data: /home/username/flux/ZelBack/
  /flux/mapport:
    get:
      tags:
        - Flux
      summary: Map a specified port (UPnP)
      description: This call map a specified port (UPnP). **AdminAndFluxTeam**
      operationId: fluxMapport
      parameters:
        - in: query
          name: port
          required: true
          schema:
            type: integer
          description: Port number
          example: 666
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Explanation of status
              example:
                status: success
                data:
                  message: Port mapped
  /flux/unmapport:
    get:
      tags:
        - Flux
      summary: Unmap a specified port (UPnP)
      description: This call unmap a specified port (UPnP). **AdminAndFluxTeam**
      operationId: fluxUnmapport
      parameters:
        - in: query
          name: port
          required: true
          schema:
            type: integer
          description: Port number
          example: 666
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Explanation of status
              example:
                status: success
                data:
                  message: Port unmapped
  /flux/getmap:
    get:
      tags:
        - Flux
      summary: Show list with mappings (UPnP)
      description: This call show message with mappings (UPnP). **AdminAndFluxTeam**
      operationId: fluxGetMap
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
              example:
                status: success
                data:
                  - public:
                      host: ''
                      port: 31111
                    private:
                      host: 192.168.1.105
                      port: 31111
                    protocol: tcp
                    enabled: false
                    description: Flux_App_StreamrNode1681108241435
                    ttl: 0
                    local: false
                  - public:
                      host: ''
                      port: 31112
                    private:
                      host: 192.168.1.105
                      port: 31112
                    protocol: tcp
                    enabled: false
                    description: Flux_App_StreamrNode1681108241435
                    ttl: 0
                    local: false
                  - public:
                      host: ''
                      port: 31113
                    private:
                      host: 192.168.1.105
                      port: 31113
                    protocol: tcp
                    enabled: false
                    description: Flux_App_StreamrNode1681108241435
                    ttl: 0
                    local: false
                  - public:
                      host: ''
                      port: 16137
                    private:
                      host: 192.168.1.102
                      port: 16137
                    protocol: tcp
                    enabled: false
                    description: Flux_Backend_API
                    ttl: 0
                    local: false
                  - public:
                      host: ''
                      port: 16136
                    private:
                      host: 192.168.1.102
                      port: 16136
                    protocol: tcp
                    enabled: false
                    description: Flux_Home_UI
                    ttl: 0
                    local: false
                  - public:
                      host: ''
                      port: 16177
                    private:
                      host: 192.168.1.106
                      port: 16177
                    protocol: tcp
                    enabled: false
                    description: Flux_Backend_API
                    ttl: 0
                    local: true
                  - public:
                      host: ''
                      port: 16176
                    private:
                      host: 192.168.1.106
                      port: 16176
                    protocol: tcp
                    enabled: false
                    description: Flux_Home_UI
                    ttl: 0
                    local: true
  /flux/getip:
    get:
      tags:
        - Flux
      summary: Show public IP address (UPnP)
      description: This call show public IP address (UPnP). **AdminAndFluxTeam**
      operationId: fluxGetip
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data: 84.28.5.7
  /flux/getgateway:
    get:
      tags:
        - Flux
      summary: Show gateway address (UPnP)
      description: >-
        This call show a message with gateway address (UPnP).
        **AdminAndFluxTeam**
      operationId: fluxGetGateway
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data:
                  gateway:
                    description: http://192.168.1.1:2189/rootDesc.xml
                    services:
                      - urn:schemas-upnp-org:service:WANIPConnection:1
                      - urn:schemas-upnp-org:service:WANIPConnection:2
                      - urn:schemas-upnp-org:service:WANPPPConnection:1
                  address: 192.168.1.106
  /flux/routerip:
    get:
      tags:
        - Flux
      summary: To show the current user's Router IP setup.
      description: >-
        To show the current user's Router IP setup in configuration file that is
        being used with FluxO. **PUBLIC**
      operationId: fluxRouterip
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data: 196.53.8.65
  /flux/adjustrouterip:
    get:
      tags:
        - Flux
      summary: Update the current routerIP.
      description: Update the current routerIP that is being used with FluxOS. **Admin**
      operationId: fluxAdjustrouterip
      parameters:
        - in: query
          name: routerip
          schema:
            type: string
          example: 196.53.8.65
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data: Router IP adjusted
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /flux/blockedports:
    get:
      tags:
        - Flux
      summary: Show the current user's blocked ports list.
      description: Show the current user's blocked ports list. **PUBLIC**
      operationId: fluxBlockedports
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: number
                      description: Port
              example:
                status: success
                data:
                  - 22
  /flux/adjustblockedports:
    post:
      tags:
        - Flux
      summary: Update blocked port list.
      description: >-
        Update the current blocked port list that is being used by FluxOS.
        **Admin**
      operationId: fluxAdjustblockedports
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                blockedPorts:
                  type: array
                  items:
                    type: number
              example:
                blockedPorts:
                  - 2233
                  - 5544
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  message: User Blocked Ports adjusted
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /flux/blockedrepositories:
    get:
      tags:
        - Flux
      summary: Show the current user's blocked repositories list.
      description: Show the current user's blocked repositories list. **PUBLIC**
      operationId: fluxBlockedrepositories
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: number
                      description: Port
              example:
                status: success
                data:
                  - zirnheltdj/wisconsinwaters:latest
  /flux/adjustblockedrepositories:
    post:
      tags:
        - Flux
      summary: Update blocked repositories list.
      description: >-
        Update the current blocked repositories list that is being used by
        FluxOS. **Admin**
      operationId: fluxAdjustblockedrepositories
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                blockedRepositories:
                  type: array
                  items:
                    type: string
              example:
                blockedPorts:
                  - zirnheltdj/wisconsinwaters:latest
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  message: User Blocked Repositories adjusted
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /flux/apiport:
    get:
      tags:
        - Flux
      summary: >-
        Show the current user's Api Port setup in configuration file that is
        being used by FluxOS.
      description: Show the current user's Api Port. **PUBLIC**
      operationId: fluxApiport
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Api Port
              example:
                status: success
                data: 16127
  /flux/adjustapiport:
    get:
      tags:
        - Flux
      summary: >-
        Update Api Port setup in configuration file that is being used by
        FluxOS.
      description: Update Api Port. **PUBLIC**
      operationId: fluxAdjustapiport
      security:
        - ZelID: []
      parameters:
        - in: query
          name: apiport
          schema:
            type: number
          example: 16127
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data: API Port adjusted
  /flux/marketplaceurl:
    get:
      tags:
        - Flux
      summary: Show marketplace URL.
      description: >-
        Show marketplace URL based on current development flag setup in
        configuration file that is being used with FluxOS. **PUBLIC**
      operationId: fluxMarketplaceurl
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Api Port
              example:
                status: success
                data: https://stats.runonflux.io/marketplace/listapps
  /flux/restart:
    get:
      tags:
        - Flux
      summary: Restart FluxOS.
      description: Restart FluxOS. **Admin**
      operationId: fluxRestart
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data: Restarting FluxOS..
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /flux/systemuptime:
    get:
      tags:
        - Flux
      summary: Show system uptime.
      description: Show system uptime in ms. **Public**
      operationId: fluxSystemuptime
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: number
                    description: System uptime in ms
              example:
                status: success
                data: 2531565
  /flux/nodejsversions:
    get:
      tags:
        - Flux
      summary: Show nodejs entire versions object.
      description: Show nodejs entire versions object. **Public**
      operationId: fluxNodejsversions
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    description: Nodejs entire versions object
              example:
                status: success
                data:
                  node: 16.20.2
                  v8: 9.4.146.26-node.26
                  uv: 1.43.0
                  zlib: 1.2.11
                  brotli: 1.0.9
                  ares: 1.19.1
                  modules: '93'
                  nghttp2: 1.47.0
  /flux/fluxids:
    get:
      tags:
        - Flux
      summary: Get all Flux IDs
      description: Get list of all Flux IDs associated with this node. **Public**
      operationId: getFluxIds
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: string
                      description: Flux ID (address)
              example:
                status: success
                data:
                  - 1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC
                  - '0x742d35Cc9aBCc532815B797b33C6aA4532d3F1B2'
  /flux/isarcaneos:
    get:
      tags:
        - Flux
      summary: Check if running on ArcaneOS
      description: >-
        Check if the node is running on ArcaneOS (specialized Flux operating
        system). **Public**
      operationId: isArcaneOs
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: boolean
                    description: True if running on ArcaneOS
              example:
                status: success
                data: true
  /flux/streamchainpreparation:
    get:
      tags:
        - Flux
      summary: Stream chain preparation
      description: Prepare for blockchain streaming operation. **AdminAndFluxTeam**
      operationId: streamChainPreparation
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Preparation status
                      ready:
                        type: boolean
                        description: Whether chain is ready for streaming
              example:
                status: success
                data:
                  message: Chain preparation completed
                  ready: true
  /flux/streamchain:
    post:
      tags:
        - Flux
      summary: Stream blockchain data
      description: Stream blockchain data to another node. **AdminAndFluxTeam**
      operationId: streamChain
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                targetNode:
                  type: string
                  description: Target node IP address
                startHeight:
                  type: integer
                  description: Starting block height
                endHeight:
                  type: integer
                  description: Ending block height
              required:
                - targetNode
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Streaming status
              example:
                status: success
                data:
                  message: Blockchain streaming initiated
  /flux/checkappavailability:
    post:
      tags:
        - Flux
      summary: Check application availability
      description: Check if a specific application is available and accessible. **Public**
      operationId: checkAppAvailability
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                appname:
                  type: string
                  description: Name of the application to check
                ip:
                  type: string
                  description: IP address to check availability from
                port:
                  type: integer
                  description: Port to check
              required:
                - appname
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      available:
                        type: boolean
                        description: Whether app is available
                      message:
                        type: string
                        description: Availability status message
              example:
                status: success
                data:
                  available: true
                  message: Application is accessible
  /flux/keepupnpportsopen:
    post:
      tags:
        - Flux
      summary: Keep UPnP ports open
      description: Maintain UPnP port mappings to keep them open. **AdminAndFluxTeam**
      operationId: keepUPNPPortsOpen
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ports:
                  type: array
                  items:
                    type: integer
                  description: List of ports to keep open
              required:
                - ports
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        description: UPnP port management status
              example:
                status: success
                data:
                  message: UPnP ports maintained
  /apps/getfolderinfo:
    get:
      tags:
        - Volume Browser
      summary: Get a list of files with their details for all files.
      description: Get a list of files with their details for all files. **AppOwnerAbove**
      operationId: fluxGetfolderinfo
      security:
        - ZelID: []
      parameters:
        - in: query
          name: appname
          required: true
          schema:
            type: string
          example: FoldingAtRunOnFlux11
        - in: query
          name: component
          required: true
          schema:
            type: string
          example: FoldingAtHome
        - in: query
          name: folder
          schema:
            type: string
          example: ddd
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data:
                  - name: fluxredis_ethercalc (2).tar.gz
                    size: 138008536
                    isDirectory: false
                    isFile: true
                    isSymbolicLink: false
                    createdAt: '2024-03-12T08:57:40.817Z'
                    modifiedAt: '2024-03-12T08:58:19.263Z'
  /apps/createfolder:
    get:
      tags:
        - Volume Browser
      summary: Create folder.
      description: Create folder inside app volume. **AppOwnerAbove**
      operationId: fluxCreatefolder
      security:
        - ZelID: []
      parameters:
        - in: query
          name: appname
          required: true
          schema:
            type: string
          example: FoldingAtRunOnFlux11
        - in: query
          name: component
          required: true
          schema:
            type: string
          example: FoldingAtHome
        - in: query
          name: folder
          required: true
          schema:
            type: string
          example: ddd
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data:
                  message: Folder Created
  /apps/renameobject:
    get:
      tags:
        - Volume Browser
      summary: Rename file/folder
      description: Rename file/folder. **AppOwnerAbove**
      operationId: fluxRenameobject
      security:
        - ZelID: []
      parameters:
        - in: query
          name: appname
          required: true
          schema:
            type: string
          example: FoldingAtRunOnFlux11
        - in: query
          name: component
          required: true
          schema:
            type: string
          example: FoldingAtHome
        - in: query
          name: oldpath
          required: true
          schema:
            type: string
          example: ddd
          description: old path name inside volume with file/folder name
        - in: query
          name: newname
          required: true
          description: new full path name inside volume with file/folder name
          schema:
            type: string
          example: ccc
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data:
                  message: Rename successful
  /apps/removeobject:
    get:
      tags:
        - Volume Browser
      summary: Remove file/folder
      description: Remove file/folder. **AppOwnerAbove**
      operationId: fluxRemoveobject
      security:
        - ZelID: []
      parameters:
        - in: query
          name: appname
          required: true
          schema:
            type: string
          example: FoldingAtRunOnFlux11
        - in: query
          name: component
          required: true
          schema:
            type: string
          example: FoldingAtHome
        - in: query
          name: object
          required: true
          schema:
            type: string
          example: ddd
          description: path name inside volume with file/folder name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data:
                  message: Removed successful
  /apps/downloadfile:
    get:
      tags:
        - Volume Browser
      summary: Download file
      description: Download file. **AppOwnerAbove**
      operationId: fluxDownloadFile
      security:
        - ZelID: []
      parameters:
        - in: query
          name: appname
          required: true
          schema:
            type: string
          example: FoldingAtRunOnFlux11
        - in: query
          name: component
          required: true
          schema:
            type: string
          example: FoldingAtHome
        - in: query
          name: file
          required: true
          schema:
            type: string
          example: notes.txt
          description: full path inside volume to file
      responses:
        '200':
          description: OK
          content:
            application/file:
              schema:
                type: string
                format: binary
  /apps/downloadfolder:
    get:
      tags:
        - Volume Browser
      summary: Download folder as gzip file
      description: Download folder as gzip file. **AppOwnerAbove**
      operationId: fluxDownloadFolder
      security:
        - ZelID: []
      parameters:
        - in: query
          name: appname
          required: true
          schema:
            type: string
          example: FoldingAtRunOnFlux11
        - in: query
          name: component
          required: true
          schema:
            type: string
          example: FoldingAtHome
        - in: query
          name: folder
          required: true
          schema:
            type: string
          example: ddd
          description: full path inside volume to folder
      responses:
        '200':
          description: OK
          content:
            application/gzip:
              schema:
                type: string
                format: binary
  /backup/getvolumedataofcomponent:
    get:
      tags:
        - Backup/Restore
      summary: Get volume data of a component
      description: Get volume data of a component. **AppOwnerAbove**
      operationId: fluxGetvolumedataofcomponent
      security:
        - ZelID: []
      parameters:
        - in: query
          name: appname
          required: true
          schema:
            type: string
          description: Name of the application
          example: FoldingAtRunOnFlux11
        - in: query
          name: component
          required: true
          schema:
            type: string
          description: Component of application
          example: FoldingAtHome
        - in: query
          name: multiplier
          schema:
            type: string
          description: Multiplier value (B, KB, MB, GB, TB)
          example: B
        - in: query
          name: decimal
          schema:
            type: number
          description: Decimal value
          example: 2
        - in: query
          name: fields
          required: true
          schema:
            type: string
          description: >-
            Fields to include, possibls mount, size, used, available, capacity,
            filesystem separate with coma
          example: size,used
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data:
                  size: 3.09
                  used: 0.28
  /backup/getremotefilesize:
    get:
      tags:
        - Backup/Restore
      summary: Get size of a remote file. **AppOwnerAbove**
      description: Get size of a remote file. **AppOwnerAbove**
      operationId: fluxGetremotefilesize
      security:
        - ZelID: []
      parameters:
        - in: query
          name: fileurl
          required: true
          schema:
            type: string
          description: Remote URL
          example: https://go.dev/dl/go1.22.1.darwin-amd64.tar.gz
        - in: query
          name: multiplier
          schema:
            type: string
          description: Multiplier value (B, KB, MB, GB, TB)
          example: B
        - in: query
          name: decimal
          schema:
            type: number
          description: Decimal value
          example: 2
        - in: query
          name: number
          schema:
            type: boolean
          description: return only number
          example: true
        - in: query
          name: appname
          schema:
            type: string
          description: Application name
          example: FoldingAtRunOnFlux11
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data: 67267354
  /backup/getlocalbackuplist:
    get:
      tags:
        - Backup/Restore
      summary: Get the list of local backups based on the provided appname
      description: >-
        Get the list of local backups based on the provided appname.
        **AppOwnerAbove**
      operationId: fluxGetlocalbackuplist
      security:
        - ZelID: []
      parameters:
        - in: query
          name: fileurl
          required: true
          schema:
            type: string
          description: Full path
          example: >-
            %2Fhome%2Fflux01%2Fzelflux%2FZelApps%2FfluxFoldingAtHome_FoldingAtRunOnFlux11%2Fbackup%2Flocal
        - in: query
          name: multiplier
          schema:
            type: string
          description: Multiplier value (B, KB, MB, GB, TB)
          example: B
        - in: query
          name: decimal
          schema:
            type: number
          description: Decimal value
          example: 2
        - in: query
          name: number
          schema:
            type: boolean
          description: return only number
          example: true
        - in: query
          name: appname
          schema:
            type: string
          description: Application name
          example: FoldingAtRunOnFlux11
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        create:
                          type: string
                        size:
                          type: integer
              example:
                status: success
                data:
                  - name: backup_foldingathome.tar.gz
                    create: '1711116249595'
                    size: 280725761
  /backup/removebackupfile:
    get:
      tags:
        - Backup/Restore
      summary: Remove a backup file.
      description: Remove a backup file.**AppOwnerAbove**
      operationId: fluxRemovebackupfile
      security:
        - ZelID: []
      parameters:
        - in: query
          name: filepath
          required: true
          schema:
            type: string
          description: Full path
          example: >-
            %2Fhome%2Fflux05%2Fzelflux%2FZelApps%2FfluxFoldingAtHome_FoldingAtRunOnFlux11%2Fbackup%2Flocal%2Fbackup_foldingathome.tar.gz
        - in: query
          name: appname
          required: true
          schema:
            type: string
          description: Application name
          example: FoldingAtRunOnFlux11
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: boolean
              example:
                status: success
                data:
                  message: true
  /backup/downloadlocalfile:
    get:
      tags:
        - Backup/Restore
      summary: Download a local backup file
      description: Download a local backup file. **AppOwnerAbove**
      operationId: fluxDownloadlocalfile
      security:
        - ZelID: []
      parameters:
        - in: query
          name: filepath
          required: true
          schema:
            type: string
          description: Full path
          example: >-
            %2Fhome%2Fflux05%2Fzelflux%2FZelApps%2FfluxFoldingAtHome_FoldingAtRunOnFlux11%2Fbackup%2Flocal%2Fbackup_foldingathome.tar.gz
        - in: query
          name: appname
          required: true
          schema:
            type: string
          description: Application name
          example: FoldingAtRunOnFlux11
      responses:
        '200':
          description: OK
          content:
            application/gzip:
              schema:
                type: string
                format: binary
  /apps/appendbackuptask:
    post:
      tags:
        - Backup/Restore
      summary: Append backup task to an application
      description: Append backup task to an application. **AppOwnerAbove**
      operationId: fluxAppendbackuptask
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                appname:
                  type: string
                  description: Name of the application
                  example: FoldingAtRunOnFlux11
                backup:
                  type: array
                  items:
                    type: object
                    properties:
                      component:
                        type: string
                        description: Name of component
                        example: FoldingAtHome
                      backup:
                        type: boolean
                        description: Whether to perform backup for the component
                        example: true
              example:
                appname: FoldingAtRunOnFlux11
                backup:
                  - component: FoldingAtHome
                    backup: true
      responses:
        '200':
          description: OK
  /apps/appendrestoretask:
    post:
      tags:
        - Backup/Restore
      summary: Append restore task to an application
      description: Append restore task to an application. **AppOwnerAbove**
      operationId: fluxAppendrestoretask
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                appname:
                  type: string
                  description: Name of the application
                  example: FoldingAtRunOnFlux11
                backup:
                  type: array
                  items:
                    type: object
                    properties:
                      component:
                        type: string
                        description: Name of component
                        example: FoldingAtHome
                      restore:
                        type: boolean
                        description: Whether to perform backup for the component
                        example: true
              example:
                appname: FoldingAtRunOnFlux11
                restore:
                  - component: FoldingAtHome
                    restore: true
      responses:
        '200':
          description: OK
  /ioutils/fileupload:
    post:
      tags:
        - IOUtils
      summary: Upload file
      description: Uploads a file to the specified location. **AppOwnerAbove**
      operationId: fileUpload
      security:
        - ZelID: []
      parameters:
        - in: query
          name: type
          required: true
          schema:
            type: string
          description: Type of upload (backup or volume)
          example: volume
        - in: query
          name: appname
          required: true
          schema:
            type: string
          description: Name of the application
          example: FoldingAtRunOnFlux11
        - in: query
          name: component
          required: true
          schema:
            type: string
          description: Component of application
          example: FoldingAtHome
        - in: query
          name: folder
          required: false
          schema:
            type: string
          description: Full path inside volume to the folder
          example: ddd/ccc
        - in: query
          name: filename
          required: false
          schema:
            type: string
          description: >-
            Name of the file to be uploaded. If not provided, the file will be
            uploaded with its original name.
          example: FoldingAtHome.gzip
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
      responses:
        '200':
          description: OK
  /daemon/help:
    get:
      tags:
        - Daemon
      summary: RPC list
      description: >-
        Gets list of RPC for the Flux daemon or if command query is used it will
        respond with the help info for that specified call. **Public**
      operationId: help
      security: []
      parameters:
        - in: query
          name: command
          schema:
            type: string
          description: >-
            Accepts both help/command and ?command=getinfo. If omited, default
            help will be displayed.
          example: getmininginfo
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: RPC list
              example:
                status: success
                data: >-
                  == Addressindex == getaddressbalance {"addresses": ["taddr",
                  ...]} getaddressdeltas {"addresses": ["taddr", ...], ("start":
                  n), ("end": n), ("chainInfo": true|false)} getaddressmempool
                  {"addresses": ["taddr", ...]} getaddresstxids {"addresses":
                  ["taddr", ...], ("start": n), ("end": n)} getaddressutxos
                  {"addresses": ["taddr", ...], ("chainInfo": true|false)}

                  == Benchmarks == getbenchmarks getbenchstatus startfluxbenchd
                  startzelbenchd stopfluxbenchd stopzelbenchd

                  == Blockchain == getbestblockhash getblock "hash|height" (
                  verbosity ) getblockchaininfo getblockcount getblockdeltas
                  "blockhash" getblockhash index getblockhashes high low (
                  {"noOrphans": true|false, "logicalTimes": true|false} )
                  getblockheader "hash" ( verbose ) getchaintips getdifficulty
                  getmempoolinfo getrawmempool ( verbose ) getspentinfo {"txid":
                  "txidhex", "index": n} gettxout "txid" n ( includemempool )
                  gettxoutproof ["txid",...] ( blockhash ) gettxoutsetinfo
                  verifychain ( checklevel numblocks ) verifytxoutproof "proof"

                  == Control == getinfo help ( "command" ) stop

                  == Disclosure == z_getpaymentdisclosure "txid" "js_index"
                  "output_index" ("message")  z_validatepaymentdisclosure
                  "paymentdisclosure"

                  == Fluxnode == createfluxnodekey createzelnodekey
                  fluxnodecurrentwinner getdoslist getfluxnodecount
                  getfluxnodeoutputs getfluxnodestatus getmigrationcount
                  getstartlist getzelnodecount getzelnodeoutputs
                  getzelnodestatus listfluxnodeconf ( "filter" ) listfluxnodes (
                  "filter" ) listzelnodeconf ( "filter" ) listzelnodes (
                  "filter" ) startdeterministicfluxnode alias_name lockwallet
                  startdeterministiczelnode alias_name lockwallet startfluxnode
                  "all|alias" lockwallet ( "alias" ) startzelnode "all|alias"
                  lockwallet ( "alias" ) viewdeterministicfluxnodelist (
                  "filter" ) viewdeterministiczelnodelist ( "filter" )
                  zelnodecurrentwinner

                  == Generating == generate numblocks getgenerate setgenerate
                  generate ( genproclimit )

                  == Mining == getblocksubsidy height getblocktemplate (
                  "jsonrequestobject" ) getlocalsolps getmininginfo
                  getnetworkhashps ( blocks height ) getnetworksolps ( blocks
                  height ) prioritisetransaction <txid> <priority delta> <fee
                  delta> submitblock "hexdata" ( "jsonparametersobject" )

                  == Network == addnode "node" "add|remove|onetry" clearbanned
                  disconnectnode "node"  getaddednodeinfo dns ( "node" )
                  getconnectioncount getdeprecationinfo getnettotals
                  getnetworkinfo getpeerinfo listbanned ping setban
                  "ip(/netmask)" "add|remove" (bantime) (absolute)

                  == Rawtransactions == createrawtransaction
                  [{"txid":"id","vout":n},...] {"address":amount,...} ( locktime
                  ) ( expiryheight ) decoderawblock "hexstring"
                  decoderawtransaction "hexstring" decodescript "hex"
                  fundrawtransaction "hexstring" getrawtransaction "txid" (
                  verbose ) sendrawtransaction "hexstring" ( allowhighfees )
                  signrawtransaction "hexstring" (
                  [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...]
                  ["privatekey1",...] sighashtype )

                  == Util == createmultisig nrequired ["key",...] estimatefee
                  nblocks estimatepriority nblocks printsnapshot "time" 
                  validateaddress "fluxaddress" verifymessage "fluxaddress"
                  "signature" "message" z_validateaddress "zaddr"

                  == Wallet == addmultisigaddress nrequired ["key",...] (
                  "account" ) backupwallet "destination" consolidateutxos
                  (utxo_count) dumpprivkey "t-addr" dumpwallet "folder/filename"
                  encryptwallet "passphrase" getaccount "fluxaddress"
                  getaccountaddress "account" getaddressesbyaccount "account"
                  getbalance ( "account" minconf includeWatchonly )
                  getnewaddress ( "account" ) getrawchangeaddress
                  getreceivedbyaccount "account" ( minconf )
                  getreceivedbyaddress "fluxaddress" ( minconf ) gettransaction
                  "txid" ( includeWatchonly ) getunconfirmedbalance
                  getwalletinfo importaddress "address" ( "label" rescan )
                  importprivkey "zelcashprivkey" ( "label" rescan ) importwallet
                  "filename" keypoolrefill ( newsize ) listaccounts ( minconf
                  includeWatchonly) listaddressgroupings listlockunspent
                  listreceivedbyaccount ( minconf includeempty includeWatchonly)
                  listreceivedbyaddress ( minconf includeempty includeWatchonly)
                  listsinceblock ( "blockhash" target-confirmations
                  includeWatchonly) listtransactions ( "account" count from
                  includeWatchonly) listunspent ( minconf maxconf 
                  ["address",...] ) lockunspent unlock
                  [{"txid":"txid","vout":n},...] move "fromaccount" "toaccount"
                  amount ( minconf "comment" ) rescanblockchain (start_height)
                  sendfrom "fromaccount" "tofluxaddress" amount ( minconf
                  "comment" "comment-to" ) sendmany "fromaccount"
                  {"address":amount,...} ( minconf "comment" ["address",...] )
                  sendtoaddress "fluxaddress" amount ( "comment" "comment-to"
                  subtractfeefromamount ) setaccount "fluxaddress" "account"
                  settxfee amount signmessage "t-addr" "message" z_exportkey
                  "zaddr" z_exportviewingkey "zaddr" z_exportwallet
                  "folder/filename" z_getbalance "address" ( minconf )
                  z_getmigrationstatus z_getnewaddress ( type )
                  z_getoperationresult (["operationid", ... ]) 
                  z_getoperationstatus (["operationid", ... ]) 
                  z_gettotalbalance ( minconf includeWatchonly ) z_importkey
                  "zkey" ( rescan startHeight ) z_importviewingkey "vkey" (
                  rescan startHeight ) z_importwallet "filename" z_listaddresses
                  ( includeWatchonly ) z_listoperationids
                  z_listreceivedbyaddress "address" ( minconf ) z_listunspent (
                  minconf maxconf includeWatchonly ["zaddr",...] )
                  z_mergetoaddress ["fromaddress", ... ] "toaddress" ( fee ) (
                  transparent_limit ) ( shielded_limit ) ( memo ) z_sendmany
                  "fromaddress" [{"address":... ,"amount":...},...] ( minconf )
                  ( fee ) z_setmigration enabled z_shieldcoinbase "fromaddress"
                  "tozaddress" ( fee ) ( limit ) zcbenchmark benchmarktype
                  samplecount zcrawjoinsplit rawtx inputs outputs vpub_old
                  vpub_new zcrawkeygen zcrawreceive zcsecretkey encryptednote
                  zcsamplejoinsplit
  /daemon/getinfo:
    get:
      tags:
        - Daemon
      summary: Flux daemon info
      description: >-
        Returns an object containing various state info for the Flux daemon.
        **Public**
      operationId: getInfo
      security: []
      x-codeSamples:
        - lang: curl
          source: |
            curl -X GET "https://api.runonflux.io/daemon/getinfo"
        - lang: JavaScript
          source: >
            const response = await
            fetch('https://api.runonflux.io/daemon/getinfo');

            const daemonInfo = await response.json();

            console.log('Daemon version:', daemonInfo.data.version);

            console.log('Block count:', daemonInfo.data.blocks);
        - lang: Python
          source: |
            import requests

            response = requests.get('https://api.runonflux.io/daemon/getinfo')
            daemon_info = response.json()

            print(f"Daemon version: {daemon_info['data']['version']}")
            print(f"Block count: {daemon_info['data']['blocks']}")
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/daemongetinfo'
              example:
                status: success
                data:
                  version: 6010050
                  protocolversion: 170018
                  walletversion: 60000
                  balance: 0
                  blocks: 1414803
                  timeoffset: 0
                  connections: 33
                  proxy: ''
                  difficulty: 32885.83869788643
                  testnet: false
                  keypoololdest: 1646279801
                  keypoolsize: 101
                  paytxfee: 0
                  relayfee: 0.000001
                  errors: ''
        '500':
          $ref: '#/components/responses/InternalServerError'
        '503':
          description: Daemon unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableError'
              example:
                status: error
                data:
                  name: DaemonUnavailable
                  message: Flux daemon is not running or not responding
                  code: DAEMON_UNAVAILABLE
  /daemon/getfluxnodestatus:
    get:
      tags:
        - Daemon
      summary: Flux node status
      description: Returns an object containing various state of the Flux node. **Public**
      operationId: getFluxNodeStatus
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/fluxnodestatus'
              example:
                status: success
                data:
                  status: CONFIRMED
                  collateral: >-
                    COutPoint(5179622de68fac4c052c0ce1affeaa3faaf4624d7332f769f3fc5c42560455b6,
                    0)
                  txhash: >-
                    5179622de68fac4c052c0ce1affeaa3faaf4624d7332f769f3fc5c42560455b6
                  outidx: 0
                  ip: 144.91.114.167
                  network: ipv4
                  added_height: 572386
                  confirmed_height: 572389
                  last_confirmed_height: 586403
                  last_paid_height: 586319
                  tier: NIMMBUS
                  payment_address: t1h7HLNYNmG6mZF8WC6BRLHqCib8hMqP3XC
                  pubkey: >-
                    0485c289e6df683ac2af0ce514260a20cc5a631336fee6bbcb897694134c5a5ad2a5d918f99d70a60c0cb30c705a8c5440f1cbca08e6d3f037320f40751c50555c
                  activesince: 1586334448
                  lastpaid: 1588014482
                  amount: 12500
  /daemon/listfluxnodes:
    get:
      tags:
        - Daemon
      summary: Flux node list
      description: Gets a ranked list of Flux nodes. **Public**
      operationId: listFluxNodes
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        collateral:
                          type: string
                          description: Collateral txid and output index
                        ip:
                          type: string
                          description: Ip address of Flux server
                        network:
                          type: string
                          description: Network type
                        added_height:
                          type: integer
                          description: Block height Flux node was added to list
                        confirmed_height:
                          type: integer
                          description: Block height Flux node was confirmed by the network
                        last_confirmed_height:
                          type: integer
                          description: Latest block height network confirmed the Flux node
                        last_paid_height:
                          type: integer
                          description: Block the Flux node was last paid
                        tier:
                          type: string
                          description: Tier of Flux node
                        payment_address:
                          type: string
                          description: Address where rewards are paid
                        activesince:
                          type: string
                          description: Active time of Flux node in epoch
                        lastpaid:
                          type: string
                          description: Last paid time in epoch
                        amount:
                          type: string
                          description: Locked collateral amount
                        rank:
                          type: integer
                          description: Rank of Flux node
              example:
                status: success
                data:
                  - collateral: >-
                      COutPoint(826d37f13065e87f77ce1667e035b30933f78462274062aa7e76f249b6ab59db,
                      0)
                    ip: 95.216.236.190
                    network: ipv4
                    added_height: 562050
                    confirmed_height: 562053
                    last_confirmed_height: 588205
                    last_paid_height: 587939
                    tier: CUMULUS
                    payment_address: t1KrT6iKh384mQHwfAPcEFm3U7yFKwhmHbo
                    pubkey: >-
                      0439e8b34e799e620b13bca67c6c32682e43f97e67dd777256f50255e36a98bfcf8c2ce4298b0504d3ac6b20bfd2807d425b71f78992e555eacd57fbd8d2aed637
                    activesince: '1585083381'
                    lastpaid: '1588210538'
                    amount: '1000.00'
                    rank: 0
                  - collateral: >-
                      COutPoint(3798162c2b60906a9feff0efa38b57444f3749bebe397cba4edd495b929ed9b5,
                      0)
                    ip: 77.55.194.135
                    network: ipv4
                    added_height: 587653
                    confirmed_height: 587669
                    last_confirmed_height: 588184
                    last_paid_height: 587940
                    tier: CUMULUS
                    payment_address: t1QEA6PepP2wS3Lg6gZDiFzRB6PfxWLYeK5
                    pubkey: >-
                      042ebcb3a94fe66b9ded6e456871346d6984502bbadf14ed07644e0eb91f8cc0b1f07632c428e1e6793f372d9c303d680de80ae0499d51095676cabf68599e9591
                    activesince: '1588175897'
                    lastpaid: '1588210563'
                    amount: '1000.00'
                    rank: 1
                  - collateral: >-
                      COutPoint(a375169d97fcafac46f673045dfa0a78dd78e6bc6db181df18bf39dbe03926a4,
                      0)
                    ip: 96.52.90.87
                    network: ipv4
                    added_height: 572579
                    confirmed_height: 572581
                    last_confirmed_height: 588198
                    last_paid_height: 587986
                    tier: NIMMBUS
                    payment_address: t1a4J5u9rjrgVZLwRPSy7VPNoVVkeErNErk
                    pubkey: >-
                      04a8cf2dd605884e793068e91a6444c573d5f6253643cfb1a2575c94487434cfdba20f115bceb5a96d87ad85aa7099076ba4435d97a9cc8cde6330c649dec1fe4e
                    activesince: '1586358287'
                    lastpaid: '1588216950'
                    amount: '12500.00'
                    rank: 0
                  - collateral: >-
                      COutPoint(381d29a87b96e82253b3f9581618777469f854ae740b6a785c61867aa6f71e60,
                      0)
                    ip: 207.180.253.144
                    network: ipv4
                    added_height: 585797
                    confirmed_height: 585799
                    last_confirmed_height: 588206
                    last_paid_height: 587988
                    tier: NIMMBUS
                    payment_address: t1ZvKaPfgXJsY1DkYJ5gKwtjKFUkZcuQB2U
                    pubkey: >-
                      044a4faa023fccadfd4b59b888c7690e77f1f2dd613e6cab0b26a25ec152cf2adc16274aa970559d816cdca6730012b5f5a7067dac0fa918d69a44162ab4d4cacf
                    activesince: '1587952571'
                    lastpaid: '1588217098'
                    amount: '12500.00'
                    rank: 1
                  - collateral: >-
                      COutPoint(1a2c265b7d1d93941c4d551e61c90cc14482579835a4924e1e169339317bbef9,\
                      0)
                    ip: 47.22.47.186
                    added_height: 582736
                    confirmed_height: 582738
                    last_confirmed_height: 588198
                    last_paid_height: 588034
                    tier: STRATUS
                    payment_address: t1bNJrZ9JwWwvroT7YUJUSDfMQ2r21vZppe
                    pubkey: >-
                      041d289318b6e1cc32045d57f896f3c8c3fbbc336be077f3f492d42ab1c391326d843b8ee609feb859bb88d6524b8c25fe6eed958ef4b59f408e759f0458046a1d
                    activesince: '1587582537'
                    lastpaid: '1588222759'
                    amount: '40000.00'
                    rank: 0
  /daemon/viewdeterministicfluxnodelist:
    get:
      tags:
        - Daemon
      summary: Deterministic FluxNode list
      description: View deterministic list of FluxNodes by rank. **Public**
      operationId: viewDeterministicFluxNodeList
      security: []
      parameters:
        - in: query
          name: filter
          schema:
            type: string
          description: >-
            Accepts both viewdeterministicfluxnodelist/filter and
            ?filter=193.188.15.238. Filter query will filter list by ,txhash,
            payment address, ip, or pubkey. If ommited, full list will be
            displayed.
          example: 193.188.15.238
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        collateral:
                          type: string
                          description: Collateral txid and output index
                        txhash:
                          type: string
                          description: Transaction id
                        outidx:
                          type: integer
                          description: Output index
                        ip:
                          type: string
                          description: Ip address of FluxNode server
                        network:
                          type: string
                          description: Network type (IPv4, IPv6, onion)
                        added_height:
                          type: integer
                          description: Block height FluxNode was added to list
                        confirmed_height:
                          type: integer
                          description: Block height FluxNode was confirmed by the network
                        last_confirmed_height:
                          type: integer
                          description: Latest block height network confirmed the FluxNode
                        last_paid_height:
                          type: integer
                          description: Block the FluxNode was last paid
                        tier:
                          type: string
                          description: Tier of FluxNode
                        payment_address:
                          type: string
                          description: Address where rewards are paid
                        pubkey:
                          type: string
                          description: Fluxnode public key used for message broadcasting
                        activesince:
                          type: string
                          description: Active time of FluxNode in epoch
                        lastpaid:
                          type: string
                          description: Last paid time in epoch
                        amount:
                          type: string
                          description: Amount of collateral
                        rank:
                          type: integer
                          description: Rank of FluxNode
              example:
                status: success
                data:
                  - collateral: >-
                      COutPoint(436d3450affca4dd78a3755f816eb7d46f922dd430e0046b94f26ce88c008e79,
                      0)
                    txhash: >-
                      436d3450affca4dd78a3755f816eb7d46f922dd430e0046b94f26ce88c008e79
                    outidx: 0
                    ip: 77.55.210.97
                    network: ipv4
                    added_height: 562050
                    confirmed_height: 562053
                    last_confirmed_height: 588205
                    last_paid_height: 587939
                    tier: CUMULUS
                    payment_address: t1ZhnnTVUfgwKbmtFvmYtSb1xwPpSdJmzaY
                    pubkey: >-
                      043249d5fc0517976c8eeaaf96ce306c00687cea677be0181cdddaf8f8e044119f13258083fb0a8e98afdf57994331cd1e71958ce63b7b2d0a2dda0e095bd2a2de
                    activesince: '1585083381'
                    lastpaid: '1588210538'
                    amount: '1000.00'
                    rank: 0
                  - collateral: >-
                      COutPoint(62e0f589a36b9d009f060bcb062a9baf0a44ed3cb5fb4ba68fb5e8d1c6a76ed3,
                      0)
                    txhash: >-
                      62e0f589a36b9d009f060bcb062a9baf0a44ed3cb5fb4ba68fb5e8d1c6a76ed3
                    outidx: 0
                    ip: 207.180.238.133
                    network: ipv4
                    added_height: 587653
                    confirmed_height: 587669
                    last_confirmed_height: 588184
                    last_paid_height: 587940
                    tier: CUMULUS
                    payment_address: t1WWAUFtKyytFzuXpn3Rzc6fGFndzD6xWLK
                    pubkey: >-
                      0450331d67221677cdca27c7cce40c52d3f3aae1c71a3dbf0c7322a7739bb42855246a9ab3a0b4280f20a6ebb3bf4dcc2a2290b74e533560d9c64014d8937bd1bb
                    activesince: '1588175897'
                    lastpaid: '1588210563'
                    amount: '1000.00'
                    rank: 1
                  - collateral: >-
                      COutPoint(b81456f6cb28cab6bb7c715a26cb40dbe841e9d14bf47aadbf7a50fb8a32f7f4,
                      0)
                    txhash: >-
                      b81456f6cb28cab6bb7c715a26cb40dbe841e9d14bf47aadbf7a50fb8a32f7f4
                    outidx: 0
                    ip: 49.12.41.242
                    network: ipv4
                    added_height: 572579
                    confirmed_height: 572581
                    last_confirmed_height: 588198
                    last_paid_height: 587986
                    tier: NIMMBUS
                    payment_address: t1Wz3D8rTRB3xZi8WE8efgMzRwHhpg8dAWF
                    pubkey: >-
                      04e993a952569ecd6eb26eac7abdb699ca8e3f1debeaf544ef85b3c5838b74d7b30e196e917cb6e2008b2dcb9e42cafc4c93ccafb2888faea26b2e3a1a343f469a
                    activesince: '1586358287'
                    lastpaid: '1588216950'
                    amount: '12500.00'
                    rank: 0
                  - collateral: >-
                      COutPoint(db8d6440f834f773561025c7327620bb1770df185ec506323f084c436eb9fca7,
                      0)
                    txhash: >-
                      db8d6440f834f773561025c7327620bb1770df185ec506323f084c436eb9fca7
                    outidx: 0
                    ip: 62.171.183.202
                    network: ipv4
                    added_height: 585797
                    confirmed_height: 585799
                    last_confirmed_height: 588206
                    last_paid_height: 587988
                    tier: NIMMBUS
                    payment_address: t1bXEnPZ22LRtd8WCmmKZAF2gxqaAxWysTb
                    pubkey: >-
                      04bfdff6a29281e057f10c2162db0ba98f70133fc45ccfa3cd8440a1ddc0ae30172b81f73b098cfdfe5f413a361dc422a03a31066413850ba418f3f8a2df65a4e1
                    activesince: '1587952571'
                    lastpaid: '1588217098'
                    amount: '12500.00'
                    rank: 1
                  - collateral: >-
                      COutPoint(8dcdf431d67c54872dcbbbfe205df8d95bdf8d0c277f617ded10ff74d9242878,
                      0)
                    txhash: >-
                      8dcdf431d67c54872dcbbbfe205df8d95bdf8d0c277f617ded10ff74d9242878
                    outidx: 0
                    ip: 188.239.61.210
                    network: ipv4
                    added_height: 582736
                    confirmed_height: 582738
                    last_confirmed_height: 588198
                    last_paid_height: 588034
                    tier: STRATUS
                    payment_address: t1ZPnohxvacmT8VaJqRyZyMkvzERddQMttk
                    pubkey: >-
                      0418588b950297e955f7cc211c4d32f4f976433e8f1d4e2f2f0c4a1efd0e7a3b5167f27a0ad92ceedfa5b40862d929934a5d453f1268ee36b6ec22a7e921883454
                    activesince: '1587582537'
                    lastpaid: '1588222759'
                    amount: '40000.00'
                    rank: 0
  /daemon/getfluxnodecount:
    get:
      tags:
        - Daemon
      summary: Flux node count
      description: >-
        Returns a count of FluxNodes and enabled FluxNodes categorized by tiers.
        **Public**
      operationId: getFluxNodeCount
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      total:
                        type: number
                        description: Total number of Flux nodes
                      stable:
                        type: number
                        description: Number of stable Flux nodes
                      basic-enabled:
                        type: number
                        description: Basic Flux node count
                      super-enabled:
                        type: number
                        description: Super Flux node count
                      bamf-enabled:
                        type: number
                        description: Bamf Flux node count
                      ipv4:
                        type: number
                        description: Flux nodes on ipv4
                      ipv6:
                        type: number
                        description: Flux nodes on ipv6
                      onion:
                        type: string
                        description: Flux nodes on tor
              example:
                status: success
                data:
                  total: 692
                  stable: 692
                  basic-enabled: 293
                  super-enabled: 231
                  bamf-enabled: 174
                  ipv4: 692
                  ipv6: 0
                  onion: 0
  /daemon/getdoslist:
    get:
      tags:
        - Daemon
      summary: FluxNode DOS list
      description: Get a list of all fluxnodes in the DOS list. **Public**
      operationId: getDOSList
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        collateral:
                          type: string
                          description: Collateral transaction hash
                        added_height:
                          type: integer
                          description: >-
                            Height the fluxnode start transaction was added to
                            the chain
                        payment_address:
                          type: string
                          description: The payment address associated with the fluxnode
                        eligible_in:
                          type: integer
                          description: >-
                            The amount of blocks before the fluxnode is eligible
                            to be started again
                        amount:
                          type: string
                          description: >-
                            The amount of collateral associated with the
                            fluxnode
              example:
                status: success
                data:
                  - collateral: >-
                      COutPoint(44bb3ad5ca975ff57f8b2488786bfb72115ee648e1a06d77aa5fd6bfc388cbba,
                      0)
                    added_height: 644302
                    payment_address: t1LJAkTUAHcJZ535mqJmFwHtMTrEaQBSNf1
                    eligible_in: 35
                    amount: '1000.00'
  /daemon/getstartlist:
    get:
      tags:
        - Daemon
      summary: FluxNode start list
      description: Get a list of all Fluxnodes in the start list. **Public**
      operationId: getStartList
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        collateral:
                          type: string
                          description: Collateral transaction hash
                        added_height:
                          type: integer
                          description: >-
                            Height the fluxnode start transaction was added to
                            the chain
                        payment_address:
                          type: string
                          description: The payment address associated with the fluxnode
                        expires_in:
                          type: integer
                          description: >-
                            The amount of blocks before the start transaction
                            expires, unless a confirmation transaction is added
                            to a block
                        amount:
                          type: string
                          description: >-
                            The amount of collateral associated with the
                            fluxnode
              example:
                status: success
                data:
                  - collateral: >-
                      COutPoint(631eba8bc39c2e6165607e385ad55aa0b3d69991624c3e7292aa2f2e3d4e86e0,
                      0)
                    added_height: 684078
                    payment_address: t1TosdpcFNWAaJ8kNmc1LNWbVKh6ob4Tvri
                    eligible_in: 9
                    amount: '1000.00'
  /daemon/fluxnodecurrentwinner:
    get:
      tags:
        - Daemon
      summary: Current list of winners
      description: Gets a list of current FluxNode winners. **Public**
      operationId: FluxNodeCurrentWinner
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      CUMULUS Winner:
                        type: object
                        properties:
                          collateral:
                            type: string
                            description: Collateral txid and output index of FluxNode
                          ip:
                            type: string
                            description: Ip address of FluxNode
                          added_height:
                            type: integer
                            description: Block height FluxNode was added
                          confirmed_height:
                            type: integer
                            description: Block height FluxNode was confirmed
                          last_confirmed_height:
                            type: integer
                            description: Block height FluxNode was last confirmed
                          last_paid_height:
                            type: integer
                            description: Block height FluxNode was last paid
                          tier:
                            type: string
                            description: FluxNode tier
                          payment_address:
                            type: string
                            description: Payment address
                      NIMMBUS Winner:
                        type: object
                        properties:
                          collateral:
                            type: string
                            description: Collateral txid and output index of FluxNode
                          ip:
                            type: string
                            description: Ip address of FluxNode
                          added_height:
                            type: integer
                            description: Block height FluxNode was added
                          confirmed_height:
                            type: integer
                            description: Block height FluxNode was confirmed
                          last_confirmed_height:
                            type: integer
                            description: Block height FluxNode was last confirmed
                          last_paid_height:
                            type: integer
                            description: Block height FluxNode was last paid
                          tier:
                            type: string
                            description: FluxNode tier
                          payment_address:
                            type: string
                            description: Payment address
                      STRATUS Winner:
                        type: object
                        properties:
                          collateral:
                            type: string
                            description: Collateral txid and output index of FluxNode
                          ip:
                            type: string
                            description: Ip address of FluxNode
                          added_height:
                            type: integer
                            description: Block height FluxNode was added
                          confirmed_height:
                            type: integer
                            description: Block height FluxNode was confirmed
                          last_confirmed_height:
                            type: integer
                            description: Block height FluxNode was last confirmed
                          last_paid_height:
                            type: integer
                            description: Block height FluxNode was last paid
                          tier:
                            type: string
                            description: FluxNode tier
                          payment_address:
                            type: string
                            description: Payment address
              example:
                status: success
                data:
                  CUMULUS Winner:
                    collateral: >-
                      COutPoint(5e6fdf0a56de71c3fcaf4091097d8feea7b3e1f966e334b7ea234a616813f934,
                      0)
                    ip: 66.119.15.218
                    added_height: 589025
                    confirmed_height: 589026
                    last_confirmed_height: 590742
                    last_paid_height: 590489
                    tier: CUMULUS
                    payment_address: t1VLEe6iBNGGicyiqQNzGWsZ6Z6pNZZrTyq
                  NIMMBUS Winner:
                    collateral: >-
                      COutPoint(4da9b0320ab1a1e94662471732b722667cd68a25d5db72f18572e36f63452872,
                      0)
                    ip: 85.23.158.111
                    added_height: 585221
                    confirmed_height: 585222
                    last_confirmed_height: 590742
                    last_paid_height: 590538
                    tier: NIMMBUS
                    payment_address: t1WdrzqRR4gh73mPJpN3PDB9a9ZFiatP9tp
                  STRATUS Winner:
                    collateral: >-
                      COutPoint(7f69bbb001f27177d2b60b99e3dbe3d95b82b69b8d82a21b9829ddc27af2be01,
                      0)
                    ip: 193.188.15.153
                    added_height: 587646
                    confirmed_height: 587649
                    last_confirmed_height: 590742
                    last_paid_height: 590594
                    tier: STRATUS
                    payment_address: t1dDaoT2WDv5M5gTdx7CzLgXEQSEeqVkryw
  /daemon/getbestblockhash:
    get:
      tags:
        - Daemon
      summary: Block hash of tip on longest chain
      description: >-
        Returns the hash of the best (tip) block in the longest block chain.
        **Public**
      operationId: getBestBlockHash
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Block hash
              example:
                status: success
                data: >-
                  00000045ee2d11311976f420b0d753dc7a6e2800a36cf07f6ec1572699737ab6
  /daemon/getblock:
    get:
      tags:
        - Daemon
      summary: Get block data
      description: >-
        Gets block data using block height or block hash you specify to get info
        for with verbosity option. **Public**
      operationId: getBlock
      security: []
      parameters:
        - in: query
          name: hashheight
          required: true
          schema:
            type: integer
          description: Block hash or height
          example: 588530
        - in: query
          name: verbosity
          schema:
            type: integer
            enum:
              - 0
              - 1
              - 2
            default: 1
          description: >-
            If verbosity is 0, returns a string that is serialized, hex-encoded
            data for the block. If verbosity is 1, returns an Object with
            information about the block. If verbosity is 2, returns an Object
            with information about the block and information about each
            transaction. Response example shown is using the default value of 1.
          example: 1
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      hash:
                        type: string
                        description: The block hash
                      confirmations:
                        type: string
                        description: The number of confirmations or -1 if on wrong chain
                      size:
                        type: integer
                        description: The block size
                      height:
                        type: integer
                        description: The block height or index
                      version:
                        type: integer
                        description: The block version
                      merkleroot:
                        type: string
                        description: The merkle root
                      finalsaplingroot:
                        type: string
                        description: >-
                          The root of the Sapling commitment tree after applying
                          this block
                      tx:
                        type: array
                        items:
                          type: string
                          description: The transaction id's
                      time:
                        type: integer
                        description: The block time in seconds since epoch (Jan 1 1970 GMT)
                      nonce:
                        type: string
                        description: The nonce
                      solution:
                        type: string
                        description: The solution
                      bits:
                        type: string
                        description: The bits
                      difficulty:
                        type: number
                        description: The difficulty
                      chainwork:
                        type: string
                        description: The chainwork
                      anchor:
                        type: string
                        description: Merkle root of note commitment tree
                      valuePools:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              description: Protocol name of pool(sprout,sapling)
                            monitored:
                              type: boolean
                              description: Status of pool monitor
                            chainValue:
                              type: number
                              description: Pool value of FLUX
                            chainValueZat:
                              type: integer
                              description: Pool value of FLUX
                            valueDelta:
                              type: integer
                              description: Delta value
                            valueDeltaZat:
                              type: integer
                              description: Delta value
                      previousblockhash:
                        type: string
                        description: The hash of the previous block
                      nextblockhash:
                        type: string
                        description: The hash of the next block
              example:
                status: success
                data:
                  hash: >-
                    0000008ac60c223e8f7d7ea458264ec308135bde7515ee1440a824ea76610b2d
                  confirmations: 3
                  size: 1891
                  height: 588530
                  version: 4
                  merkleroot: >-
                    28f7e9d0c29bf5fa404b28e1e6c2228d7e8f9a672d24dc9c9882dabd8fd47714
                  finalsaplingroot: >-
                    5144b7dcffa9a72d774e376baa38001d0f1dd760e435902b7af2f72461532c6d
                  tx:
                    - >-
                      1ed830027683e98c5670981ee983860485fce5132f30d9b6e8e248789c52c55d
                    - >-
                      4e90720727aa79d29870447c1f15f9bd40058b7096eb66d4b9de8c6e945975bb
                  time: 1588282383
                  nonce: >-
                    0229f5cc00000000000000000000000000000000000000000000000040060000
                  solution: >-
                    1b01d5b42dce5c5fea7f4a591c812d36ac938bcaf035bed4dc6328b8de555c4b0a5b3657d0ae1d5807e828b5e5e5a6dd057d0493
                  bits: 1e00c837
                  difficulty: 2618.622027119306
                  chainwork: >-
                    000000000000000000000000000000000000000000000000000029a0d2a05a8e
                  anchor: >-
                    e9585c5a63103a1dffea87286f28b0c649a9b481aa150ef4bb309a7e9d76b34e
                  valuePools:
                    - id: sprout
                      monitored: true
                      chainValue: 266554.25222433
                      chainValueZat: 26655425222433
                      valueDelta: 0
                      valueDeltaZat: 0
                    - id: sapling
                      monitored: true
                      chainValue: 2018046.78899491
                      chainValueZat: 201804678899491
                      valueDelta: -0.01711468
                      valueDeltaZat: -1711468
                  previousblockhash: >-
                    00000057e8ef2fc394594f1f37d6f5ef7cc2ab4f2af3b6b3eaa14adb9310950b
                  nextblockhash: >-
                    000000196832b58171a331e684f5c3df019632749a3219bfb57569d0f7601a30
  /daemon/getblockchaininfo:
    get:
      tags:
        - Daemon
      summary: Blockchain info
      description: >-
        Returns an object containing various state info regarding block chain
        processing. Note that when the chain tip is at the last block before a
        network upgrade activation, consensus.chaintip != consensus.nextblock.
        **Public**
      operationId: getBlockchainInfo
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      chain:
                        type: string
                        description: >-
                          Current network name as defined in BIP70 (main, test,
                          regtest)
                      blocks:
                        type: integer
                        description: The current number of blocks processed in the server
                      headers:
                        type: integer
                        description: The current number of headers we have validated
                      bestblockhash:
                        type: string
                        description: The hash of the currently best block
                      difficulty:
                        type: number
                        description: The current difficulty
                      verificationprogress:
                        type: number
                        description: Estimate of verification progress
                      chainwork:
                        type: string
                        description: Total amount of work in active chain, in hexadecimal
                      pruned:
                        type: boolean
                        description: True if chain has been pruned
                      size_on_disk:
                        type: integer
                        description: The estimated size of the block and undo files on disk
                      commitments:
                        type: integer
                        description: Number of commitments
                      valuePools:
                        type: array
                        items:
                          properties:
                            id:
                              type: string
                              description: Name of pool
                            monitored:
                              type: boolean
                              description: Monitor status
                            chainValue:
                              type: number
                              description: Value of FLUX
                            chainValueZat:
                              type: integer
                              description: Value of FLUX
                      softforks:
                        type: array
                        items:
                          properties:
                            id:
                              type: string
                              description: Name of softfork
                            version:
                              type: integer
                              description: Block version
                            enforce:
                              type: object
                              properties:
                                status:
                                  type: boolean
                                  description: True if threshold reached
                                found:
                                  type: integer
                                  description: Number of blocks with the new version found
                                required:
                                  type: integer
                                  description: Number of blocks required to trigger
                                window:
                                  type: integer
                                  description: >-
                                    Maximum size of examined window of recent
                                    blocks
                            reject:
                              type: object
                              properties:
                                status:
                                  type: boolean
                                  description: True if threshold reached
                                found:
                                  type: integer
                                  description: Number of blocks with the new version found
                                required:
                                  type: integer
                                  description: Number of blocks required to trigger
                                window:
                                  type: integer
                                  description: >-
                                    Maximum size of examined window of recent
                                    blocks
                      upgrades:
                        type: object
                        properties:
                          76b809bb:
                            type: object
                            properties:
                              name:
                                type: string
                                description: Name of upgrade
                              activationheight:
                                type: integer
                                description: Activation block height
                              status:
                                type: string
                                description: Status of upgrade
                              info:
                                type: string
                                description: Additional info of upgrade
                      consensus:
                        type: object
                        properties:
                          chaintip:
                            type: string
                            description: Branch ID used to validate the current chain tip
                          nextblock:
                            type: string
                            description: >-
                              Branch ID that the next block will be validated
                              under
              example:
                status: success
                data:
                  chain: main
                  blocks: 590788
                  headers: 590788
                  bestblockhash: >-
                    0000007c586f90cbba2ba9b8708bd9e7982ad1e7feb61a196312e1cc9510972f
                  difficulty: 2864.222620571916
                  verificationprogress: 0.9999987778641473
                  chainwork: >-
                    000000000000000000000000000000000000000000000000000029ac8cd1cf8c
                  pruned: false
                  size_on_disk: 3398677218
                  commitments: 809048
                  valuePools:
                    - id: sprout
                      monitored: true
                      chainValue: 266554.25222433
                      chainValueZat: 26655425222433
                    - id: sapling
                      monitored: true
                      chainValue: 2020907.82312995
                      chainValueZat: 202090782312995
                  softforks:
                    - id: bip34
                      version: 2
                      enforce:
                        status: true
                        found: 4000
                        required: 750
                        window: 4000
                      reject:
                        status: true
                        found: 4000
                        required: 950
                        window: 4000
                    - id: bip66
                      version: 3
                      enforce:
                        status: true
                        found: 4000
                        required: 750
                        window: 4000
                      reject:
                        status: true
                        found: 4000
                        required: 950
                        window: 4000
                    - id: bip65
                      version: 4
                      enforce:
                        status: true
                        found: 4000
                        required: 750
                        window: 4000
                      reject:
                        status: true
                        found: 4000
                        required: 950
                        window: 4000
                  upgrades:
                    76b809bb:
                      name: Halving
                      activationheight: 1076532
                      status: active
                      info: Flux Halving
                  consensus:
                    chaintip: 76b809bb
                    nextblock: 76b809bb
  /daemon/getblockcount:
    get:
      tags:
        - Daemon
      summary: Current block count
      description: Returns the number of blocks in the best valid block chain. **Public**
      operationId: getBlockCount
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: integer
                    description: Block count
              example:
                status: success
                data: 1410823
  /daemon/getblockdeltas:
    get:
      tags:
        - Daemon
      summary: Get block deltas data
      description: Returns data of block deltas. **Public**
      operationId: getblockdeltas
      security: []
      parameters:
        - in: query
          name: hash
          required: true
          schema:
            type: string
          description: Block hash
          example: 000000234b617194f3faff69ee62f0dde0115f2007c3b42e38eaba80c786a5e5
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    description: Block deltas information
              example:
                status: success
                data:
                  hash: >-
                    000000234b617194f3faff69ee62f0dde0115f2007c3b42e38eaba80c786a5e5
                  confirmations: 861038
                  size: 23461
                  height: 590823
                  version: 4
                  merkleroot: >-
                    61d6664cb4e3575d4362f922316712fe647555c313ab6c4625bb368a93b40cf6
                  deltas:
                    - txid: >-
                        b8b7693c667f9bbfbd813894750ac9253d8adf55337dacea90d3a4c4082e0651
                      index: 0
                      inputs: []
                      outputs:
                        - address: t1fMvBXaLzC9i6YKYnD3VCUZN2oifSsCZkx
                          satoshis: 11100011000
                          index: 0
                        - address: t1PCxVydF7W4qqsJtNZmY4mGjifTDZLS5Pn
                          satoshis: 562500000
                          index: 1
                        - address: t1frSzhh5TiWpfdZHcmr1ZVe2Eq29CWjbjN
                          satoshis: 937500000
                          index: 2
                        - address: t1LaCpfmHx15cdpnhMh3tFHrey9eJyzfy9J
                          satoshis: 2250000000
                          index: 3
                        - address: t1bdh6sfstXmVhZJrvtD2eSw4GBLKNw1qj8
                          satoshis: 150000000
                          index: 4
                    - txid: >-
                        b82351bf0f579a3300878f6b11ba5a81b228c3605d66e7a0c57ccba4a1d4f117
                      index: 1
                      inputs:
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 0
                          prevtxid: >-
                            68329b05ef6a0ecac53f8dc172eea3c90be95654b344f04285b54a48b34f5900
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 1
                          prevtxid: >-
                            74b3e32fa7fd17ab6f37385293d78e031763106653036524993136069bb43905
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 2
                          prevtxid: >-
                            6190156195143119297cc2117d93cee1bcb40c66885db98151aa9159bec32307
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 3
                          prevtxid: >-
                            264f0b84b3f368c8199587c9017dfe4a4912a4a96f687e9e35a19fb6023c2a07
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 4
                          prevtxid: >-
                            04bf8b553c4897b48785ad76ceef8c6f6b1f5eaff6a50211df04fa5637266507
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 5
                          prevtxid: >-
                            dc23490d91a6d21819e4c4aa3eb4787bd506cbd1eb3fdce9f49cc2b1e25f1d09
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 6
                          prevtxid: >-
                            32349482da76f33a07dcf77f05214eda28864b0bb7fc3243ae66b08c95278d0a
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 7
                          prevtxid: >-
                            9811de062b884d2902dd9c3cfb1c2ccc3ae46131f23cd52fb2ffaf321c9ea30a
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 8
                          prevtxid: >-
                            917632c0a7c4f9b7131401cb6c1882063365f467ea972225e0090795d90c370e
                          prevout: 1
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 9
                          prevtxid: >-
                            c53705604881fe73da298c405ce41f74de31f17f4e98b78af8cc0f7ca69b4c10
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 10
                          prevtxid: >-
                            203a0ce6c83503b9c359aeccdbc48e109b25f03dcd6983acaefaafb422341712
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 11
                          prevtxid: >-
                            c3e4c3bb33f1c697a864af7f8ecb74d1a316bee0ccc39c8cf46c9ae561ad7c13
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 12
                          prevtxid: >-
                            b75b442636e5c5ee71edb7fd060b81d444d188e51fc04641a2e439c21784df14
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 13
                          prevtxid: >-
                            cea8e7955a4772f07a8c56e5cb6dd39547dbbf7a9fbcbaab5e6a6ada4ec08f16
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 14
                          prevtxid: >-
                            00551ad93ffe901250457e0a63729c1167771b23c6ab978b97fa0e27674c3a19
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 15
                          prevtxid: >-
                            ffe23d6383224f48dd5aa8c984e71abf8c70034c667255beb45eab5d2ea00823
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 16
                          prevtxid: >-
                            dd48d754664a5bece0d1b95df84ba5fe1f0057339b21a1d85f9f4d439715c524
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 17
                          prevtxid: >-
                            1609739b6231751f71225434026926b267b794100eb4da8c8bb0988398006d26
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 18
                          prevtxid: >-
                            bc8be8a4d023fe4751ab9db92f29cc6551fb72730ca703f028a2b5f1e38d0b29
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 19
                          prevtxid: >-
                            dfed73ecad925061d775f3ad4cefb5b1cc709d263efc4f519363b2055d3a462a
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 20
                          prevtxid: >-
                            dbc34e6af3cf12743bb74b1f4e0a2f11b9f84b844a80b0867aa293f3c6de762a
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 21
                          prevtxid: >-
                            fcf21266ddc20cf693fe88154eedaf52c3b8a96560f6d43dae8d0a39f2fd632d
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 22
                          prevtxid: >-
                            731320bac92bd36679a217b45afe7677eb546ca79c4b91d8fdc0149e1690542f
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 23
                          prevtxid: >-
                            7acfd073c3cefddb2221aa6870af0a0628d097a05bdcc10fecb03ec992ee6930
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 24
                          prevtxid: >-
                            b97bb189a8caf5646df5f96ab97cb69af759ff2a4b36fd4406d67e895aa88831
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 25
                          prevtxid: >-
                            463e2d4103784a7a97f58e6f758e588abeeb01a96bba0a4cbde0cc64f02d2332
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 26
                          prevtxid: >-
                            a635c16672fd90080ade2c8c6c94f4aa83933bb94ce7c915883957064f5db132
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 27
                          prevtxid: >-
                            909f0686d3f8c0efc9660bc829618aa46a47c1829a2d9787e8b9cb1ed0324633
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 28
                          prevtxid: >-
                            f29019e76826227983374183ec8d8f2361c420fef5e753cb4314e2c16a5ab734
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 29
                          prevtxid: >-
                            5c019c098309a323822dbcf79804d3c4ab27761b1b73af0092f69c81e86ec234
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 30
                          prevtxid: >-
                            fe5992dc1d6c3d4181faa16efc3004a3d81a9d9817da83b0288429607111a73b
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 31
                          prevtxid: >-
                            1ad63237e5b707260830372b68f4cdfba9b3377a85cabbef33e92907e2d7cf3e
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 32
                          prevtxid: >-
                            308ce26fed61cbc0e90c5f8967b897dee21fddfc5f13ba62d69833ee9e0d1a40
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 33
                          prevtxid: >-
                            f1458b6d5595e8bdadd66e9c90c1dc0c14e97b2f5fd1bcf4f5b91370d0e6e442
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 34
                          prevtxid: >-
                            a6673a84de23dcf6fa49afa989cadedac86db887479d6e9ca1ff0ef8f4c5e243
                          prevout: 1
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 35
                          prevtxid: >-
                            f3c505a7ca00bf36bdd146877a08a1b2362203029eefab351f789d71c1fb5947
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 36
                          prevtxid: >-
                            2a7405dc72421211dc343edb8b32bbff3f81ec558ea9165d40c2ef43a47c7b4c
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 37
                          prevtxid: >-
                            15f1b54b25a8dc541622f66ac523dfe5b57803899ab9b57be86dcb7906e2c14d
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 38
                          prevtxid: >-
                            6b2af13923f8d4a43563ec87f5f3064dec56b31c4f59832c29ecc9351f1a574e
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 39
                          prevtxid: >-
                            94736fcc556cfd74a7b1d239740d170c07a42eee5de4425e61de341fca62ee4e
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 40
                          prevtxid: >-
                            ef41b9360978da2d72e692bb593564f8fb428639a9c77a95736294ea220a374f
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 41
                          prevtxid: >-
                            973e8b215140ce4d1c89e69fcc8a303698654641db3f7b9e92ced4d9c66ee054
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 42
                          prevtxid: >-
                            010a2ddaa60607cd82f2e92e7471c18cb1c8ee2bf2ce520ca0c6204ca7ae7c59
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 43
                          prevtxid: >-
                            c7d670324f9f2fa7bfc49cb3f24f785dd73940a2545aa90b0b9a98bb78a33e5c
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 44
                          prevtxid: >-
                            4cbf610288e3c7b773e7ee5852337ec1bea0b66d21447303f575bfd11bfc765c
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 45
                          prevtxid: >-
                            205ae014f1becd352e82ad05ca014aa0de2252635aa0338e52c0cf9176e13160
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 46
                          prevtxid: >-
                            519cccafd7105e90b6b3f1cbb8d7a01c321203914b6afae4484f3fd7ddc53b60
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 47
                          prevtxid: >-
                            5c5a4bbfced49a6a6946203497db3cecce025743b8f6a4252436787b3242f965
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 48
                          prevtxid: >-
                            8ceba4d4aace6ad6ec0d69c72a117314df3d22b41c69c0c4de2680e916bd3866
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 49
                          prevtxid: >-
                            5229c9f33de85ec37ab7fc0605f2db7afaa173036948e12b9e023c20aae6256f
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 50
                          prevtxid: >-
                            f3a973eb99c26de436a81d2ff4714b6614067b1290d97675b38edca47b91e571
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 51
                          prevtxid: >-
                            3fef77a58335857350ac5aa9ac12f77e11300d3ef1b281bd36f0d90f67ba5b72
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 52
                          prevtxid: >-
                            8cf05e22b8432f96d170c575d2d0d4d980678085e2cf6b6019856e00baadf572
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 53
                          prevtxid: >-
                            0c7cd11d614d05f5eff48d9fcc24726a8be833fa8a7b9c53012628c15188d473
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 54
                          prevtxid: >-
                            5f7eba6b3de93273c29e224d07abd324f2db37b33b046225fd39b6748b019674
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 55
                          prevtxid: >-
                            eb316ed163c9a36b87223ffe2cf3ce817573b1fcaf99468428c8bd43c01cb779
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 56
                          prevtxid: >-
                            c1df516de5ea35d75e53d597d142d56c7c0e0fbde2ad6bbf5f58402642d4477a
                          prevout: 1
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 57
                          prevtxid: >-
                            8cf5018925f2d37e537dae83849b78198085117545b7d626de7354f71e1ec17a
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 58
                          prevtxid: >-
                            381e53986aff4aba609f3dcfa0b32a9fdbac4f8b635afb4fa5d22968ce3ac97d
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 59
                          prevtxid: >-
                            dcce0155aa0ae56a98bbc090c9f94e978eaff0bfcb5955d8a221e160c96dfb7e
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 60
                          prevtxid: >-
                            69e2beda071dc3d035e29a8c64dc30c8d0d6f1d57b0794714481ce73914c5d80
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 61
                          prevtxid: >-
                            bfcd1c75f2c606d8e4174055228ff35a7d245bf1c3a99ccf1977f6ecaa231782
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 62
                          prevtxid: >-
                            d381d1f0caf6e7773b85604628d5774d1221e876565506b7742a0f1a6c88c582
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 63
                          prevtxid: >-
                            a5a86f133ac49336227bdf7d29d4da4f91f2c504a05d2b1020988cbc81d55886
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 64
                          prevtxid: >-
                            25807684599c04ffa13aa59df1e00a31961be66e76cceee39e3d568b53401c88
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 65
                          prevtxid: >-
                            9d17a29800556375e8db0c11c090ced3153a4e53ab8101f8db0f0c0287f4e088
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 66
                          prevtxid: >-
                            be37bf9a9ac4569aa83e722d9d29e4b13b86c9b8e1c184b33a5482a932bbc78b
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 67
                          prevtxid: >-
                            c1ac1125ac90a221f988e93c880fc1c1a4ef271adbd5e914d356577a72591d8c
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 68
                          prevtxid: >-
                            a3851e2819566da37e3ffd4e6adc47634985660394ac6bc7e13c0edb8e56388c
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 69
                          prevtxid: >-
                            8ac14569bb75c4008bf3478a7a0ec1b387b578eca52ab70e4a5b5039a0d0348e
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 70
                          prevtxid: >-
                            165201561d1d52d12d785d3a09333ae7ea859baff55185d15f8ade8e0955728f
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 71
                          prevtxid: >-
                            e665bd27510d9240f674ad7d6a6e9422e5534d3ad4079623ae938da523a98a8f
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 72
                          prevtxid: >-
                            9663f7871d2ba5c50862a505b87dc66583880737975700e72d33a4a9711ffb8f
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 73
                          prevtxid: >-
                            0ea3d0d861d52555caa20d87472b6da32827ad8f40474277127f21a49aaf9490
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 74
                          prevtxid: >-
                            3f710f0a6f3b8fa6707a458accc7526ed1fc03762acebd7965d9290b4d143291
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 75
                          prevtxid: >-
                            4271c24a96962ecfe71ae5163be82e33ef57fe6bab113a2fafe2e2a7015b4c92
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 76
                          prevtxid: >-
                            de5d4a8a947787f47cf27a26797573dc899cdc7634e8f102616b452beca8e892
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 77
                          prevtxid: >-
                            611dd75d1f2a81569f21028283ff1b3dd865376cafff30ccde56375f2264b793
                          prevout: 1
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 78
                          prevtxid: >-
                            1b36777dffd7e1afefa0a03b4879cfabc8e3f3cab7c27f8ed87af816d7e92194
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 79
                          prevtxid: >-
                            851b66d51e32d29aa44f4df4ac7ba8b241e8889bed28ba68e1637ebc2585c194
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 80
                          prevtxid: >-
                            7b660c6b87247052652abb5b2b7810c4119a9b559824cec3d405a2fbba2fe99c
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 81
                          prevtxid: >-
                            e06d870352e059b478f374b794d1a8f5930c4d589a4983d2efc5e78ac7fcff9c
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 82
                          prevtxid: >-
                            3a182659a8efb0e86dd9e60e4fa3395fa337248c7ee4301553784595d1b3999d
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 83
                          prevtxid: >-
                            3960ab90c369d6fb45d90f2763235b0f0cfc953ce2ecd77c888f4ef05c5daf9d
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 84
                          prevtxid: >-
                            e85184cdc43723094c1b23ad3c595a161bd8cab981762786462e664ea3679da8
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 85
                          prevtxid: >-
                            e3aca715d67454c8410c5659fb1966a8f14530a37f406331168d7f581194caad
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 86
                          prevtxid: >-
                            08733cb51854888e901b13bb0941ebc56a2ee7c1ed259e45c8e54c203f99e8af
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 87
                          prevtxid: >-
                            b95a719fdf71d1d1f47c823d9a669344f6a7c117032e60350519279cf457fdaf
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 88
                          prevtxid: >-
                            52db6f174b5a424acd042c7efdcaee1d5608119855d69b567c0772d67bc029b0
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 89
                          prevtxid: >-
                            00bc38bcfb09fb26c632a2e3105845d8a2053bf22120c4e517f08d3d5b4c85b5
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 90
                          prevtxid: >-
                            589307060fd9bae994b110b20c6b5f5bb11ad52bb09f0e149482ec907a31d8b5
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 91
                          prevtxid: >-
                            2571bd66474a396f66549fcee9cd9a578bc3217632e13bd76336d43a9fa826b7
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 92
                          prevtxid: >-
                            ba1985dce84aa7c605a2c6459ce9286744c789606ef1cb8c41e4c475dc5b99b8
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 93
                          prevtxid: >-
                            6cac2506d5133ed78d668310ed725ba02187e8f55d864308794ff42e934df3ba
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 94
                          prevtxid: >-
                            cc9b71b5455d9d0bfbfc4d1209f8f9346d93847fed46da6ac458c086e01478c1
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 95
                          prevtxid: >-
                            f9795fbcd30a9cc6a40a007af64b03177d3a492ef7639182eaa3ad3871807ac1
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 96
                          prevtxid: >-
                            2228cef5eba9c574792de18a52b1bd6de6b7d34bf67a414b8153578e43f528c3
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 97
                          prevtxid: >-
                            1ba3d7308440d5af1c3ab6f70a2eaf3745cbf48275856537d49a78c5e32023c4
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 98
                          prevtxid: >-
                            8b5f789e8c2eb9cb3320f7550011552bee865b6a64bd374b55b2774ef5e765c4
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 99
                          prevtxid: >-
                            a1cff603c80695f27370062ab55be5f2b7579faa44f38504531a3eb37b9e15c5
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 100
                          prevtxid: >-
                            a11db96ce2c072b5f8c7711a075cb485a2dbdfa98f0a3db1e96b90e6d5538ec6
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 101
                          prevtxid: >-
                            d031ab964b86f78a2a022a0299bc4dd90a49cdbf3d7b2cb4c0dd56f55b465cc7
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 102
                          prevtxid: >-
                            94cde88ab4946cacc4afcd36629c42fc486fdb5730aa67b26cfff2014de4fdc7
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 103
                          prevtxid: >-
                            e12f88a5cca277d986d8315e4fb2e5b2b0eaf54beb317660c3a667cad992cac9
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 104
                          prevtxid: >-
                            7759fba3edfa77d799cf6731820d76cb5a73724f778fa4910d77649a52fb69ca
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 105
                          prevtxid: >-
                            0402647402f39d89d90c00b3202afe5cbcb69acebb4a677a193336ebc48dd6cf
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 106
                          prevtxid: >-
                            0ec2e08d1e7b043361180382caa6e820740cd50d89f415f0ef9bf6d18b357cd0
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 107
                          prevtxid: >-
                            9d781390ccdc9c6b1031cb000f220ecb0f0e571ea357062ae1ac99c3049a7ed0
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 108
                          prevtxid: >-
                            c2f16ae9bda641aac36ff103015dd115be30c7b20020dcf286f3758a16f1aed0
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 109
                          prevtxid: >-
                            3c6642139a2fb7f563c90ce978424322701a19ea152b9fdca80ba3556752e0d0
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 110
                          prevtxid: >-
                            aa17f9e86859078c54049109626a1fb595e032006fac0d45f8f721980004f7d4
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 111
                          prevtxid: >-
                            df7a375f69dbd416e83c96b8ed392fb941cdbc5f6948350fd85d56a4899b48d9
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 112
                          prevtxid: >-
                            997b5044382ebfd34e6984308da297880e7a1611c48591d0c116f9dcb6c9f6dc
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 113
                          prevtxid: >-
                            b83de450f63f4f9a21ee38c8553fb599ca177c1c414ce654460f19ba44ce1ade
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 114
                          prevtxid: >-
                            65a45dee417addd493e66a055267d6026aaa53798525afd0c06f7b59044c5fdf
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 115
                          prevtxid: >-
                            e76c6885d9d3e2adf5c9630c4ec6a358204da2edb3c1b3c289bd5d3a459612e0
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 116
                          prevtxid: >-
                            2fdcb71679b9ac4b7961b24c2ee1c5ac853319481fe6e7d126f10f3d75c61ce0
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 117
                          prevtxid: >-
                            72505e5c7b467c064520df692d76dbafffa20a865549d10db758d38d61d590e0
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 118
                          prevtxid: >-
                            ee669de4d85e550e345324174b2721770b7e482cb30de0149dad6c1b2acf7ee1
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 119
                          prevtxid: >-
                            d62ee3ec7041c36ddf315e5db15ad8f062780f1ec5f0327cc982c713febb0be2
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 120
                          prevtxid: >-
                            ef799b7dddd324b927e09c0842927694299dda438342c2effd3834c0b3b4f3e2
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 121
                          prevtxid: >-
                            b55749d5afc1c13cd8638ec50a1dc88ce6f5e58b77cbfbf3645e165d06a5ffe4
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 122
                          prevtxid: >-
                            cff19794e000ed502fd2e7bbfe9f6fc985612f49baf6728d2ff9e793eb2087e5
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 123
                          prevtxid: >-
                            32344a74f124f15dfd2004d79366a2afe3846616af4c2e1f358ba8dc005c8be7
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 124
                          prevtxid: >-
                            0a321fedb3a0d4ae26e2481bf50fe5091ab727a4095d834ccda5e9b6149f9be7
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 125
                          prevtxid: >-
                            f5aeb28b5ae6fb1a6190ed4d936594dce6fa3182d777aec2607da4ead53bb0e7
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 126
                          prevtxid: >-
                            25d02aecd4ed9d10af14ae2c536f18e493c53d293cee3b38e2d217298d6084eb
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 127
                          prevtxid: >-
                            7a96b4bdad80cefbfb7ef23036c92aa5d233379678ca27a4e347718c931e02ec
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 128
                          prevtxid: >-
                            ed7e97e1d29f224442a296f51a5081bef017a08736c172e9d611bf50cdf721ee
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 129
                          prevtxid: >-
                            7c60317c79beeef35f504ccf76b9fc6927aec3212f954008beb04e69e5dfcbf2
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 130
                          prevtxid: >-
                            d32d63cd19ea296d6a1a00537a23dd478d907b8d03a6282d8bd180f6bd86dff4
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 131
                          prevtxid: >-
                            6b9b9a3ac6c923690c31a2bc4b67ec2f87a7b78e8278fc38d64e09b00c353ff7
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 132
                          prevtxid: >-
                            d7e025178a5b347dd763682251cd7a5b05ecdf8f151239fb7e952e47a44adcf7
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 133
                          prevtxid: >-
                            5382b29982274c449490bce310b4e116f8d9860a944127527d47a6c45d683af8
                          prevout: 1
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 134
                          prevtxid: >-
                            51148c9dbb87107a94caadd3456e77e3361cf6aa609e3cc8b5636804d442c6f8
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 135
                          prevtxid: >-
                            e94654e1054029bc53c9b02d61d9cc0a79ef8c113e7c38f317cd29b308863ef9
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 136
                          prevtxid: >-
                            ac1adb65f3a9c468a21ed89e549108022e08104be1cd01e6d0b4fd986b5198fb
                          prevout: 2
                        - address: t1Pebir9xZYvNAvvkxXtN1sCBTBQndC4W2X
                          satoshis: -937500000
                          index: 137
                          prevtxid: >-
                            134691b265aebb495325338dd3ff4f82543907fe779cbb327ec3d08228289efc
                          prevout: 2
                        - address: t1MUY12dtkH2gq7ed35QTtFJdNa7Jo6NjU8
                          satoshis: -937500000
                          index: 138
                          prevtxid: >-
                            dead2bbe148516b73fe780c35a762496d7ed321bafbe989fed35813b2b91affc
                          prevout: 2
                      outputs: []
                    - txid: >-
                        f62116d4ea25d0785ffcdd84fb0a207955455a4c5a875b2e0601c1021dc17fcc
                      index: 2
                      inputs: []
                      outputs:
                        - address: t1KMNXV72S1HNfUHCUXVTQG5FmHtqtfcZV7
                          satoshis: 11099028048
                          index: 0
                  time: 1588559331
                  mediantime: 1588558714
                  nonce: >-
                    0000015f00000000000000000f00000000000000000000000000000091060078
                  bits: 1e00bb4f
                  difficulty: 2799.054701674626
                  chainwork: >-
                    000000000000000000000000000000000000000000000000000029acbb5b0dc9
                  previousblockhash: >-
                    00000099767337bdf22bdbb7354509a9ed760298facbdcd40339b96590f85e26
                  nextblockhash: >-
                    0000009370f976e1d8be1634d291832039803836e951804e965af9066e18bde7
  /daemon/getblockhash:
    get:
      tags:
        - Daemon
      summary: Get block's hash
      description: Returns hash of block in best-block-chain at index provided. **Public**
      operationId: getBlockHash
      security: []
      parameters:
        - in: query
          name: index
          required: true
          schema:
            type: number
          description: Block number to get hash of
          example: 590823
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Block hash
              example:
                status: success
                data: >-
                  000000234b617194f3faff69ee62f0dde0115f2007c3b42e38eaba80c786a5e5
  /daemon/getblockheader:
    get:
      tags:
        - Daemon
      summary: Block header info
      description: Returns an Object with information about blockheader. **Public**
      operationId: getBlockHeader
      security: []
      parameters:
        - in: query
          name: hash
          required: true
          schema:
            type: string
          description: Block hash to get header info from
          example: 000000234b617194f3faff69ee62f0dde0115f2007c3b42e38eaba80c786a5e5
        - in: query
          name: verbose
          schema:
            default: true
            type: boolean
            enum:
              - true
              - false
          description: |
            If verbose is false, returns a string that is serialized,
            hex-encoded data for blockheader 'hash'. If verbose is true, returns
            an Object with information about blockheader hash.


            Example:

            - `hash`=`<block hash>`&`verbose`=`true`
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      hash:
                        type: string
                        description: Block hash
                      confirmations:
                        type: integer
                        description: Number of confirmations
                      height:
                        type: integer
                        description: Block height
                      version:
                        type: integer
                        description: Block version
                      merkleroot:
                        type: string
                        description: The merkle root
                      finalsaplingroot:
                        type: string
                        description: >-
                          The root of the Sapling commitment tree after applying
                          this block
                      time:
                        type: integer
                        description: The block time in seconds since epoch (Jan 1 1970 GMT)
                      nonce:
                        type: string
                        description: The nonce
                      solution:
                        type: string
                        description: The solution
                      bits:
                        type: string
                        description: The bits
                      difficulty:
                        type: number
                        description: The difficulty
                      chainwork:
                        type: string
                        description: Chainwork hash
                      previousblockhash:
                        type: string
                        description: Hash of previous block
                      nextblockhash:
                        type: string
                        description: Hash of next block
              example:
                status: success
                data:
                  hash: >-
                    000000234b617194f3faff69ee62f0dde0115f2007c3b42e38eaba80c786a5e5
                  confirmations: 9
                  height: 590823
                  version: 4
                  merkleroot: >-
                    61d6664cb4e3575d4362f922316712fe647555c313ab6c4625bb368a93b40cf6
                  finalsaplingroot: >-
                    6cb83efd5da7b16b4ef0adf1ae285f96f9d95cd1becfc81421f77b12c56902d5
                  time: 1588559331
                  nonce: >-
                    0000015f00000000000000000f00000000000000000000000000000091060078
                  solution: >-
                    0633eb663b294a0dfc52d5b0d395e1f227397a8bdcdf9f8e1d5a0b3031f95d9a85c2854e6abdba5f9f972456b73a2ab62ee01d02
                  bits: 1e00bb4f
                  difficulty: 2799.054701674626
                  chainwork: >-
                    000000000000000000000000000000000000000000000000000029acbb5b0dc9
                  previousblockhash: >-
                    00000099767337bdf22bdbb7354509a9ed760298facbdcd40339b96590f85e26
                  nextblockhash: >-
                    0000009370f976e1d8be1634d291832039803836e951804e965af9066e18bde7
  /daemon/getchaintips:
    get:
      tags:
        - Daemon
      summary: List of known chain tips
      description: >-
        Return information about all known tips in the block tree, including the
        main chain as well as orphaned branches. **Public**
      operationId: getChainTips
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        height:
                          type: integer
                          description: Height of chain tip
                        hash:
                          type: string
                          description: Block hash of the tip
                        branchlen:
                          type: integer
                          description: >-
                            Length of branch connecting the tip to the main
                            chain (0 if main chain)
                        status:
                          type: string
                          description: Status of the chain
              example:
                status: success
                data:
                  - height: 591079
                    hash: >-
                      0000006d4467655a996e7c6a4023fc6f99010a5474cf87eb08995cb66ca65312
                    branchlen: 0
                    status: active
                  - height: 591062
                    hash: >-
                      000000aa6b44b3403e5623810c8193d87155444174841f7fc4b40256929eff1e
                    branchlen: 1
                    status: valid-fork
                  - height: 590420
                    hash: >-
                      0000002ee3a1bd1b4dcfbc6c025d133f325c6c8015cad3b9996df3c319162422
                    branchlen: 1
                    status: headers-only
                  - height: 590237
                    hash: >-
                      00000053167551792a9e556813a021665c95dc8e41d0e2ee35287cc0df1e9a39
                    branchlen: 1
                    status: valid-headers
                  - height: 573023
                    hash: >-
                      000000015b536301ce9335210590f0ceadc6ae081f2b228639c194cd4b88271d
                    branchlen: 1
                    status: valid-fork
                  - height: 567360
                    hash: >-
                      0000006656a0d8209a5c515f7f8967bb143d951cf8f3fed7c03d3cb0244e47ae
                    branchlen: 1
                    status: valid-fork
                  - height: 566803
                    hash: >-
                      0000001efb8e3485a385c12d1820645053082bf429413601deeb551d30be2786
                    branchlen: 1
                    status: valid-fork
                  - height: 559010
                    hash: >-
                      0000022ce968281284e2a503ce201ad55a8523d1f61f6309d84c917814ce382d
                    branchlen: 19
                    status: headers-only
                  - height: 449023
                    hash: >-
                      0000005df6591ba59a041a88dfecd7dae6c00d95e210867d8de5d24538f73981
                    branchlen: 1
                    status: valid-fork
                  - height: 448329
                    hash: >-
                      00000042c175d0a58246f367012c429a3e7edc906a9fe75875ed239ef563a38c
                    branchlen: 2
                    status: valid-fork
                  - height: 313888
                    hash: >-
                      00000016c58660e65feac88fbc40dd6ca3f34213de7648df716255fac99d3bff
                    branchlen: 1
                    status: valid-fork
                  - height: 309050
                    hash: >-
                      00000080b9a14c60174620f645f649e1b8bbfb40c2bdbedbf84f3dda7964f334
                    branchlen: 3
                    status: valid-fork
                  - height: 287750
                    hash: >-
                      0000001e50fb6dd3b42f15c18f9b46958eb7a6649e2396c19157cb02cb11098d
                    branchlen: 3
                    status: valid-fork
                  - height: 284893
                    hash: >-
                      0000006557265e2d68a78e5caf427fee238c6e137f4c9124254209a07cbb30b8
                    branchlen: 1
                    status: valid-fork
                  - height: 277682
                    hash: >-
                      000000278ca4049a8136aa4fa1e7a6b9c00b3e68505019d2976d7c66167c5142
                    branchlen: 34
                    status: valid-fork
                  - height: 260586
                    hash: >-
                      00000006bec95249932f478f4db27bed24cf5d9b76c041914408af1392f29be1
                    branchlen: 1
                    status: valid-fork
                  - height: 260179
                    hash: >-
                      00000032788a700fbeef2e6383b424eceafc24a70346efbc2f62ee95cbcc9bfa
                    branchlen: 1
                    status: valid-fork
                  - height: 257167
                    hash: >-
                      000000276fa3e3557e6a0df594c3ea47477dab4626e0aed8c2964c428a1f7c3d
                    branchlen: 1
                    status: valid-fork
                  - height: 257125
                    hash: >-
                      0000004401ccecffe93f175b7c50f29611874e987d3206f005d55569fd3230ca
                    branchlen: 1
                    status: valid-fork
                  - height: 257081
                    hash: >-
                      0000001adc8175b757096f65628f77c9247f82defdb98813ab248e65a1cebc6e
                    branchlen: 1
                    status: valid-fork
                  - height: 254707
                    hash: >-
                      0000003cb3b61f89afa0864c1312ac75a97c3650c2026cda83e08a06c425d0de
                    branchlen: 1
                    status: valid-fork
                  - height: 253887
                    hash: >-
                      0000003a011c3fbb70f4216a14686012d89a2751cbd0c74053f81da91a9293a8
                    branchlen: 1
                    status: valid-fork
                  - height: 250987
                    hash: >-
                      00000007ecfee7a6d3bf783e86c56a251c4bd4cdc0258398b692a8f3fd9dbeed
                    branchlen: 1
                    status: valid-fork
                  - height: 250820
                    hash: >-
                      0000003262698472ae5b39955633527e8c8656e126ff90f94f2cb922cde8a9a0
                    branchlen: 1
                    status: valid-fork
                  - height: 250102
                    hash: >-
                      00000049f03f3402f094eee4c117072915f92fb352e87e0c59309096ebb877aa
                    branchlen: 1
                    status: valid-fork
                  - height: 249084
                    hash: >-
                      00000018432f23446500e0dcf39a02b59b3e8583f30c7329653d166c1deb3e85
                    branchlen: 1
                    status: valid-fork
                  - height: 248591
                    hash: >-
                      0000003d2b53e4899649ec2b259d9b6718cbe0e7d73cd0907b48d8f0b7341c11
                    branchlen: 1
                    status: valid-fork
                  - height: 248394
                    hash: >-
                      0000004445e61be219a7030c06db6c31eda0fa720b95740c1d85456b4dbff45e
                    branchlen: 1
                    status: valid-fork
                  - height: 247501
                    hash: >-
                      000000640166be87a0d70d474389c934972ef0eca75977dae80e27a179fe16fc
                    branchlen: 1
                    status: valid-fork
  /daemon/getdifficulty:
    get:
      tags:
        - Daemon
      summary: Proof of work difficulty
      description: >-
        Returns the proof-of-work difficulty as a multiple of the minimum
        difficulty. **Public**
      operationId: getDifficulty
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: number
                    description: Proof of work difficulty as a multiple
              example:
                status: success
                data: 2572.645186022886
  /daemon/getmempoolinfo:
    get:
      tags:
        - Daemon
      summary: Memory pool info
      description: Returns details on the active state of the TX memory pool. **Public**
      operationId: getMempoolInfo
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      size:
                        type: integer
                        description: Current tx count
                      bytes:
                        type: integer
                        description: Sum of all tx sizes
                      usage:
                        type: integer
                        description: Total memory usage for the mempool
              example:
                status: success
                data:
                  size: 0
                  bytes: 0
                  usage: 0
  /daemon/getrawmempool:
    get:
      tags:
        - Daemon
      summary: Transaction ids in memory pool
      description: >-
        Returns all transaction ids in memory pool as a json array of string.
        **Public**
      operationId: getRawMemPool
      security: []
      parameters:
        - in: query
          name: verbose
          schema:
            default: false
            type: boolean
            enum:
              - true
              - false
          description: |
            True for a json object, false for array of transaction ids.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      txid:
                        type: object
                        properties:
                          size:
                            type: integer
                            description: Transaction size in bytes
                          fee:
                            type: integer
                            description: Transaction fee in FLUX
                          time:
                            type: integer
                            description: >-
                              Local time transaction entered pool in seconds
                              since 1 Jan 1970 GMT
                          height:
                            type: integer
                            description: Block height when transaction entered pool
                          startingpriority:
                            type: integer
                            description: Priority when transaction entered pool
                          currentpriority:
                            type: integer
                            description: Transaction priority now
                          depends:
                            type: array
                            items:
                              type: string
                              description: >-
                                Unconfirmed transactions used as inputs for this
                                transaction
              example:
                status: success
                data:
                  2c2a34b81eeba402270465d3dcc44d41ef31e4bf6cae5cc8e2aeea64d7fce829:
                    size: 4284
                    fee: 0.0001
                    time: 1588593142
                    height: 591102
                    startingpriority: 10000000000000000
                    currentpriority: 10000000000000000
                    depends: []
                  5fbb025ff8a6f632b02545e353e15992e389ccd12dab2771f2d96c53c3e2382a:
                    size: 895
                    fee: 0.0001
                    time: 1588593155
                    height: 591102
                    startingpriority: 10000000000000000
                    currentpriority: 10000000000000000
                    depends: []
                  afc2f6ff2b9a546a3e0c5ba951338043f9866f23ad53622c5cc3b97ae0c89281:
                    size: 198
                    fee: 0.0001
                    time: 1588592875
                    height: 591101
                    startingpriority: 0
                    currentpriority: 0
                    depends: []
                  0e99affa132cfea43ad7f31923a00a4cab1ace5e7343b0e40dad346d94138fb8:
                    size: 198
                    fee: 0.0001
                    time: 1588593142
                    height: 591101
                    startingpriority: 0
                    currentpriority: 0
                    depends: []
                  f2d51d5c678ea6a27670e3552b66adda606a43b57222ab6363ea0d2001c292c9:
                    size: 1189
                    fee: 0.0001
                    time: 1588593018
                    height: 591102
                    startingpriority: 10000000000000000
                    currentpriority: 10000000000000000
                    depends: []
                  5af1b85af6e0e58e1ac00c5a93c51e0a6da927cdf8f9f981159acdf55fb382d2:
                    size: 2611
                    fee: 0.0001
                    time: 1588592924
                    height: 591102
                    startingpriority: 10000000000000000
                    currentpriority: 10000000000000000
                    depends: []
  /daemon/gettxout:
    get:
      tags:
        - Daemon
      summary: Transaction IDs in memory pool
      description: >-
        Returns all transaction ids in memory pool as a json array of string.
        **Public**
      operationId: getTxOut
      security: []
      parameters:
        - in: query
          name: txid
          required: true
          schema:
            type: string
          description: The transaction id
          example: 9e3cdde1b7c92728a1200a988bb046028fe93b9f1e15cc370974f7201d3d3a94
        - in: query
          name: 'n'
          required: true
          schema:
            type: integer
          description: Vout value
          example: 1
        - in: query
          name: includemempool
          schema:
            default: false
            type: boolean
            enum:
              - true
              - false
          description: >
            Whether to include the mempool.


            Example:

            - `txid`=`<transaction id>`&`n`=`<vout
            value>`&`includemempool`=`true`
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      bestblock:
                        type: string
                        description: Block hash
                      confirmations:
                        type: integer
                        description: The number of confirmations
                      value:
                        type: number
                        description: The transaction value in FLUX
                      scriptPubKey:
                        type: object
                        properties:
                          asm:
                            type: string
                            description: Script public key
                          hex:
                            type: string
                            description: Hex
                          reqSigs:
                            type: number
                            description: Number of required signatures
                          type:
                            type: string
                            description: The type, eg pubkeyhash
                          addresses:
                            type: array
                            items:
                              type: string
                      version:
                        type: integer
                        description: The version number
                      coinbase:
                        type: boolean
                        description: Coinbase or not
              example:
                status: success
                data:
                  bestblock: >-
                    0000001dca878efaa3ae059492bd108cd2e53708325f609f21ffb948f8769115
                  confirmations: 9
                  value: 9.375
                  scriptPubkey:
                    asm: >-
                      OP_DUP OP_HASH160 961f695fbc075b7f99f0b45323206930340efc98
                      OP_EQUALVERIFY OP_CHECKSIG
                    hex: 76a914961f695fbc075b7f99f0b45323206930340efc9888ac
                    reqSigs: 1
                    type: pubkeyhash
                    addresses:
                      - t1XZNzdMMDZ4QPRD2a6hHWQ4Mog3HF9mCMp
                  version: 4
                  coinbase: true
  /daemon/gettxoutproof:
    get:
      tags:
        - Daemon
      summary: Hex-encoded proof of transaction
      description: >-
        Returns a hex-encoded proof that "txid" was included in a block.
        **Public**
      operationId: getTxOutProof
      security: []
      parameters:
        - in: query
          name: txids
          required: true
          schema:
            type: string
          description: The transaction id or comma separated list of txids
          example: 9e3cdde1b7c92728a1200a988bb046028fe93b9f1e15cc370974f7201d3d3a94
        - in: query
          name: blockhash
          schema:
            type: string
          description: If specified, looks for txid in the block with this hash
          example: 000000142fc5a382f6db5895faa7e9519721be67560cfd0c2171634d541bc38e
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: >-
                      A string that is a serialized, hex-encoded data for the
                      proof
              example:
                status: success
                data: >-
                  04000000e6f6eb7762f7970a06ad119590ba1882a30e290e3f6837cc64960f1b70000000fde035a9548fe35311b0212323eeeb9844c9ab093b24982d397fd94ab68f68725f44c0da150b3d68af0671dc272b007c4354a03d63298b00ad7700d4b818f70a4d0ab05eaca2001e0001b8750000000000000000000000000000000000000000000000003eae1205340a77b45fde07253220864115fe31c3a77f1e84b358edafad9929200de7c90f8d38878f423f9dc35266b6fd8280e56d3615b988540100000001fde035a9548fe35311b0212323eeeb9844c9ab093b24982d397fd94ab68f68720101
  /daemon/gettxoutsetinfo:
    get:
      tags:
        - Daemon
      summary: Unspent transaction output set info
      description: Returns statistics about the unspent transaction output set. **Public**
      operationId: getTxOutSetInfo
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      height:
                        type: integer
                        description: Current block
                      bestblock:
                        type: string
                        description: Best block hash hex
                      transactions:
                        type: integer
                        description: The number of transactions
                      txouts:
                        type: integer
                        description: The number of output transactions
                      bytes_serialized:
                        type: integer
                        description: The serialized size
                      hash_serialized:
                        type: string
                        description: The serialized hash
                      total_amount:
                        type: number
                        description: The total amount
              example:
                status: success
                data:
                  height: 591140
                  bestblock: >-
                    0000005b43e6418210b25804493880c9834c2ae969bceb53f579282e6e077427
                  transactions: 320076
                  txouts: 2626978
                  bytes_serialized: 80210836
                  hash_serialized: >-
                    151a45f9f10274ebc622877355f6c64a5ae6a8561c186d2028cb32127d3bf093
                  total_amount: 99020653.199865
  /daemon/verifytxoutproof:
    get:
      tags:
        - Daemon
      summary: Verifies a proof
      description: >-
        Verifies that a proof points to a transaction in a block, returning the
        transaction it commits to and throwing an RPC error if the block is not
        in our best chain. **Public**
      operationId: verifyTxOutProof
      security: []
      parameters:
        - in: query
          name: proof
          required: true
          schema:
            type: string
          description: The hex-encoded proof generated by gettxoutproof
          example: >-
            04000000e6f6eb7762f7970a06ad119590ba1882a30e290e3f6837cc64960f1b70000000fde035a9548fe35311b0212323eeeb9844c9ab093b24982d397fd94ab68f68725f44c0da150b3d68af0671dc272b007c4354a03d63298b00ad7700d4b818f70a4d0ab05eaca2001e0001b8750000000000000000000000000000000000000000000000003eae1205340a77b45fde07253220864115fe31c3a77f1e84b358edafad9929200de7c90f8d38878f423f9dc35266b6fd8280e56d3615b988540100000001fde035a9548fe35311b0212323eeeb9844c9ab093b24982d397fd94ab68f68720101
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: string
                      description: Txid
              example:
                status: success
                data:
                  - >-
                    72688fb64ad97f392d98243b09abc94498ebee232321b01153e38f54a935e0fd
  /daemon/getspentinfo:
    get:
      tags:
        - Daemon
      summary: Return spent info
      description: >-
        Return spent info. Transaction ID and index required as parameters.
        **Public**
      operationId: Getspentinfo
      security: []
      parameters:
        - in: query
          name: txid
          required: true
          schema:
            type: string
          description: The transaction id
          example: 9e3cdde1b7c92728a1200a988bb046028fe93b9f1e15cc370974f7201d3d3a94
        - in: query
          name: index
          required: true
          schema:
            type: integer
          description: index
          example: 0
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  txid: >-
                    83d91028a75ddc6ee79153f0c4babe4f13d5fbf2f6160ff861683d7098f1790e
                  index: 1
                  height: 590926
  /daemon/getblocksubsidy:
    get:
      tags:
        - Daemon
      summary: Block reward
      description: >-
        Returns block subsidy reward, taking into account the mining slow start
        of block at index provided. **Public**
      operationId: getBlockSubsidy
      security: []
      parameters:
        - in: query
          name: height
          schema:
            type: string
          description: >-
            The block height. If not provided, defaults to the current height of
            the chain.
          example: 575000
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      miner:
                        type: integer
                        description: The mining reward amount in FLUX
              example:
                status: success
                data:
                  miner: 150
  /daemon/getblocktemplate:
    get:
      tags:
        - Daemon
      summary: Data to construct a block
      description: It returns data needed to construct a block to work on. **Public**
      operationId: getBlockTemplate
      security: []
      parameters:
        - in: query
          name: jsonrequestobject
          description: >
            If the request parameters include a 'mode' key, that is used

            to explicitly select between the default template request or a

            proposal. This must be set to "template" or omitted.


            For the capabilities array of strings the following are the client
            side supported features.

            - `longpoll`

            - `coinbasetxn`

            - `coinbasevalue`

            - `proposal`

            - `serverlist`

            - `workid`
          schema:
            type: object
            properties:
              mode:
                type: string
                description: >-
                  If the request parameters include a 'mode' key, that is used
                  to explicitly select between the default template request or a
                  proposal. This must be set to "template" or omitted.
              capabilities:
                type: array
                items:
                  type: string
                  description: |
                    Client side supported feature.

                    - longpoll
                    - coinbasetxn
                    - coinbasevalue
                    - proposal
                    - serverlist
                    - workid
          example:
            mode: template
            capabilities:
              - proposal
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      capabilities:
                        type: array
                        items:
                          type: string
                      version:
                        type: integer
                        description: Version number
                      previousblockhash:
                        type: string
                        description: Block hash of current highest block
                      finalsaplingroothash:
                        type: string
                        description: Hash of the final sapling root
                      transactions:
                        type: array
                        items:
                          properties:
                            data:
                              type: string
                              description: Transaction data encoded in hexadecimal
                            hash:
                              type: string
                              description: Hash/id encoded in little-endian hexadecimal
                            depends:
                              type: array
                              items:
                                type: integer
                                description: >-
                                  Transactions before this one (by 1-based index
                                  in transaction list) that must be present in
                                  the final block if this one is
                            fee:
                              type: integer
                              description: >-
                                Difference in value between transaction inputs
                                and outputs(in Satoshis); for coinbase
                                transactions, this is a negative number of the
                                collected block fees (ie, not including the
                                block subsidy); if key is not present, fee is
                                unknown and client must not assume there isn't
                                one
                            sigops:
                              type: integer
                              description: >-
                                Total number of SigOps, as counted for purposes
                                of the block limits; if key is not present,
                                sigop count is unknown and clients must not
                                assume there aren't any
                            required:
                              type: boolean
                              description: >-
                                If provided and true, this transaction must be
                                in the final block
                      coinbasetxn:
                        type: object
                        properties:
                          data:
                            type: string
                            description: Transaction data encoded in hexadecimal
                          hash:
                            type: string
                            description: Hash/id encoded in little-endian hexadecimal
                          depends:
                            type: array
                            items:
                              type: integer
                              description: >-
                                Transactions before this one (by 1-based index
                                in transaction list) that must be present in the
                                final block if this one is
                          fee:
                            type: integer
                            description: >-
                              Difference in value between transaction inputs and
                              outputs(in Satoshis); for coinbase transactions,
                              this is a negative number of the collected block
                              fees (ie, not including the block subsidy); if key
                              is not present, fee is unknown and client must not
                              assume there isn't one
                          sigops:
                            type: integer
                            description: >-
                              Total number of SigOps, as counted for purposes of
                              the block limits; if key is not present, sigop
                              count is unknown and clients must not assume there
                              aren't any
                          required:
                            type: boolean
                            description: >-
                              If provided and true, this transaction must be in
                              the final block
                      longpollid:
                        type: string
                        description: Long polling id
                      target:
                        type: string
                        description: The hash target
                      mintime:
                        type: integer
                        description: >-
                          The minimum timestamp appropriate for the next block
                          time in seconds since epoch (Jan 1 1970 GMT)
                      mutable:
                        type: array
                        items:
                          type: string
                          description: >-
                            A way the block template may be changed, e.g. time,
                            transactions, prevblock
                      noncerange:
                        type: string
                        description: A range of valid nonces
                      sigoplimit:
                        type: integer
                        description: Limit of sigops in the blocks
                      sizelimit:
                        type: integer
                        description: Limit of block size
                      curtime:
                        type: integer
                        description: >-
                          Current timestamp in seconds since epoch (Jan 1 1970
                          GMT)
                      bits:
                        type: string
                        description: Compressed target of next block
                      height:
                        type: integer
                        description: The height of the next block
                      basic_fluxnode_address:
                        type: string
                        description: FLUX address
                      basic_fluxnode_payout:
                        type: integer
                        description: Amount
                      super_fluxnode_address:
                        type: string
                        description: FLUX address
                      super_fluxnode_payout:
                        type: integer
                        description: Amount
                      bamf_fluxnode_address:
                        type: string
                        description: FLUX address
                      bamf_fluxnode_payout:
                        type: integer
                        description: Amount
              example:
                status: success
                data:
                  capabilities:
                    - proposal
                  version: 4
                  previousblockhash: >-
                    000000658616bec155572e8f1f8373d32267238f1afaf3b93fdbf71706436417
                  finalsaplingroothash: >-
                    5cd6119b539920ae7b373b85cdcc2299b4701a046e51240dc9258ca0d0a5c918
                  transactions:
                    - data: >-
                        050000000470561a8cf2d80e49eaed6d74782cc0c8a012a1d39a493d021a4ac50efe530a0400000000b068b05e010b68b05e010d39312e3233382e3130352e3330411b79e3112833b65ded5c5bf093a10086297eed5ec132c6627acecccd3368406fa83d9d5b6266639986e5a8670e4b0ae48ee1c4be9e607eaee4d2e8a8ca6815b578411b6f7121b06ae754770f9f9da616ed86ec71215e21ba7f483ebe1be8e49118e2722c8c45c89d751bf9c9c88f35c001a85bd17425b85167e960ca53ddce9cadafa4
                      hash: >-
                        1a4682d42a7c05054ab20f16c07a69cf93c53d790707988a961fc0aa2396d703
                      depends: []
                      fee: 0
                      sigops: 0
                    - data: >-
                        0400008085202f89000170a8464f010000001976a91490ae1d0392cc0d77d8dc7ac22f2161a7fc011f7088ac00000000ee05090058ac464f0100000002c9a84df2ebfaceb5b781b29f5cccd926881f7fdc22a3569eb4e3f52ecb6a91b57e26214c732ebd7ff20e3a3da7a6c71f0a0fea30e7bf7400ea6273f49394e152dbf79084a25447231a1547f55fecacc09adf1e5efed5bb39bfd330f7d43b37397b4dd57a38810248488fbff354be64ca982ffc4aa5a20b0f2be9421b17be6687aa447958c4706f7a38d1b7f4c4a26cfb671f9b755cb70d1a925ebed84051abeb1e421234acbeb78591f11296859d41dcb824e929d15c4062a027f32f396cff3f91d98fc92b776b9640437e6e1ae74fe62ff27fef677a3b8c35a9b398b00eb6fb0f16fe6108c4ced2c8a76f0c760eb3275e9b66fd87605a181ae982688b5d93115315e79e59189ab7abd5f21525f7f89b879fe6d97dcd88937d26970c6b8513ecd6e736148ae3e03fc61f5f651923d5994fac65cf8efe9b44548ebe1431027ed875e4495ddbc2bf8421b5d387fa679692f2e1b4cca70ae06693d7bbf67448ac0fe02f160c52952c5493bc23f56cbac4a5279e72d9d39fea76ea702e1f02476f059ff80f11c1b39f805ddab1705e6e3933b12d85df7d609a785bbc74fc0b8db6447e26214c732ebd7ff20e3a3da7a6c71f0a0fea30e7bf7400ea6273f49394e1528a9a70138419184d99a375e03a2b35d675d571edbbada814c909c2477c808e62d7fb06cfab8d3819e4ffe8270208e13c308796c24c01495b6c3984fb9c65e25a855b41b1c31fb7a5290c8d0532be8e1348f02065c8155f187990fed839812b485fa843776329b833087aeab4c15707ceaa7d1bc798b01fe3560bc6cd1fce303e9469525ce9b058940801c5a710b8f3c4ac6249aa3be797a625efc5ff3c7ac40704f02eadf30e883104f5f4a1e287ecfda2806311fce153dab5122dcf63bc8c075a3a1e7684cabad686bbda1e156f062da0f787ad8a85588688159f0f8c0b7453a005cfe181e8aaf3e28776d1f7f7d5ab0b4e3e2f365f41ef89301c7c6278fc1b929120a3a20ee54fad064ff52b9a152badee46b0ad61370667bd0bb2b3dab34178d6232c12dfcf5f1a3413f0ea74474678b05fe20f3fa9d0bc57fda979dd5e0101dc6ccdc8380ce5db926cd06e2d7a7ccb972923aaec2f54573033c5548d9cc1db9b80d58723b2737685608b08fbc064c78143dc385036a505d2cef5933a45cb45886308fd5b762ee49d448264ef4f7908d79a6528443f0c290aecdcc4da843b6d7f5be18b395fba03d778545df324f06796afc84666ea838c320912aebf9905a13189cfd77002cd8f81d3b0c5fc37078e4e3916e0ed142dd35d0c30fd98bf0cbb9bc359c05c9b940d0724fff4d0a14d86c6d8fa7b76b580d5ead667e252512ab28740d817967aa73e425551d7d68b318d515b86f89c5e471036b8f020ad04de9730af2f07e9b2cf98c1261cfe895a92558971000b3b110055aca51d3cc63dd347b39ca73d415135e608684a685235a10834ac2354ebcf068f56ea6874d8373850e9cd01f25b92735a21a3333dcf89c838a00a1ee2e6023ab3adddce55ecdd69ce7c0ad4deb46be2ac90d35103f1cbf29bb926948728de0a9ccaee62b1657798b178ef4e3c3783f65fc22d464b7572167430c4aeda88a65741c2ed4346e278c092958e2ef4a95a36fb38559962a064b51b8d2a5118f86b2c0af87b9e30bdb59e818a9a4e10c6f5e90610f3ca5d49ab802b73236f8c4c4940b3eb324f891e29dcb52b7774301131ba9cd19c7b3e608688da6828512beeb765022efb33a18d1c06fa72be61d069031e8c9bae91adbfefce323aac658b0a5572d703d938c7ad47ddca2d4139dbd36ab562f6393aff333e556a275d763504360850b7729257f34f3f5a7ec0d2d00a9f923db937a1ea186f1a2aeab93a6f26a642d00aa89ac335a3a67404954f0b967bab5b7168db3b052e29ca37de47fe441ce528ba7d866db6d74a129897d117c5f425098b0c6dd5d6fc95fa70b0de00d6cd0a2e509625cfff8fe8e02f422fbb085536611a203b08415bfc3da6b4cfeea96eddbb1e9ff89d399f5a1172e19a1b67c30c22e3b9d636675ff05b40168b9e6adad1024af37bbc4545689fbe19ecf0c42c33d9c833bb84fdc191399327819e4086c14c99fcbf7d1d4bcf9a17049d50a584c5eaee2ac055a9d907e6c6dcfb71a99714b165a17d244e05fafe75c641941d566200566209bb8dd2ca677997c88253748ba43f8274ed79ba4bc8fd55bd218fff66a8d41e7e1380ee331bbfe8d0f4af30a6078436008a5d9ff677e0e33c3506f406ca4324d2b2dfd1222695dcbd551429833a56952786369c9ff6337f4f98cb74129ab521923d7fa02a19141deef9537a21f2c7d1aa97e6c77e57806eb85780efa659ba2b61c34e041eabf3f4aaece1cd9d652b91b2f4d84217c6ca323591b5de95e145dde6d2d3d07257b426806b009559b900604b3983b5d15cf6fce2372675fb4da3e47fd1578642462afc24d0e7e3bcc810ffb80c20aaa5ade917d988e033e70702016a33628b3ed0d52ad89f09
                      hash: >-
                        16c3b8b299ebe6185fc6a15f73741430a54fe628c33b4b25e84471b0d1dece61
                      depends: []
                      fee: 1000
                      sigops: 1
                  coinbasetxn:
                    data: >-
                      0400008085202f89010000000000000000000000000000000000000000000000000000000000000000ffffffff0503da050900ffffffff0468648d9e020000001976a914e210e47fc7fa4138c1dfd09358428e5421160c3b88aca0118721000000001976a9145bd98eb8a35c8c00cff5f0050ecd6e0ea4de66fd88ac601de137000000001976a9144dfad8f2081b808a2a9f9f16729e0a1fd5c6494b88ac80461c86000000001976a9144e5973f34e5cc452156126b541ca0c9bcaae91e488ac00000000000000000000000000000000000000
                    hash: >-
                      2aafbaa9024d62bb355951c877ca566b3883b182994297d7c581c365e5852702
                    depends: []
                    fee: 1000
                    sigops: 4
                    required: true
                  longpollid: >-
                    000000658616bec155572e8f1f8373d32267238f1afaf3b93fdbf7170643641717961
                  target: >-
                    000000c43b000000000000000000000000000000000000000000000000000000
                  mintime: 1588618940
                  mutable:
                    - time
                    - transactions
                    - prevblock
                  noncerange: 00000000ffffffff
                  sigoplimit: 20000
                  sizelimit: 2000000
                  curtime: 1588619452
                  bits: 1e00c43b
                  height: 591322
                  miner_reward: 11250001000
                  basic_fluxnode_address: t1SFG7xCkwWRP4tXhZrJmq7sWDFBniaNA16
                  basic_fluxnode_payout: 562500000
                  super_fluxnode_address: t1QyvYHuxfw6MQB1nsSvDdBPcsXqWsYKYDr
                  super_fluxnode_payout: 937500000
                  bamf_fluxnode_address: t1R1ssbaVXMZqbG8iwaD57xCS2w92pJefkw
                  bamf_fluxnode_payout: 2250000000
  /daemon/getlocalsolps:
    get:
      tags:
        - Daemon
      summary: Average solutions per second
      description: >-
        Returns the average local solutions per second since this node was
        started. **Public**
      operationId: getLocalSolPs
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: integer
                    description: Average sols per second
              example:
                status: success
                data: 0
  /daemon/getmininginfo:
    get:
      tags:
        - Daemon
      summary: Mining related info
      description: Returns a json object containing mining-related information. **Public**
      operationId: getMiningInfo
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      blocks:
                        type: integer
                        description: The current block
                      currentblocksize:
                        type: integer
                        description: The last block size
                      currentblocktx:
                        type: integer
                        description: The last block transaction
                      difficulty:
                        type: number
                        description: The current difficulty
                      errors:
                        type: string
                        description: Current errors
                      genproclimit:
                        type: integer
                        description: >-
                          The processor limit for generation. -1 if no
                          generation. (see getgenerate or setgenerate calls)
                      localsolps:
                        type: integer
                        description: >-
                          The average local solution rate in Sol/s since this
                          node was started
                      networksolps:
                        type: integer
                        description: The estimated network solution rate in Sol/s
                      networkhashps:
                        type: integer
                        description: The estimated network hash rate in Hash/s
                      pooledtx:
                        type: integer
                        description: The size of the mem pool
                      testnet:
                        type: boolean
                        description: If using testnet or not
                      chain:
                        type: string
                        description: >-
                          Current network name as defined in BIP70 (main, test,
                          regtest)
                      generate:
                        type: boolean
                        description: >-
                          If the generation is on or off (see getgenerate or
                          setgenerate calls
              example:
                status: success
                data:
                  blocks: 591371
                  currentblocksize: 1000
                  currentblocktx: 0
                  difficulty: 3214.481774201274
                  errors: ''
                  genproclimit: -1
                  localsolps: 0
                  networksolps: 188688
                  networkhashps: 188688
                  pooledtx: 78
                  testnet: false
                  chain: main
                  generate: false
  /daemon/getnetworkhashps:
    get:
      tags:
        - Daemon
      summary: Estimated network solutions
      description: >-
        Returns the estimated network solutions per second based on the last n
        blocks. **Public**
      operationId: getNetworkHashPs
      security: []
      parameters:
        - in: query
          name: blocks
          schema:
            default: 120
            type: integer
          description: >-
            The number of blocks, or -1 for blocks over difficulty averaging
            window.
          example: 200
        - in: query
          name: height
          schema:
            default: 1
            type: integer
          description: To estimate at the time of the given height.
          example: 575000
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: integer
                    description: Estimated network solutions per second
              example:
                status: success
                data: 189503
  /daemon/getnetworksolps:
    get:
      tags:
        - Daemon
      summary: Estimated network solutions
      description: >-
        Returns the estimated network solutions per second based on the last n
        blocks. **Public**
      operationId: getNetworkSolPs
      security: []
      parameters:
        - in: query
          name: blocks
          schema:
            default: 120
            type: integer
          description: >-
            The number of blocks, or -1 for blocks over difficulty averaging
            window.
          example: 200
        - in: query
          name: height
          schema:
            default: 1
            type: integer
          description: To estimate at the time of the given height.
          example: 575000
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: integer
                    description: Estimated network solutions per second
              example:
                status: success
                data: 189503
  /daemon/getconnectioncount:
    get:
      tags:
        - Daemon
      summary: Connection count
      description: The peer connection count. **Public**
      operationId: getConnectionCount
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: integer
                    description: Connection count
              example:
                status: success
                data: 22
  /daemon/getdeprecationinfo:
    get:
      tags:
        - Daemon
      summary: Deprecation info
      description: >-
        Returns an object containing current version and deprecation block
        height. Applicable only on mainnet. **Public**
      operationId: getDeprecationInfo
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      version:
                        type: integer
                        description: The server version
                      subversion:
                        type: string
                        description: The server subversion string
                      deprecationheight:
                        type: integer
                        description: >-
                          The block height at which this version will deprecate
                          and shut down
              example:
                status: success
                data:
                  version: 4000150
                  subversion: /MagicBean:4.0.1/
                  deprecationheight: 951040
  /daemon/getnettotals:
    get:
      tags:
        - Daemon
      summary: Network traffic info
      description: >-
        Returns information about network traffic, including bytes in, bytes
        out, and current time. **Public**
      operationId: getNetTotals
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      totalbytesrecv:
                        type: integer
                        description: Total bytes received
                      totalbytessent:
                        type: integer
                        description: Total bytes sent
                      timemillis:
                        type: integer
                        description: Total cpu time
              example:
                status: success
                data:
                  totalbytesrecv: 27003767
                  totalbytessent: 115073751
                  timemillis: 1588626897371
  /daemon/getnetworkinfo:
    get:
      tags:
        - Daemon
      summary: Info regarding P2P network
      description: >-
        Returns an object containing various state info regarding P2P
        networking. **Public**
      operationId: getNetworkInfo
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      version:
                        type: integer
                        description: The server version
                      subversion:
                        type: string
                        description: The server subversion string
                      protocolversion:
                        type: integer
                        description: The protocol version
                      localservices:
                        type: string
                        description: The services we offer to the network
                      timeoffset:
                        type: integer
                        description: The time offset
                      connections:
                        type: integer
                        description: Number of connections
                      networks:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                              description: Network (ipv4, ipv6 or onion)
                            limited:
                              type: boolean
                              description: Is the network limited using -onlynet?
                            reachable:
                              type: boolean
                              description: Is the network reachable?
                            proxy:
                              type: string
                              description: >-
                                The proxy that is used for this network, or
                                empty if none
                            proxy_randomize_credentials:
                              type: boolean
                              description: Does proxy randomize credentials?
                      relayfee:
                        type: number
                        description: Minimum relay fee for non-free transactions in FLUX/kB
                      localaddresses:
                        type: array
                        items:
                          type: object
                          properties:
                            address:
                              type: string
                              description: Network addess
                            port:
                              type: integer
                              description: Network port
                            score:
                              type: integer
                              description: Relative score
                      warnings:
                        type: string
                        description: Any network warnings (such as alert messages)
              example:
                status: success
                data:
                  version: 4000150
                  subversion: /MagicBean:4.0.1/
                  protocolversion: 170016
                  localservices: 5
                  timeoffset: 0
                  connections: 28
                  networks:
                    - name: ipv4
                      limited: false
                      reachable: true
                      proxy: ''
                      proxy_randomize_credentials: false
                    - name: ipv6
                      limited: false
                      reachable: true
                      proxy: ''
                      proxy_randomize_credentials: false
                    - name: onion
                      limited: true
                      reachable: false
                      proxy: ''
                      proxy_randomize_credentials: false
                  relayfee: 0.000001
                  localaddresses:
                    - address: 96.30.196.88
                      port: 16125
                      score: 1433
                  warnings: ''
  /daemon/getpeerinfo:
    get:
      tags:
        - Daemon
      summary: Peer info
      description: >-
        Returns data about each connected network node as a json array of
        objects. **Public**
      operationId: getPeerInfo
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          description: Peer index
                        addr:
                          type: string
                          description: Ip address and port of the peer
                        addrlocal:
                          type: string
                          description: Local address
                        services:
                          type: string
                          description: The services offered
                        lastsend:
                          type: integer
                          description: >-
                            The time in seconds since epoch (Jan 1 1970 GMT) of
                            the last send
                        lastrecv:
                          type: integer
                          description: >-
                            The time in seconds since epoch (Jan 1 1970 GMT) of
                            the last receive
                        bytessent:
                          type: integer
                          description: Total bytes sent
                        bytesrecv:
                          type: integer
                          description: Total bytes recieved
                        conntime:
                          type: integer
                          description: >-
                            The connection time in seconds since epoch (Jan 1
                            1970 GMT)
                        timeoffset:
                          type: integer
                          description: The time offset in seconds
                        pingtime:
                          type: number
                          description: Png time
                        version:
                          type: integer
                          description: The peer version
                        subver:
                          type: string
                          description: The string version
                        inbound:
                          type: boolean
                          description: Inbound (true) or Outbound (false)
                        startingheight:
                          type: integer
                          description: The starting height (block) of the peer
                        banscore:
                          type: integer
                          description: The ban score
                        synced_headers:
                          type: integer
                          description: The last header we have in common with this peer
                        synced_blocks:
                          type: integer
                          description: The last block we have in common with this peer
                        inflight:
                          type: array
                          items:
                            type: integer
                            description: >-
                              The heights of blocks we're currently asking from
                              this peer
                        whitelisted:
                          type: boolean
                          description: Is peer whitelisted?
              example:
                status: success
                data:
                  - id: 741
                    addr: 159.65.254.184:16125
                    addrlocal: 96.30.196.88:46270
                    services: 5
                    lastsend: 1588677108
                    lastrecv: 1588677108
                    bytessent: 1955685
                    bytesrecv: 2801490
                    conntime: 1588497832
                    timeoffset: 0
                    pingtime: 0.019793
                    version: 170016
                    subver: /MagicBean:4.0.1(bitcore)/
                    inbound: false
                    startingheight: 590308
                    banscore: 90
                    synced_headers: 591801
                    synced_blocks: 591801
                    inflight: []
                    whitelisted: false
                  - id: 847
                    addr: 116.203.52.168:16125
                    addrlocal: 96.30.196.88:58594
                    services: 5
                    lastsend: 1588677081
                    lastrecv: 1588677081
                    bytessent: 1281133
                    bytesrecv: 2176814
                    conntime: 1588519342
                    timeoffset: 0
                    pingtime: 0.107897
                    version: 170016
                    subver: /MagicBean:4.0.1(bitcore)/
                    inbound: false
                    startingheight: 590491
                    banscore: 90
                    synced_headers: 591801
                    synced_blocks: 591801
                    inflight: []
                    whitelisted: false
  /daemon/listbanned:
    get:
      tags:
        - Daemon
      summary: Ban list
      description: List all banned IPs/Subnets. **Public**
      operationId: listBanned
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        address:
                          type: string
                          description: Ip/subnet
                        banned_until:
                          type: integer
                          description: The time in seconds since epoch (Jan 1 1970 GMT)
              example:
                status: success
                data:
                  - address: 5.189.130.70/255.255.255.255
                    banned_until: 1588737697
                  - address: 46.4.142.199/255.255.255.255
                    banned_until: 1588474952
                  - address: 62.171.153.25/255.255.255.255
                    banned_until: 1588737698
                  - address: 62.171.166.168/255.255.255.255
                    banned_until: 1588745015
  /daemon/createrawtransaction:
    get:
      tags:
        - Daemon
      summary: Create raw transaction (GET)
      description: Create a raw transaction using path parameters. **Public**
      operationId: createRawTransaction
      security: []
      parameters:
        - name: transactions
          in: query
          required: true
          schema:
            type: string
          description: JSON string of transaction inputs
        - name: addresses
          in: query
          required: true
          schema:
            type: string
          description: JSON string of output addresses and amounts
        - name: locktime
          in: query
          required: false
          schema:
            type: integer
          description: Transaction locktime
        - name: expiryheight
          in: query
          required: false
          schema:
            type: integer
          description: Transaction expiry height
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Raw transaction hex
    post:
      tags:
        - Daemon
      summary: Create hex-encoded raw transaction
      description: >-
        Create a transaction spending the given inputs and sending to the given
        addresses. Returns hex-encoded raw transaction. Note that the
        transaction's inputs are not signed, and it is not stored in the wallet
        or transmitted to the network. **Public**
      operationId: createRawTransactionPost
      security: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                transactions:
                  type: array
                  items:
                    type: object
                    description: Objects pertaining to the transaction
                    properties:
                      txid:
                        type: string
                        description: The transaction id
                      vout:
                        type: integer
                        description: The output index
                      sequence:
                        type: integer
                        description: Sequence number (optional)
                addresses:
                  type: object
                  description: Object with addresses as keys and amounts as values
                locktime:
                  type: integer
                  default: 0
                  description: >-
                    Raw locktime. Non-0 value also locktime-activates inputs.
                    (optional)
                expiryheight:
                  type: string
                  default: Nextblockheight+20
                  description: Expiry height of transaction (optional)
            example:
              transactions:
                - txid: >-
                    224225b04fd54e8653e7cd4440dd4596aab6eff8be8686bacfad9213172da4369f
                  vout: 0
              addresses:
                t1JKRwXGfKTGfPV1z48rvoLyabk31z3xwHa: 112.5
              locktime: 10
              expiryheight: 595000
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Hex string of the transaction
              example:
                status: success
                data: >-
                  0400008085202f89019f36a42d171392adcfba8686bef8efb6aa9645dd4044cde753864ed54fb025420000000000feffffff0180608d9e020000001976a91404e2699cec5f44280540fb752c7660aa3ba857cc88ac01000000fb0809000000000000000000000000
  /daemon/decoderawtransaction:
    post:
      tags:
        - Daemon
      summary: Decoded info of the hex-encoded transaction
      description: >-
        Return a JSON object representing the serialized, hex-encoded
        transaction. **Public**
      operationId: decodeRawTransactionPost
      security: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                hexstring:
                  type: string
                  description: Hex-encoded transaction
            example:
              hexstring: >-
                0400008085202f89019f36a42d171392adcfba8686bef8efb6aa9645dd4044cde753864ed54fb025420000000000feffffff0180608d9e020000001976a91404e2699cec5f44280540fb752c7660aa3ba857cc88ac01000000fb0809000000000000000000000000
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/decoderawtransaction'
              example:
                status: success
                data:
                  txid: >-
                    03c228785451de39ce396c85168c979a439dcb2037f92d0a57de81e6b1c9f3a4
                  version: 4
                  overwintered: true
                  versiongroupid: 892f2085
                  locktime: 1
                  expiryheight: 592123
                  vin:
                    - txid: >-
                        4225b04fd54e8653e7cd4440dd4596aab6eff8be8686bacfad9213172da4369f
                      vout: 0
                      scriptSig:
                        asm: ''
                        hex: ''
                      sequence: 4294967295
                  vout:
                    - value: 112.5001
                      valueZat: 11250010000
                      valueSat: 11250010000
                      'n': 0
                      scriptPubKey:
                        asm: >-
                          OP_DUP OP_HASH160
                          04e2699cec5f44280540fb752c7660aa3ba857cc
                          OP_EQUALVERIFY OP_CHECKSIG
                        hex: 76a91404e2699cec5f44280540fb752c7660aa3ba857cc88ac
                        reqSigs: 1
                        type: pubkeyhash
                        addresses:
                          - t1JKRwXGfKTGfPV1z48rvoLyabk31z3xwHa
                  vJoinSplit: []
                  valueBalance: 0
                  valueBalanceZat: 0
                  vShieldedSpend: []
                  vShieldedOutput: []
    get:
      tags:
        - Daemon
      summary: Decoded info of the hex-encoded transaction
      description: >-
        Return a JSON object representing the serialized, hex-encoded
        transaction. **Public**
      operationId: decodeRawTransaction
      security: []
      parameters:
        - in: query
          name: hexstring
          required: true
          schema:
            type: string
          description: Hex-encoded transaction
          example: >-
            0400008085202f89019f36a42d171392adcfba8686bef8efb6aa9645dd4044cde753864ed54fb025420000000000feffffff0180608d9e020000001976a91404e2699cec5f44280540fb752c7660aa3ba857cc88ac01000000fb0809000000000000000000000000
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/decoderawtransaction'
              example:
                status: success
                data:
                  txid: >-
                    03c228785451de39ce396c85168c979a439dcb2037f92d0a57de81e6b1c9f3a4
                  version: 4
                  overwintered: true
                  versiongroupid: 892f2085
                  locktime: 1
                  expiryheight: 592123
                  vin:
                    - txid: >-
                        4225b04fd54e8653e7cd4440dd4596aab6eff8be8686bacfad9213172da4369f
                      vout: 0
                      scriptSig:
                        asm: ''
                        hex: ''
                      sequence: 4294967295
                  vout:
                    - value: 112.5001
                      valueZat: 11250010000
                      valueSat: 11250010000
                      'n': 0
                      scriptPubKey:
                        asm: >-
                          OP_DUP OP_HASH160
                          04e2699cec5f44280540fb752c7660aa3ba857cc
                          OP_EQUALVERIFY OP_CHECKSIG
                        hex: 76a91404e2699cec5f44280540fb752c7660aa3ba857cc88ac
                        reqSigs: 1
                        type: pubkeyhash
                        addresses:
                          - t1JKRwXGfKTGfPV1z48rvoLyabk31z3xwHa
                  vJoinSplit: []
                  valueBalance: 0
                  valueBalanceZat: 0
                  vShieldedSpend: []
                  vShieldedOutput: []
  /daemon/decodescript:
    post:
      tags:
        - Daemon
      summary: Decode hex script
      description: Decode a hex-encoded script. **Public**
      operationId: decodeScriptPost
      security: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                hex:
                  type: string
                  description: Hex-encoded transaction
            example:
              hex: 76a91404e2699cec5f44280540fb752c7660aa3ba857cc88ac
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/decodescript'
              example:
                status: success
                data:
                  asm: >-
                    OP_DUP OP_HASH160 04e2699cec5f44280540fb752c7660aa3ba857cc
                    OP_EQUALVERIFY OP_CHECKSIG
                  reqSigs: 1
                  type: pubkeyhash
                  addresses:
                    - t1JKRwXGfKTGfPV1z48rvoLyabk31z3xwHa
                  p2sh: t3U9WHvndqz58mHBX168iveW5E4xMdeBkWw
    get:
      tags:
        - Daemon
      summary: Decode hex script
      description: Decode a hex-encoded script. **Public**
      operationId: decodeScript
      security: []
      parameters:
        - in: query
          name: hex
          required: true
          schema:
            type: string
          description: Hex-encoded transaction
          example: 76a91404e2699cec5f44280540fb752c7660aa3ba857cc88ac
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/decodescript'
              example:
                status: success
                data:
                  asm: >-
                    OP_DUP OP_HASH160 04e2699cec5f44280540fb752c7660aa3ba857cc
                    OP_EQUALVERIFY OP_CHECKSIG
                  reqSigs: 1
                  type: pubkeyhash
                  addresses:
                    - t1JKRwXGfKTGfPV1z48rvoLyabk31z3xwHa
                  p2sh: t3U9WHvndqz58mHBX168iveW5E4xMdeBkWw
  /daemon/getrawtransaction:
    get:
      tags:
        - Daemon
      summary: Get raw transaction data
      description: >-
        Gets raw transaction data from the txid, if verbose=0 then only hex data
        of transaction is shown, if verbose=1 then it will return with object of
        info of txid. **Public**
      operationId: getRawTransaction
      security: []
      parameters:
        - in: query
          name: txid
          required: true
          schema:
            type: string
          description: Txid to get raw tx data from
          example: 1ed830027683e98c5670981ee983860485fce5132f30d9b6e8e248789c52c55d
        - in: query
          name: verbose
          schema:
            default: 0
            type: number
          description: >-
            If verbose is not set or at 0 only hex-encoded data for the txid
            will return but if set at 1 it will return an object with info of
            the txid.
          example: 1
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      hex:
                        type: string
                        description: The serialized, hex-encoded data for 'txid'
                      txid:
                        type: string
                        description: The transaction id (same as provided)
                      version:
                        type: number
                        description: The version
                      overwintered:
                        type: boolean
                        description: The Overwintered flag
                      versiongroupid:
                        type: string
                        description: The version group id
                      locktime:
                        type: number
                        description: The lock time
                      expiryheight:
                        type: number
                        description: Last valid block height for mining transaction
                      vin:
                        type: array
                        items:
                          type: object
                          properties:
                            coinbase:
                              type: string
                              description: Coinbase hash
                            sequence:
                              type: number
                              description: The script sequence number
                      vout:
                        $ref: '#/components/schemas/vout'
                      vJoinSplit:
                        $ref: '#/components/schemas/joinsplit'
                      valueBalance:
                        type: number
                        description: The balance value of FLUX
                      valueBalanceZat:
                        type: integer
                        description: The balance value of FLUX
                      vShieldedSpend:
                        $ref: '#/components/schemas/shieldedspend'
                      vShieldedOutput:
                        $ref: '#/components/schemas/shieldedoutput'
                      bindingSig:
                        type: string
                        description: Binding signature
                      blockhash:
                        type: string
                        description: The block hash
                      height:
                        type: integer
                        description: Block height
                      confirmations:
                        type: integer
                        description: The confirmations
                      time:
                        type: integer
                        description: >-
                          The transaction time in seconds since epoch (Jan 1
                          1970 GMT)
                      blocktime:
                        type: integer
                        description: The block time in seconds since epoch (Jan 1 1970 GMT)
              example:
                status: success
                data:
                  hex: >-
                    0400008085202f89010000000000000000000000000000000000000000000000000000000000000000ffffffff2003f2fa0800324d696e6572732068747470733a2f2f326d696e6572732e636f6dffffffff0490878d9e020000001976a91404e2699cec5f44280540fb752c7660aa3ba857cc88aca0118721000000001976a914a6886f088ddd5aa3d6027b6d826f912a7ba1c6b788ac601de137000000001976a9145227c99503eae5f10a7373a2b0f385c5cc01459a88ac80461c86000000001976a914c0cf057a7735c07aafb9b3d1ff158a775dffa82e88ac00000000000000000000000000000000000000
                  txid: >-
                    1ed830027683e98c5670981ee983860485fce5132f30d9b6e8e248789c52c55d
                  version: 4
                  overwintered: true
                  versiongroupid: 892f2085
                  locktime: 0
                  expiryheight: 0
                  vin:
                    - coinbase: >-
                        03f2fa0800324d696e6572732068747470733a2f2f326d696e6572732e636f6d
                      sequence: 4294967295
                  vout:
                    - value: 112.5001
                      valueZat: 11250010000
                      valueSat: 11250010000
                      'n': 0
                      scriptPubKey:
                        asm: >-
                          OP_DUP OP_HASH160
                          04e2699cec5f44280540fb752c7660aa3ba857cc
                          OP_EQUALVERIFY OP_CHECKSIG
                        hex: 76a91404e2699cec5f44280540fb752c7660aa3ba857cc88ac
                        reqSigs: 1
                        type: pubkeyhash
                        addresses:
                          - t1JKRwXGfKTGfPV1z48rvoLyabk31z3xwHa
                    - value: 5.625
                      valueZat: 562500000
                      valueSat: 562500000
                      'n': 1
                      scriptPubKey:
                        asm: >-
                          OP_DUP OP_HASH160
                          a6886f088ddd5aa3d6027b6d826f912a7ba1c6b7
                          OP_EQUALVERIFY OP_CHECKSIG
                        hex: 76a914a6886f088ddd5aa3d6027b6d826f912a7ba1c6b788ac
                        reqSigs: 1
                        type: pubkeyhash
                        addresses:
                          - t1Z49cm5Wi5RaojyLopqCpjJpK18RXM1asy
                    - value: 9.375
                      valueZat: 937500000
                      valueSat: 937500000
                      'n': 2
                      scriptPubKey:
                        asm: >-
                          OP_DUP OP_HASH160
                          5227c99503eae5f10a7373a2b0f385c5cc01459a
                          OP_EQUALVERIFY OP_CHECKSIG
                        hex: 76a914c0cf057a7735c07aafb9b3d1ff158a775dffa82e88ac
                        reqSigs: 1
                        type: pubkeyhash
                        addresses:
                          - t1RN15YYt5vZqUoU3PGNCtnY1eDKRUs3pkE
                    - value: 22.5
                      valueZat: 2250000000
                      valueSat: 2250000000
                      'n': 3
                      scriptPubKey:
                        asm: >-
                          OP_DUP OP_HASH160
                          c0cf057a7735c07aafb9b3d1ff158a775dffa82e
                          OP_EQUALVERIFY OP_CHECKSIG
                        hex: 76a914c0cf057a7735c07aafb9b3d1ff158a775dffa82e88ac
                        reqSigs: 1
                        type: pubkeyhash
                        addresses:
                          - t1bT5kGPGLzkwkGxVtC96Toxv3AEm86AbAF
                  vJoinSplit: []
                  valueBalance: 0
                  valueBalanceZat: 0
                  vShieldedSpend: []
                  vShieldedOutput: []
                  blockhash: >-
                    0000008ac60c223e8f7d7ea458264ec308135bde7515ee1440a824ea76610b2d
                  height: 588530
                  confirmations: 403
                  time: 1588282383
                  blocktime: 1588282383
  /daemon/fundrawtransaction:
    post:
      tags:
        - Daemon
      summary: Add inputs to a transaction
      description: >-
        Add inputs to a transaction until it has enough in value to meet its out
        value. This will not modify existing inputs, and will add one change
        output to the outputs. Note that inputs which were signed may need to be
        resigned after completion since in/outputs have been added. The inputs
        added will not be signed, use signrawtransaction for that. **Public**
      operationId: fundRawTransactionPost
      security: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                hex:
                  type: string
                  description: Hex-encoded transaction
            example:
              hexstring: >-
                0400008085202f8901ab719872dfea1b4f594049722a92efafa4695322d2c08654aafe98c6546066360000000000ffffffff0140420f00000000001976a9142e5db3157a9783c6208019323f2c3a02610826a988ac00000000a60a09000000000000000000000000
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/fundrawtransaction'
              example:
                status: success
                data:
                  hex: >-
                    0400008085202f8901ab719872dfea1b4f594049722a92efafa4695322d2c08654aafe98c6546066360000000000ffffffff0240420f00000000001976a9142e5db3157a9783c6208019323f2c3a02610826a988accb9de605000000001976a91496b7e557775f02097632e7f4a4e6157a77ec6a8088ac00000000a60a09000000000000000000000000
                  changepos: 1
                  fee: 0.00000245
    get:
      tags:
        - Daemon
      summary: Add inputs to a transaction
      description: >-
        Add inputs to a transaction until it has enough in value to meet its out
        value. This will not modify existing inputs, and will add one change
        output to the outputs. Note that inputs which were signed may need to be
        resigned after completion since in/outputs have been added. The inputs
        added will not be signed, use signrawtransaction for that. **Public**
      operationId: fundRawTransaction
      security: []
      parameters:
        - in: query
          name: hexstring
          required: true
          schema:
            type: string
          description: Hex string of raw transaction
          example: >-
            0400008085202f8901ab719872dfea1b4f594049722a92efafa4695322d2c08654aafe98c6546066360000000000ffffffff0140420f00000000001976a9142e5db3157a9783c6208019323f2c3a02610826a988ac00000000a60a09000000000000000000000000
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/fundrawtransaction'
              example:
                status: success
                data:
                  hex: >-
                    0400008085202f8901ab719872dfea1b4f594049722a92efafa4695322d2c08654aafe98c6546066360000000000ffffffff0240420f00000000001976a9142e5db3157a9783c6208019323f2c3a02610826a988accb9de605000000001976a91496b7e557775f02097632e7f4a4e6157a77ec6a8088ac00000000a60a09000000000000000000000000
                  changepos: 1
                  fee: 0.00000245
  /daemon/sendrawtransaction:
    post:
      tags:
        - Daemon
      summary: Send raw transaction
      description: >-
        Submits raw transaction (serialized, hex-encoded) to local node and
        network. Also see createrawtransaction and signrawtransaction calls.
        **Public**
      operationId: sendRawTransactionPost
      security: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                hexstring:
                  type: string
                  description: Hex-encoded transaction
                allowhighfees:
                  type: boolean
                  default: false
                  description: Allow high fees (optional)
            example:
              hexstring: >-
                0400008085202f8901ab719872dfea1b4f594049722a92efafa4695322d2c08654aafe98c654606636000000006b483045022100e5f02014419280a5c1ed1f94513e8e2bee83f6341863b304fe093dea897f4aa20220022a6e6004dbf1305197f4053bd9dd59e21abd23a31d0188d079eb72cab84e990121036b6a136ce869a0b400548a9126f06d96181ee974ff1c7f5a5e54e39b7f66be05ffffffff0140420f00000000001976a9142e5db3157a9783c6208019323f2c3a02610826a988ac00000000a60a09000000000000000000000000
              allowhighfees: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: The transaction hash in hex
              example:
                status: success
                data: >-
                  381bfe56a049208ff90356153f024395b7a74b5ec470d639dd7e6ffa4487b2fe
    get:
      tags:
        - Daemon
      summary: Send raw transaction
      description: >-
        Submits raw transaction (serialized, hex-encoded) to local node and
        network. Also see createrawtransaction and signrawtransaction calls.
        **Public**
      operationId: sendRawTransaction
      security: []
      parameters:
        - in: query
          name: hexstring
          required: true
          schema:
            type: string
          description: The hex string of the raw transaction
          example: >-
            0400008085202f8901ab719872dfea1b4f594049722a92efafa4695322d2c08654aafe98c654606636000000006b483045022100e5f02014419280a5c1ed1f94513e8e2bee83f6341863b304fe093dea897f4aa20220022a6e6004dbf1305197f4053bd9dd59e21abd23a31d0188d079eb72cab84e990121036b6a136ce869a0b400548a9126f06d96181ee974ff1c7f5a5e54e39b7f66be05ffffffff0140420f00000000001976a9142e5db3157a9783c6208019323f2c3a02610826a988ac00000000a60a09000000000000000000000000
        - in: query
          name: allowhighfees
          schema:
            default: false
            type: boolean
            enum:
              - true
              - false
          description: |
            Allow high fees.
            - `hexstring`=`<Hex string of raw tx>`&`allowhighfees`=`true`
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: The transaction hash in hex
              example:
                status: success
                data: >-
                  381bfe56a049208ff90356153f024395b7a74b5ec470d639dd7e6ffa4487b2fe
  /daemon/createmultisig:
    post:
      tags:
        - Daemon
      summary: Create multi-sig address
      description: >-
        Creates a multi-signature address with n signature of n keys required.
        **Public**
      operationId: createMultiSigPost
      security: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                'n':
                  type: integer
                  description: >-
                    The number of required signatures out of the n keys or
                    addresses. Followed by Flux addresses in array of strings.
                keys:
                  type: array
                  description: >-
                    Array of keys which are Flux addresses or hex-encoded public
                    keys
                  items:
                    type: string
                    description: Flux address or hex-encoded public key
            example:
              'n': 2
              keys:
                - t1XcXfRFSnSeYmf2mbsMHzHbV8Qo5Zhk817
                - t1RAxsCaeeqB2XbZqvYU87uTMo9K2RtcA9z
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/createmultisig'
              example:
                status: success
                data:
                  address: t3Sia7BaQ6cYYxj31PJWfxhwZwZozNzk9N7
                  redeemScript: >-
                    52210353b1620689dc80w0d9b634616ec8566f80e22fec5edd1c8edf64a8a07babc41f2103450768e972919f7c82ca85d904daf1d3d5beabd25230aca4f363aecfa912457895cd
    get:
      tags:
        - Daemon
      summary: Create multi-sig address
      description: >-
        Creates a multi-signature address with n signature of n keys required.
        **Public**
      operationId: createMultiSig
      security: []
      parameters:
        - in: query
          name: 'n'
          required: true
          schema:
            type: integer
          description: >-
            The number of required signatures out of the n keys or addresses.
            Followed by Flux addresses in array of strings.
          example: 2
        - in: query
          name: keys
          required: true
          description: >
            A json array of keys which are Flux addresses or hex-encoded public
            keys.


            Example:

            -
            `["t1XcXfRFSnSeYmf2mbsMHzHbV8Qo5Zhk817","t1RAxsCaeeqB2XbZqvYU87uTMo9K2RtcA9z"]`
          schema:
            type: array
            items:
              type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/createmultisig'
              example:
                status: success
                data:
                  address: t3Sia7BaQ6cYYxj31PJWfxhwZwZozNzk9N7
                  redeemScript: >-
                    52210353b1620689dc80w0d9b634616ec8566f80e22fec5edd1c8edf64a8a07babc41f2103450768e972919f7c82ca85d904daf1d3d5beabd25230aca4f363aecfa912457895cd
  /daemon/estimatefee:
    get:
      tags:
        - Daemon
      summary: Estimate fee nblocks
      description: >-
        Estimates the approximate fee per kilobyte needed for a transaction to
        begin confirmation within nblocks blocks. **Public**
      operationId: estimateFee
      security: []
      parameters:
        - in: query
          name: nblocks
          required: true
          schema:
            type: integer
          description: Number of nblocks
          example: 5
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: integer
                    description: >-
                      Estimated fee-per-kilobyte -1.0 is returned if not enough
                      transactions and blocks have been observed to make an
                      estimate.
              example:
                status: success
                data: -1
  /daemon/estimatepriority:
    get:
      tags:
        - Daemon
      summary: Estimate priority nblocks
      description: >-
        Estimates the approximate priority a zero-fee transaction needs to begin
        confirmation within nblocks blocks. **Public**
      operationId: estimatePriority
      security: []
      parameters:
        - in: query
          name: nblocks
          required: true
          schema:
            type: integer
          description: Number of nblocks
          example: 5
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: integer
                    description: >-
                      Estimated fee-per-kilobyte -1.0 is returned if not enough
                      transactions and blocks have been observed to make an
                      estimate.
              example:
                status: success
                data: 0
  /daemon/validateaddress:
    get:
      tags:
        - Daemon
      summary: Info of the Flux address
      description: Return information about the given Flux address. **Public**
      operationId: validateAddress
      security: []
      parameters:
        - in: query
          name: fluxaddress
          required: true
          schema:
            type: string
          description: Flux address to validate
          example: t1N6mLX2A64QsyuLbYkfPZSrkLF86hxuuFe
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      isvalid:
                        type: boolean
                        description: >-
                          If the address is valid or not. If not, this is the
                          only property returned.
                      address:
                        type: string
                        description: The Flux address validated
                      scriptPubKey:
                        type: string
                        description: The hex encoded scriptPubKey generated by the address
                      ismine:
                        type: boolean
                        description: If the address is yours or not
                      iswatchonly:
                        type: boolean
                        description: If address is watch only
                      isscript:
                        type: boolean
                        description: If the key is a script
                      pubkey:
                        type: string
                        description: The hex value of the raw public key
                      iscompressed:
                        type: boolean
                        description: If the address is compressed
                      account:
                        type: string
                        description: >-
                          DEPRECATED. The account associated with the address,
                          "" is the default account
              example:
                status: success
                data:
                  isvalid: true
                  address: t1N6mLX2A64QsyuLbYkfPZSrkLF86hxuuFe
                  scriptPubKey: 76a9142e5db3157a9783c6208019323f2c3a02610826a988ac
                  ismine: true
                  iswatchonly: false
                  isscript: false
                  pubkey: >-
                    036b6a136ce869a0b400548a9126f06d96181ee974ff1c7f5a5e54e39b7f66be05
                  iscompressed: true
                  account: ''
  /daemon/verifymessage:
    post:
      tags:
        - Daemon
      summary: Verify a message
      description: Verify a signed message. **Public**
      operationId: verifyMessagePost
      security: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                fluxaddress:
                  type: string
                  description: The Flux address to use for the signature
                signature:
                  type: string
                  description: The signature provided by the signer in base 64 encoding
                message:
                  type: string
                  description: The message that was signed
            example:
              fluxadress: t1N6mLX2A64QsyuLbYkfPZSrkLF86hxuuFe
              signature: >-
                H5j8AoJ+8VaEEJGgw846hSPQoq42X9yiLwn/Nab1pASBFcw8rj5k8J9xpKr1VzepMEOF2ProYxVsQ9i7xalH4Sk=
              message: helloworld
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: boolean
                    description: If the signature is verified or not.
              example:
                status: success
                data: true
    get:
      tags:
        - Daemon
      summary: Verify a message
      description: Verify a signed message. **Public**
      operationId: verifyMessage
      security: []
      parameters:
        - in: query
          name: fluxaddress
          required: true
          schema:
            type: string
          description: The Flux address to use for the signature
          example: t1N6mLX2A64QsyuLbYkfPZSrkLF86hxuuFe
        - in: query
          name: signature
          required: true
          schema:
            type: string
          description: The signature provided by the signer in base 64 encoding
          example: >-
            H5j8AoJ+8VaEEJGgw846hSPQoq42X9yiLwn/Nab1pASBFcw8rj5k8J9xpKr1VzepMEOF2ProYxVsQ9i7xalH4Sk=
        - in: query
          name: message
          required: true
          schema:
            type: string
          description: The message that was signed
          example: helloworld
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: boolean
                    description: If the signature is verified or not.
              example:
                status: success
                data: true
  /daemon/gettransaction:
    get:
      tags:
        - Daemon
      summary: Information about in-wallet transaction
      description: Get detailed information about in-wallet transaction. **Public**
      operationId: getTransaction
      security: []
      parameters:
        - in: query
          name: txid
          required: true
          schema:
            type: string
          description: The transaction id
          example: 36666054c698feaa5486c0d2225369a4afef922a724940594f1beadf729871ab
        - in: query
          name: includewatchonly
          schema:
            type: boolean
            default: false
            enum:
              - true
              - false
          description: |
            Whether to include watchonly addresses in balance calculation and
            details.

            Example:
            - `txid`=`<transaction id>`&`includewatchonly`=`true`
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      amount:
                        type: number
                        description: The transaction amount in FLUX
                      confirmations:
                        type: number
                        description: The number of confirmations
                      blockhash:
                        type: string
                        description: The block hash
                      blockindex:
                        type: number
                        description: The block index
                      blocktime:
                        type: number
                        description: The time in seconds since epoch (1 Jan 1970 GMT)
                      expiryheight:
                        type: number
                        description: Last valid block height for mining transaction
                      txid:
                        type: number
                        description: The transaction id
                      walletconflicts:
                        $ref: '#/components/schemas/walletconflicts'
                      time:
                        type: number
                        description: >-
                          The transaction time in seconds since epoch (1 Jan
                          1970 GMT)
                      timereceived:
                        type: number
                        description: >-
                          The time received in seconds since epoch (1 Jan 1970
                          GMT)
                      vJoinSplit:
                        $ref: '#/components/schemas/joinsplit'
                      details:
                        type: array
                        items:
                          type: object
                          properties:
                            account:
                              type: string
                              description: >-
                                DEPRECATED. The account name involved in the
                                transaction, can be "" for the default account
                            address:
                              type: string
                              description: The Flux address involved in the transaction
                            category:
                              type: string
                              description: The category, either send or receive
                            amount:
                              type: number
                              description: The amount in FLUX
                            vout:
                              type: integer
                              description: The vout value
                            size:
                              type: integer
                              description: Size in bytes
                      hex:
                        type: string
                        description: Raw data for transaction
              example:
                status: success
                data:
                  amount: 1
                  confirmations: 703
                  blockhash: >-
                    0000007e647cbb9c30bafcae9b37349a64c93f33f0b76ffdcea99f48002e24ec
                  blockindex: 1
                  blocktime: 1588765867
                  expiryheight: 593098
                  txid: >-
                    36666054c698feaa5486c0d2225369a4afef922a724940594f1beadf729871ab
                  walletconflicts: []
                  time: 1588764826
                  timereceived: 1588764826
                  vJoinSplit: []
                  details:
                    - account: ''
                      address: t1N6mLX2A64QsyuLbYkfPZSrkLF86hxuuFe
                      category: receive
                      amount: 1
                      vout: 0
                      size: 244
                  hex: >-
                    0400008085202f8901fb81c640b6231d12a538a2cf59637d268ced324b300aaf99f0b00814f585e216000000006a4730440220353c7289e7d67585411016dd0472fb752c22160d9962f0551e58bb183a984bc8022005109fef7d31921a44b2fdf841b15869810497ff3e53df936d66a0650581f02b01210330bf3e5792efc2f011d9cb322f984617bb4a63d8ca751771febe5fc585ac9fcdffffffff0200e1f505000000001976a9142e5db3157a9783c6208019323f2c3a02610826a988ac399e42c7070000001976a914548c1a1bc9e10e79a5b6d27a44393240f41c175188ac00000000ca0c09000000000000000000000000
  /daemon/zvalidateaddress:
    get:
      tags:
        - Daemon
      summary: Information about given z address
      description: Return information about the given z address. **Public**
      operationId: zValidateAddress
      security: []
      parameters:
        - in: query
          name: zaddr
          required: true
          schema:
            type: string
          description: The z address to validate
          example: >-
            za102nkanf5xu6asasvydwp3zlcuure23jqxxz0zqh9catfvc9cu0dfcvl35tz3qkf2q2cxc47g4mk
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      isvalid:
                        type: boolean
                        description: >-
                          If the address is valid or not. If not, this is the
                          only property returned.
                      address:
                        type: string
                        description: The z address validated
                      type:
                        type: string
                        description: Sprout or Sapling
                      diversifier:
                        type: string
                        description: The hex value of the diversifier, d
                      diversifiedtransmissionkey:
                        type: string
                        description: The hex value of pk_d
                      ismine:
                        type: boolean
                        description: If the address is yours or not
              example:
                status: success
                data:
                  isvalid: true
                  address: >-
                    za102nkanf5xu6asasvydwp3zlcuure23jqxxz0zqh9catfvc9cu0dfcvl35tz3qkf2q2cxc47g4mk
                  type: sapling
                  diversifier: 7aa76ecd343735d8760c23
                  diversifiedtransmissionkey: >-
                    6cb0022a5910c5a2f1339cdae3b8609656c7e502f1843140469507e7f88b185c
                  ismine: true
  /daemon/getbenchmarks:
    get:
      tags:
        - Daemon
      summary: Benchmark results
      description: Return most recent benchmark results. **Public**
      operationId: getBenchmarks
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/getbenchmarks'
              example:
                status: success
                data:
                  ipaddress: 185.220.177.169
                  architecture: amd64
                  armboard: ''
                  status: NIMBUS
                  time: 1692874695
                  real_cores: 10
                  cores: 10
                  ram: 31
                  ssd: 1024
                  hdd: 0
                  ddwrite: 1001.733828125
                  totalstorage: 1024
                  disksinfo:
                    - disk: vda
                      size: 1024
                      writespeed: 1001.733828125
                  eps: 1012.08
                  ping: 7.226
                  download_speed: 809.3055686875
                  upload_speed: 310.0325255625
                  bench_version: 1.0.20
                  speed_version: 1.2.0
                  thunder: false
                  error: ''
  /daemon/getbenchstatus:
    get:
      tags:
        - Daemon
      summary: Bench status
      description: >-
        This will return the status of the node, what fluxbenchd determined the
        tier the server could pass for, and if Flux backend is connected. If any
        one of these return a negative result the FluxNode will fail to confirm.
        **Public**
      operationId: getBenchStatus
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/benchstatus'
              example:
                status: success
                data:
                  status: online
                  benchmarking: CUMULUS
  /daemon/getblockhashes:
    get:
      tags:
        - Daemon
      summary: Get block hashes
      description: Returns array of block hashes for given height range. **Public**
      operationId: getBlockHashes
      security: []
      parameters:
        - name: high
          in: query
          required: false
          schema:
            type: integer
          description: Ending block height
        - name: low
          in: query
          required: false
          schema:
            type: integer
          description: Starting block height
        - name: noorphans
          in: query
          required: false
          schema:
            type: boolean
          description: Exclude orphan blocks
        - name: logicaltimes
          in: query
          required: false
          schema:
            type: boolean
          description: Include logical times
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: string
                      description: Block hash
              example:
                status: success
                data:
                  - >-
                    000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
                  - >-
                    00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048
    post:
      tags:
        - Daemon
      summary: Get block hashes (POST)
      description: Returns array of block hashes for given height range. **Public**
      operationId: getBlockHashesPost
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                high:
                  type: integer
                  description: Ending block height
                low:
                  type: integer
                  description: Starting block height
                noorphans:
                  type: boolean
                  description: Exclude orphan blocks
                logicaltimes:
                  type: boolean
                  description: Include logical times
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: string
  /daemon/getaddresstxids:
    get:
      tags:
        - Daemon
      summary: Get address transaction IDs
      description: Get all transaction IDs for a specific address. **Admin**
      operationId: getSingleAddresssTxids
      security:
        - ZelID: []
      parameters:
        - name: address
          in: query
          required: true
          schema:
            type: string
          description: Flux address to query
        - name: start
          in: query
          required: false
          schema:
            type: integer
          description: Starting block height
        - name: end
          in: query
          required: false
          schema:
            type: integer
          description: Ending block height
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: string
                      description: Transaction ID
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
    post:
      tags:
        - Daemon
      summary: Get address transaction IDs (POST)
      description: Get all transaction IDs for multiple addresses. **Admin**
      operationId: getAddressTxids
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                addresses:
                  type: array
                  items:
                    type: string
                  description: Array of Flux addresses
                start:
                  type: integer
                  description: Starting block height
                end:
                  type: integer
                  description: Ending block height
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: string
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /daemon/getaddressbalance:
    get:
      tags:
        - Daemon
      summary: Get address balance
      description: Get balance for a specific address. **Admin**
      operationId: getSingleAddressBalance
      security:
        - ZelID: []
      parameters:
        - name: address
          in: query
          required: true
          schema:
            type: string
          description: Flux address to query
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      balance:
                        type: number
                        description: Address balance in Flux
                      received:
                        type: number
                        description: Total received by address
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
    post:
      tags:
        - Daemon
      summary: Get address balance (POST)
      description: Get balance for multiple addresses. **Admin**
      operationId: getAddressBalance
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                addresses:
                  type: array
                  items:
                    type: string
                  description: Array of Flux addresses
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /daemon/getaddressdeltas:
    get:
      tags:
        - Daemon
      summary: Get address deltas
      description: Get balance changes (deltas) for a specific address. **Admin**
      operationId: getSingleAddressDeltas
      security:
        - ZelID: []
      parameters:
        - name: address
          in: query
          required: true
          schema:
            type: string
          description: Flux address to query
        - name: start
          in: query
          required: false
          schema:
            type: integer
          description: Starting block height
        - name: end
          in: query
          required: false
          schema:
            type: integer
          description: Ending block height
        - name: chaininfo
          in: query
          required: false
          schema:
            type: boolean
          description: Include chain information
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        satoshis:
                          type: integer
                          description: Amount in satoshis
                        txid:
                          type: string
                          description: Transaction ID
                        index:
                          type: integer
                          description: Output index
                        blockindex:
                          type: integer
                          description: Block index
                        height:
                          type: integer
                          description: Block height
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
    post:
      tags:
        - Daemon
      summary: Get address deltas (POST)
      description: Get balance changes for multiple addresses. **Admin**
      operationId: getAddressDeltas
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                addresses:
                  type: array
                  items:
                    type: string
                start:
                  type: integer
                end:
                  type: integer
                chaininfo:
                  type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /daemon/getaddressutxos:
    get:
      tags:
        - Daemon
      summary: Get address UTXOs
      description: Get unspent transaction outputs for a specific address. **Admin**
      operationId: getSingleAddressUtxos
      security:
        - ZelID: []
      parameters:
        - name: address
          in: query
          required: true
          schema:
            type: string
          description: Flux address to query
        - name: chaininfo
          in: query
          required: false
          schema:
            type: boolean
          description: Include chain information
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        address:
                          type: string
                          description: Address
                        txid:
                          type: string
                          description: Transaction ID
                        outputIndex:
                          type: integer
                          description: Output index
                        script:
                          type: string
                          description: Script hex
                        satoshis:
                          type: integer
                          description: Amount in satoshis
                        height:
                          type: integer
                          description: Block height
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
    post:
      tags:
        - Daemon
      summary: Get address UTXOs (POST)
      description: Get UTXOs for multiple addresses. **Admin**
      operationId: getAddressUtxos
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                addresses:
                  type: array
                  items:
                    type: string
                chaininfo:
                  type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /daemon/getaddressmempool:
    get:
      tags:
        - Daemon
      summary: Get address mempool transactions
      description: Get mempool transactions for a specific address. **Admin**
      operationId: getSingleAddressMempool
      security:
        - ZelID: []
      parameters:
        - name: address
          in: query
          required: true
          schema:
            type: string
          description: Flux address to query
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        address:
                          type: string
                        txid:
                          type: string
                        index:
                          type: integer
                        satoshis:
                          type: integer
                        timestamp:
                          type: integer
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
    post:
      tags:
        - Daemon
      summary: Get address mempool (POST)
      description: Get mempool transactions for multiple addresses. **Admin**
      operationId: getAddressMempool
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                addresses:
                  type: array
                  items:
                    type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /daemon/sendfrom:
    get:
      tags:
        - Daemon
      summary: Send from account
      description: Send Flux from a specific account to an address. **Admin**
      operationId: sendFrom
      security:
        - ZelID: []
      parameters:
        - name: tofluxaddress
          in: query
          required: true
          schema:
            type: string
          description: Destination Flux address
        - name: amount
          in: query
          required: true
          schema:
            type: number
          description: Amount to send
        - name: minconf
          in: query
          required: false
          schema:
            type: integer
            default: 1
          description: Minimum confirmations
        - name: comment
          in: query
          required: false
          schema:
            type: string
          description: Transaction comment
        - name: commentto
          in: query
          required: false
          schema:
            type: string
          description: Comment for recipient
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Transaction ID
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
    post:
      tags:
        - Daemon
      summary: Send from account (POST)
      description: Send Flux from account using POST method. **Admin**
      operationId: sendFromPost
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tofluxaddress:
                  type: string
                amount:
                  type: number
                minconf:
                  type: integer
                comment:
                  type: string
                commentto:
                  type: string
              required:
                - tofluxaddress
                - amount
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /daemon/submitblock:
    get:
      tags:
        - Daemon
      summary: Submit block
      description: Submit a block to the network. **User**
      operationId: submitBlock
      security:
        - ZelID: []
      parameters:
        - name: hexdata
          in: query
          required: true
          schema:
            type: string
          description: Block data in hex format
        - name: jsonparametersobject
          in: query
          required: false
          schema:
            type: string
          description: Optional JSON parameters
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Block submission result
    post:
      tags:
        - Daemon
      summary: Submit block (POST)
      description: Submit a block using POST method. **User**
      operationId: submitBlockPost
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                hexdata:
                  type: string
                jsonparametersobject:
                  type: string
              required:
                - hexdata
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
  /daemon/zcrawjoinsplit:
    get:
      tags:
        - Daemon
      summary: ZCash raw joinsplit
      description: Create a raw joinsplit transaction. **Admin**
      operationId: zcRawJoinSplit
      security:
        - ZelID: []
      parameters:
        - name: rawtx
          in: query
          required: true
          schema:
            type: string
          description: Raw transaction hex
        - name: inputs
          in: query
          required: true
          schema:
            type: string
          description: JSON string of inputs
        - name: outputs
          in: query
          required: true
          schema:
            type: string
          description: JSON string of outputs
        - name: vpubold
          in: query
          required: true
          schema:
            type: number
          description: Public input value
        - name: vpubnew
          in: query
          required: true
          schema:
            type: number
          description: Public output value
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
    post:
      tags:
        - Daemon
      summary: ZCash raw joinsplit (POST)
      description: Create raw joinsplit using POST method. **Admin**
      operationId: zcRawJoinSplitPost
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                rawtx:
                  type: string
                inputs:
                  type: string
                outputs:
                  type: string
                vpubold:
                  type: number
                vpubnew:
                  type: number
              required:
                - rawtx
                - inputs
                - outputs
                - vpubold
                - vpubnew
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /daemon/zcrawreceive:
    get:
      tags:
        - Daemon
      summary: ZCash raw receive
      description: Decrypt and return information about a note. **Admin**
      operationId: zcRawReceive
      security:
        - ZelID: []
      parameters:
        - name: zcsecretkey
          in: query
          required: true
          schema:
            type: string
          description: Secret key for decryption
        - name: encryptednote
          in: query
          required: true
          schema:
            type: string
          description: Encrypted note hex
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
    post:
      tags:
        - Daemon
      summary: ZCash raw receive (POST)
      description: Decrypt note using POST method. **Admin**
      operationId: zcRawReceivePost
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                zcsecretkey:
                  type: string
                encryptednote:
                  type: string
              required:
                - zcsecretkey
                - encryptednote
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /daemon/prioritisetransaction:
    get:
      tags:
        - Daemon
      summary: Priortise a transaction
      description: >-
        Accepts the transaction into mined blocks at a higher (or lower)
        priority. **User**
      operationId: prioritiseTransaction
      security:
        - ZelID: []
      parameters:
        - in: query
          name: txid
          required: true
          schema:
            type: string
          description: The transaction id
          example: 22ab3d049154c7d4b0f04b381770c655564facdc896a4f7e97aa5662f57a58c6
        - in: query
          name: prioritydelta
          required: true
          schema:
            type: integer
          description: >-
            The priority to add or subtract. The transaction selection algorithm
            considers the tx as it would have a higher priority. (priority of a
            transaction is calculated: coinage * value_in_satoshis / txsize)
          example: 0
        - in: query
          name: feedelta
          required: true
          schema:
            type: integer
          description: >-
            The fee value (in satoshis) to add (or subtract, if negative). The
            fee is not actually paid, only the algorithm for selecting
            transactions into a block considers the transaction as it would have
            paid a higher (or lower) fee.
          example: 10000
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: boolean
                    description: Returns true
              example:
                status: success
                data: true
  /daemon/reindex:
    get:
      tags:
        - Daemon
      summary: Reindex Flux daemon
      description: >-
        Tries to reindex Flux daemon running on the FluxNode the call is run
        against. Flux daemon is firstly stopped and then started with reindex
        flag. **Admin**
      operationId: reindexFlux
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Flux successfully reindexing
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /daemon/stop:
    get:
      tags:
        - Daemon
      summary: Stop Flux daemon
      description: This will stop the Flux daemon from running. **Admin**
      operationId: stop
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Explanation of status
              example:
                status: success
                data: Stop Flux server
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /daemon/createfluxnodekey:
    get:
      tags:
        - Daemon
      summary: Create fluxnode private key
      description: Create a new fluxnode private key. **Admin**
      operationId: createFluxNodeKey
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Fluxnode private key
              example:
                status: success
                data: 5JwVKe7UH986ncSL2jG9KdUY2AuZUTDAkTsp4TZoGWdD5cLLiFR
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /daemon/listfluxnodeconf:
    get:
      tags:
        - Daemon
      summary: The fluxnode conf file
      description: >-
        View fluxnode conf file in JSON format, this will return empty for most
        unless running a hot wallet. **Admin**
      operationId: listFluxNodeConf
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        alias:
                          type: string
                          description: Alias name
                        status:
                          type: string
                          description: Status of fluxnode
                        collateral:
                          type: string
                          description: Collateral txid and output index
                        txhash:
                          type: string
                          description: Transaction id
                        outputIndex:
                          type: integer
                          description: Output index
                        privateKey:
                          type: string
                          description: Fluxnode private key
                        address:
                          type: string
                          description: Ip address of fluxnode server and port
                        ip:
                          type: string
                          description: Ip address of fluxnode server
                        network:
                          type: string
                          description: Network type (IPv4, IPv6, onion)
                        added_height:
                          type: integer
                          description: Block height fluxnode was added to list
                        confirmed_height:
                          type: integer
                          description: Block height fluxnode was confirmed by the network
                        last_confirmed_height:
                          type: integer
                          description: Latest block height network confirmed the fluxnode
                        last_paid_height:
                          type: integer
                          description: Block the fluxnode was last paid
                        tier:
                          type: string
                          description: Tier of fluxnode
                        payment_address:
                          type: string
                          description: Address where rewards are paid
                        activesince:
                          type: integer
                          description: Last paid time in epoch
                        lastpaid:
                          type: integer
                          description: Last paid time in epoch
              example:
                status: success
                data:
                  - alias: zn1
                    status: OFFLINE
                    collateral: >-
                      COutPoint(2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c,
                      0)
                    txhash: >-
                      2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c
                    outputIndex: 0
                    privateKey: 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg
                    address: 127.0.0.2:16125
                    ip: UNKNOWN
                    network: UNKNOWN
                    added_height: 0
                    confirmed_height: 0
                    last_confirmed_height: 0
                    last_paid_height: 0
                    tier: UNKNOWN
                    payment_address: UNKNOWN
                    activesince: 0
                    lastpaid: 0
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /daemon/getfluxnodeoutputs:
    get:
      tags:
        - Daemon
      summary: Fluxnode transaction outputs
      description: Print all fluxnode transaction outputs. **Admin**
      operationId: getFluxNodeOutputs
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        txhash:
                          type: string
                          description: Output transaction hash
                        outputidx:
                          type: number
                          description: Output index number
              example:
                status: success
                data:
                  - txhash: >-
                      cee4c36d22609004d286bd83bebf1f28feb33dd6e4889c6c400766253942c1af
                    outputidx: 0
  /daemon/startfluxnode:
    get:
      tags:
        - Daemon
      summary: Start FluxNode commmand
      description: >-
        Attempts to start one or more FluxNode. This call will only work if
        running a hot FluxNode which is highly not recommended. It is a control
        wallet function so basically your wallet containing the collateral
        funds. **Admin**
      operationId: startFluxNode
      security:
        - ZelID: []
      parameters:
        - in: query
          name: set
          required: true
          schema:
            type: string
          description: Specify which set of FluxNode(s) to start.
          example: alias
        - in: query
          name: lockwallet
          required: true
          schema:
            type: boolean
            enum:
              - true
              - false
          description: |
            Lock wallet after completion.

            Example:
            - `set`=`<alias>`&`lockwallet`=`false`
        - in: query
          name: alias
          required: true
          schema:
            type: string
          description: FluxNode alias. Required if using 'alias' as the set.
          example: Super1
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/startfluxnode'
              example:
                status: success
                data:
                  overall: Successfully started 0 fluxnodes, failed to start 1, total
                  detail:
                    - result: failed
                      error: could not find alias in config. Verify with list-conf.
  /daemon/startdeterministicfluxnode:
    get:
      tags:
        - Daemon
      summary: Start fluxnode command
      description: >-
        Attempts to start one fluxnode. Same as the `/daemon/startfluxnode` call
        this call will only work if running a hot FluxNode which is highly not
        recommended. It is a control wallet function so basically your wallet
        containing the collateral funds.  **Admin**
      operationId: startDeterministicFluxNode
      security:
        - ZelID: []
      parameters:
        - in: query
          name: alias
          required: true
          schema:
            type: string
          description: Node name or alias.
          example: Basic1
        - in: query
          name: lockwallet
          required: true
          schema:
            type: boolean
            enum:
              - true
              - false
          description: |
            Lock wallet after completion.

            Example:
            - `alias`=`<alias`&`lockwallet`=`false`
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/startfluxnode'
              example:
                status: success
                data:
                  overall: Successfully started 0 fluxnodes, failed to start 1, total
                  detail:
                    - alias: Basic1
                      result: failed
                      error: could not find alias in config. Verify with list-conf.
  /daemon/verifychain:
    get:
      tags:
        - Daemon
      summary: Verify blockchain data
      description: Verifies blockchain database. **Admin**
      operationId: verifyChain
      security:
        - ZelID: []
      parameters:
        - in: query
          name: checklevel
          schema:
            type: integer
            default: 3
            enum:
              - 0
              - 1
              - 2
              - 3
              - 4
          description: |
            How thorough the block verification is.

            Example:
            - `checklevel`=`1`
        - in: query
          name: numblocks
          schema:
            type: integer
            default: 288
          description: The number of blocks to check
          example: 200
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: boolean
                    description: Verified or not
              example:
                status: success
                data: true
  /daemon/addnode:
    get:
      tags:
        - Daemon
      summary: Add, remove, or try to connect a node
      description: >-
        Attempts to add or remove a node from the addnode list. Or try a
        connection to a node once. **Admin**
      operationId: addNode
      security:
        - ZelID: []
      parameters:
        - in: query
          name: node
          required: true
          schema:
            type: string
          description: The node's ip:port (see `/daemon/getpeerinfo` for nodes)
          example: 188.239.61.210:16125
        - in: query
          name: command
          required: true
          schema:
            type: string
            enum:
              - add
              - remove
              - onetry
          description: |
            Use 'add' to add a node to the list, 'remove' to remove a node from
            the list, 'onetry' to try a connection to the node once.

            Example:
            - `node`=`<ip:port>`&`command`=`add`
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/nullmessage'
              example:
                status: success
                data: null
  /daemon/clearbanned:
    get:
      tags:
        - Daemon
      summary: Clear banned IP's
      description: Clear all banned IP's. **Admin**
      operationId: clearBanned
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/nullmessage'
              example:
                status: success
                data: null
  /daemon/disconnectnode:
    get:
      tags:
        - Daemon
      summary: Disconnect a node
      description: Immediately disconnects from the specified node. **Admin**
      operationId: disconnectNode
      security:
        - ZelID: []
      parameters:
        - in: query
          name: node
          required: true
          schema:
            type: string
          description: The node's ip:port
          example: 188.239.61.210:16125
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/nullmessage'
              example:
                status: success
                data: null
  /daemon/getaddednodeinfo:
    get:
      tags:
        - Daemon
      summary: Info of added node/nodes
      description: >-
        Returns information about the given added node, or all added nodes(note
        that onetry addnodes are not listed here). If dns is false, only a list
        of added nodes will be provided, otherwise connected information will
        also be available. **Admin**
      operationId: getAddedNodeInfo
      security:
        - ZelID: []
      parameters:
        - in: query
          name: dns
          required: true
          schema:
            type: boolean
            enum:
              - true
              - false
          description: >-
            If false, only a list of added nodes will be provided, otherwise
            connected information will also be available.
        - in: query
          name: node
          schema:
            type: string
          description: The node ip:port
          example: 188.239.61.210:16125
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        addednode:
                          type: string
                          description: The node ip address
                        connected:
                          type: boolean
                          description: If connected
                        addresses:
                          type: array
                          items:
                            type: object
                            properties:
                              address:
                                type: string
                                description: The Flux server host and port
                              connected:
                                type: string
                                description: Connection, inbound or outbound
              example:
                status: success
                data:
                  - addednode: explorer.runonflux.io
                    connected: true
                    addresses:
                      - address: 159.65.254.184:16125
                        connected: outbound
                  - addednode: explorer2.runonflux.io
                    connected: true
                    addresses:
                      - address: 80.211.207.17:16125
                        connected: outbound
                  - addednode: explorer.flux.zelcore.io
                    connected: true
                    addresses:
                      - address: 206.189.0.55:16125
                        connected: outbound
  /daemon/setban:
    get:
      tags:
        - Daemon
      summary: Add or remove a IP from banned list
      description: Attempts add or remove a IP/Subnet from the banned list. **Admin**
      operationId: setBan
      security:
        - ZelID: []
      parameters:
        - in: query
          name: ip
          required: true
          schema:
            type: string
          description: >-
            The IP/Subnet (see getpeerinfo for nodes ip) with a optional netmask
            (default is /32 = single ip)
          example: 188.239.61.210
        - in: query
          name: command
          required: true
          schema:
            type: string
            enum:
              - add
              - remove
          description: >-
            Use 'add' to add a IP/Subnet to the list, 'remove' to remove a
            IP/Subnet from the list
        - in: query
          name: bantime
          schema:
            type: integer
            default: 86400
          description: >-
            Time in seconds how long (or until when if absolute is set) the ip
            is banned (0 or empty means using the default time of 24h which can
            also be overwritten by the -bantime startup argument)
          example: 3500
        - in: query
          name: absolute
          schema:
            type: boolean
            enum:
              - false
              - true
          description: >
            If set, the bantime must be a absolute timestamp in seconds since

            epoch (Jan 1 1970 GMT)


            Example:

            -
            `ip`=`<ipaddress>`&`command`=`<add/remove>`&`bantime`=`1590368400`&`absolute`=`true`
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/nullmessage'
              example:
                status: success
                data: null
  /daemon/signrawtransaction:
    post:
      tags:
        - Daemon
      summary: Sign raw transaction
      description: >-
        Sign inputs for raw transaction (serialized, hex-encoded). The second
        optional argument (may be null) is an array of previous transaction
        outputs that this transaction depends on but may not yet be in the block
        chain. The third optional argument (may be null) is an array of
        base58-encoded private keys that, if given, will be the only keys used
        to sign the transaction. **Admin**
      operationId: signRawTransactionPost
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                hexstring:
                  type: string
                  description: Hex string of raw transaction
                prevtxs:
                  description: >-
                    An json array of previous dependent transaction outputs
                    (json array of json objects, or null if none provided).
                    (optional)
                  type: array
                  items:
                    type: object
                    properties:
                      txid:
                        type: string
                        description: The transaction id
                      vout:
                        type: integer
                        description: Output index
                      scriptPubKey:
                        type: string
                        description: Script key
                      redeemScript:
                        type: string
                        description: Redeem script
                      amount:
                        type: number
                        description: The amount spent
                privatekeys:
                  description: >-
                    A json array of base58-encoded private keys for signing
                    (optional)
                  type: array
                  items:
                    type: string
                    description: Private key in base58-encoding
                sighashtype:
                  type: string
                  default: ALL
                  enum:
                    - ALL
                    - NONE
                    - SINGLE
                    - ALL|ANYONECANPAY
                    - NONE|ANYONECANPAY
                    - SINGLE|ANYONECANPAY
                  description: >-
                    The signature hash type. Must be one of the available values
                    listed. (optional)
                branchid:
                  type: string
                  description: >-
                    The hex representation of the consensus branch id to sign
                    with. This can be used to force signing with consensus rules
                    that are ahead of the node's current height. (optional)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/signrawtransaction'
              example:
                status: success
                data:
                  hex: >-
                    0400008085202f8901ab719872dfea1b4f594049722a92efafa4695322d2c08654aafe98c654606636000000006b483045022100e5f02014419280a5c1ed1f94513e8e2bee83f6341863b304fe093dea897f4aa20220022a6e6004dbf1305197f4053bd9dd59e21abd23a31d0188d079eb72cab84e990121036b6a136ce869a0b400548a9126f06d96181ee974ff1c7f5a5e54e39b7f66be05ffffffff0140420f00000000001976a9142e5db3157a9783c6208019323f2c3a02610826a988ac00000000a60a09000000000000000000000000
                  complete: true
    get:
      tags:
        - Daemon
      summary: Sign raw transaction
      description: >-
        Sign inputs for raw transaction (serialized, hex-encoded). The second
        optional argument (may be null) is an array of previous transaction
        outputs that this transaction depends on but may not yet be in the block
        chain. The third optional argument (may be null) is an array of
        base58-encoded private keys that, if given, will be the only keys used
        to sign the transaction. **Admin**
      operationId: signRawTransaction
      security:
        - ZelID: []
      parameters:
        - in: query
          name: hexstring
          required: true
          schema:
            type: string
          description: Hex string of raw transaction
          example: >-
            0400008085202f8901ab719872dfea1b4f594049722a92efafa4695322d2c08654aafe98c6546066360000000000ffffffff0140420f00000000001976a9142e5db3157a9783c6208019323f2c3a02610826a988ac00000000a60a09000000000000000000000000
        - in: query
          name: prevtxs
          description: >
            An json array of previous dependent transaction outputs (json array
            of json objects, or null if none provided).


            List of objects key/value pairs in order:

            - `txid`:`<transaction id>`

            - `vout`:`<output index>`

            - `scriptPubKey`:`<script key>`

            - `redeemScript`:`<redeem script>`

            - `amount`:`<the amount spent>`
          schema:
            type: array
            items:
              type: object
              properties:
                txid:
                  type: string
                  description: The transaction id
                vout:
                  type: integer
                  description: The output number
                scriptPubKey:
                  type: string
                  description: Script key
                redeemScript:
                  type: string
                  description: Redeem script
                amount:
                  type: number
                  description: The amount spent
        - in: query
          name: privatekeys
          description: >-
            A json array of base58-encoded private keys for signing (json array
            of strings, or null if none provided).
          schema:
            type: array
            items:
              type: string
              description: Private key in base58-encoding
        - in: query
          name: sighashtype
          schema:
            type: string
            default: ALL
            enum:
              - ALL
              - NONE
              - SINGLE
              - ALL|ANYONECANPAY
              - NONE|ANYONECANPAY
              - SINGLE|ANYONECANPAY
          description: The signature hash type. Must be one of the available values listed.
        - in: query
          name: branchid
          schema:
            type: string
          description: >-
            The hex representation of the consensus branch id to sign with. This
            can be used to force signing with consensus rules that are ahead of
            the node's current height.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/signrawtransaction'
              example:
                status: success
                data:
                  hex: >-
                    0400008085202f8901ab719872dfea1b4f594049722a92efafa4695322d2c08654aafe98c654606636000000006b483045022100e5f02014419280a5c1ed1f94513e8e2bee83f6341863b304fe093dea897f4aa20220022a6e6004dbf1305197f4053bd9dd59e21abd23a31d0188d079eb72cab84e990121036b6a136ce869a0b400548a9126f06d96181ee974ff1c7f5a5e54e39b7f66be05ffffffff0140420f00000000001976a9142e5db3157a9783c6208019323f2c3a02610826a988ac00000000a60a09000000000000000000000000
                  complete: true
  /daemon/addmultisigaddress:
    post:
      tags:
        - Daemon
      summary: Add multisig address to the wallet
      description: >-
        Add a nrequired-to-sign multisignature address to the wallet. Each key
        is a Flux address or hex-encoded public key. **Admin**
      operationId: addMultiSigAddressPost
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                'n':
                  type: string
                  description: >-
                    The number of required signatures out of the n keys or
                    addresses
                keysobject:
                  description: A json array of Flux addresses or hex-encoded public keys.
                  type: array
                  items:
                    type: string
                    description: Flux address or hex-encoded public key
            example:
              'n': 2
              keysobject:
                - t1b4SUue7q26dADLGUyFBu57uJsKS7jc8VC
                - t1TtEnZKBziV5LziBXr9KvrYC2HbQA91rSN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Multi-sig address.
              example:
                status: success
                data: t3Sia7BaQ6cYYxj31PJWfxhwZwZozNzk9N7
    get:
      tags:
        - Daemon
      summary: Add multisig address to the wallet
      description: >-
        Add a nrequired-to-sign multisignature address to the wallet. Each key
        is a Flux address or hex-encoded public key. **Admin**
      operationId: addmultisigaddress
      security:
        - ZelID: []
      parameters:
        - in: query
          name: 'n'
          required: true
          schema:
            type: integer
          description: The number of required signatures out of the n keys or addresses
          example: 2
        - in: query
          name: keysobject
          required: true
          description: |
            A json array of Flux addresses or hex-encoded public keys.

            Example:
            - `keysobject`=`[<"address">, <"address">]`
          schema:
            type: array
            items:
              type: string
          style: form
          explode: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Multi-sig address.
              example:
                status: success
                data: t3Sia7BaQ6cYYxj31PJWfxhwZwZozNzk9N7
  /daemon/backupwallet:
    get:
      tags:
        - Daemon
      summary: Backup wallet to destination file
      description: Safely copies wallet.dat to destination filename. **Admin**
      operationId: backupWallet
      security:
        - ZelID: []
      parameters:
        - in: query
          name: destination
          required: true
          schema:
            type: string
          description: >-
            The destination filename, saved in the directory set by -exportdir
            option
          example: walletbackup
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: The full path of the destination file
              example:
                status: success
                data: /home/user/backup/walletbackup
  /daemon/dumpprivkey:
    get:
      tags:
        - Daemon
      summary: Get private key of a t-addr
      description: Reveals the private key corresponding to t-addr. **Admin**
      operationId: dumpPrivKey
      security:
        - ZelID: []
      parameters:
        - in: query
          name: taddr
          required: true
          schema:
            type: string
          description: The transparent address for the private key
          example: t1LGoWfLf66bpJC84zWmUd9i1bkW9kFgnyQ
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: The private key
              example:
                status: success
                data: KyqvmC4mDgxwnKjfGYPVt1wonwog4kZ8oA8WsL5yr7vE2X5phxwx
  /daemon/getbalance:
    get:
      tags:
        - Daemon
      summary: Total balance of wallet
      description: Returns the server's total available balance. **Admin**
      operationId: getBalance
      security:
        - ZelID: []
      parameters:
        - in: query
          name: minconf
          schema:
            type: integer
            default: 1
          description: Only include transactions confirmed at least this many times
          example: 5
        - in: query
          name: includewatchonly
          schema:
            type: boolean
            default: false
            enum:
              - true
              - false
          description: |
            Also include balance in watchonly addresses.

            Example:
            - `includewatchonly`=`true`
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: number
                    description: Flux balance
              example:
                status: success
                data: 0
  /daemon/getnewaddress:
    get:
      tags:
        - Daemon
      summary: Get new address
      description: Returns a new Flux address for receiving payments. **Admin**
      operationId: getNewAddress
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Flux address
              example:
                status: success
                data: t1LGoWfLf66bpJC84zWmUVcw1bkW9kFgnyQ
  /daemon/getrawchangeaddress:
    get:
      tags:
        - Daemon
      summary: Get new change address
      description: >-
        Returns a new Flux address, for receiving change. This is for use with
        raw transactions, NOT normal use. **Admin**
      operationId: getRawChangeAddress
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Flux address
              example:
                status: success
                data: t1dC6WNjqcJX8VFcdRp1MyJ7eB4MSQs83FR
  /daemon/getreceivedbyaddress:
    get:
      tags:
        - Daemon
      summary: Total received by the address
      description: >-
        Returns the total amount received by the given Flux address in
        transactions with at least minconf confirmations. **Admin**
      operationId: getReceivedByAddress
      security:
        - ZelID: []
      parameters:
        - in: query
          name: fluxaddress
          required: true
          schema:
            type: string
          description: The Flux address for transactions
          example: t1dC6WNjqcJX8VFcdRp1MyJ7eB4MSQs83FR
        - in: query
          name: minconf
          schema:
            type: integer
            default: 1
          description: Only include transactions confirmed at least this many times
          example: 5
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: number
                    description: The total amount in FLUX received at this address
              example:
                status: success
                data: 0
  /daemon/getunconfirmedbalance:
    get:
      tags:
        - Daemon
      summary: Get total unconfirmed balance
      description: Returns the server's total unconfirmed balance. **Admin**
      operationId: getUnconfirmedBalance
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: number
                    description: Unconfirmed balance
              example:
                status: success
                data: 0
  /daemon/getwalletinfo:
    get:
      tags:
        - Daemon
      summary: Get various info of the wallet
      description: Returns an object containing various wallet state info. **Admin**
      operationId: getWalletInfo
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      walletversion:
                        type: integer
                        description: The wallet version
                      balance:
                        type: number
                        description: The total confirmed balance of the wallet in FLUX
                      unconfirmed_balance:
                        type: number
                        description: The wallet version
                      immature_balance:
                        type: number
                        description: The total unconfirmed balance of the wallet in FLUX
                      txcount:
                        type: integer
                        description: The total number of transactions in the wallet
                      keypoololdest:
                        type: integer
                        description: >-
                          The timestamp (seconds since GMT epoch) of the oldest
                          pre-generated key in the key pool
                      keypoolsize:
                        type: integer
                        description: How many new keys are pre-generated
                      paytxfee:
                        type: number
                        description: The transaction fee configuration, set in FLUX/kB
                      seedfp:
                        type: string
                        description: The BLAKE2b-256 hash of the HD seed
              example:
                status: success
                data:
                  walletversion: 60000
                  balance: 0
                  unconfirmed_balance: 0
                  immature_balance: 0
                  txcount: 0
                  keypoololdest: 1589023670
                  keypoolsize: 101
                  paytxfee: 0
                  seedfp: >-
                    2b800c3e5439562748d8d875e116c3f88364112eb18647529b147d2f69a80ce5
  /daemon/importaddress:
    get:
      tags:
        - Daemon
      summary: Import address to watch
      description: >-
        Adds an address or script (in hex) that can be watched as if it were in
        your wallet but cannot be used to spend. **Admin**
      operationId: importAddress
      security:
        - ZelID: []
      parameters:
        - in: query
          name: address
          required: true
          schema:
            type: string
          description: The Flux address
          example: t1dC6WNjqcJX8VFcdRp1MyJ7eB4MSQs83FR
        - in: query
          name: label
          schema:
            type: string
            default: '""'
          description: Optional label
          example: watchonly
        - in: query
          name: rescan
          schema:
            type: boolean
            default: true
            enum:
              - true
              - false
          description: >-
            Rescan the wallet for transactions (This call can take some time to
            complete if rescan is true)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/nullmessage'
              example:
                status: success
                data: null
  /daemon/importprivkey:
    get:
      tags:
        - Daemon
      summary: Import private key to the wallet
      description: >-
        Adds a private key (as returned by dumpprivkey) to your wallet.
        **Admin**
      operationId: importPrivKey
      security:
        - ZelID: []
      parameters:
        - in: query
          name: fluxprivkey
          required: true
          schema:
            type: string
          description: The private key
          example: KyqvmC4mDgxwnKjfGYPVt1wonwog4kZ8oA8WsL5yr7vE2X5phxwx
        - in: query
          name: label
          schema:
            type: string
            default: '""'
          description: Optional label
          example: import1
        - in: query
          name: rescan
          schema:
            type: boolean
            default: true
            enum:
              - true
              - false
          description: >-
            Rescan the wallet for transactions (This call can take some time to
            complete if rescan is true)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/nullmessage'
              example:
                status: success
                data: null
  /daemon/importwallet:
    get:
      tags:
        - Daemon
      summary: Import private keys from the dump file
      description: Imports taddr keys from a wallet dump file. **Admin**
      operationId: importWallet
      security:
        - ZelID: []
      parameters:
        - in: query
          name: filename
          required: true
          schema:
            type: string
          description: The name of backup
          example: dumpwallet
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/nullmessage'
              example:
                status: success
                data: null
  /daemon/keypoolrefill:
    get:
      tags:
        - Daemon
      summary: Refill keypool
      description: >-
        Fills the keypool with more keys. Rarely used as not many will come
        close to using more than it comes with by default. **Admin**
      operationId: keyPoolRefill
      security:
        - ZelID: []
      parameters:
        - in: query
          name: newsize
          required: true
          schema:
            type: integer
          description: The new keypool size
          example: 150
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/nullmessage'
              example:
                status: success
                data: null
  /daemon/listaddressgroupings:
    get:
      tags:
        - Daemon
      summary: A list of addresses that have been used and known to the public
      description: >-
        Lists groups of addresses which have had their common ownership made
        public by common use as inputs or as the resulting change in past
        transactions. **Admin**
      operationId: listAddressGroupings
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: string
                      description: Flux address, balance, and label
              example:
                status: success
                data:
                  - - - t1LGoWfLf66bpJC84zWmUVcw1bkW9kFgnyQ
                      - 0.1
                      - ''
                  - - - t1T83Nj5ai9n32SMYZMFtqBAnNU3opMisGg
                      - 53.16539081
                      - ''
  /daemon/listlockunspent:
    get:
      tags:
        - Daemon
      summary: List of unspendable outputs
      description: Returns list of temporarily unspendable outputs. **Admin**
      operationId: listLockUnspent
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        txid:
                          type: string
                          description: The transaction id
                        vout:
                          type: integer
                          description: Vout value
              example:
                status: success
                data:
                  - txid: >-
                      15430c14500cd505798902e2f1ce3c19251f3599954e7dfb57c19f8763530860
                    vout: 0
  /daemon/listreceivedbyaddress:
    get:
      tags:
        - Daemon
      summary: List of balances
      description: List balances by receiving address. **Admin**
      operationId: listReceivedByAddress
      security:
        - ZelID: []
      parameters:
        - in: query
          name: minconf
          schema:
            type: integer
            default: 1
          description: The minimum number of confirmations before payments are included
          example: 5
        - in: query
          name: includeempty
          schema:
            default: false
            type: boolean
            enum:
              - true
              - false
          description: Whether to include addresses that haven't received any payments
          example: '?includeempty=true'
        - in: query
          name: includewatchonly
          schema:
            default: false
            type: boolean
            enum:
              - true
              - false
          description: Whether to include watchonly addresses
          example: '?includewatchonly=true'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        involvesWatchonly:
                          type: boolean
                          description: >-
                            Only returned if imported addresses were involved in
                            transaction
                        address:
                          type: string
                          description: The receiving address
                        account:
                          type: string
                          description: >-
                            The account of the receiving address. The default
                            account is ""
                        amount:
                          type: number
                          description: The total amount in FLUX received by the address
                        confirmations:
                          type: integer
                          description: >-
                            The number of confirmations of the most recent
                            transaction included
                        txids:
                          type: array
                          items:
                            type: string
                            description: Tranaction ids
              example:
                status: success
                data:
                  - address: t1LGoWfLf66bpJC84zWmUVcw1bkW9kFgnyQ
                    account: ''
                    amount: 0.01
                    confirmations: 384
                    txids:
                      - >-
                        15430c14500cd505798902e2f1ce3c19251f3599954e7dfb57c19f8763530860
                  - involvesWatchonly: true
                    address: t1T83Nj5ai9n32SMYZMFtqBAnNU3opMisGg
                    account: watchonly
                    amount: 53.16539081
                    confirmations: 78
                    txids:
                      - >-
                        4f92889223b93cdcfed3499beee96eabc4ee84fb8051df1d80cd2bb0f780870a
                      - >-
                        5ac98d5bf3c24c3c5eead54592a44c39152dc31cd4ffa98323842f22d5a62619
                      - >-
                        c1dcd9ce345a85783417f9015b3371001739425b67ef5a6c459be85782b0e86e
                      - >-
                        fd1e3c162a3d858bd6f53ba59d4fca0854c0843fdab692c7af6da1113ca30fb2
                      - >-
                        0f249e4bd193182526dab806fe552dba5d16a864a32803455b2d6c769f19ecb2
  /daemon/listsinceblock:
    get:
      tags:
        - Daemon
      summary: List of transactions since block (blockhash)
      description: >-
        Get all transactions in blocks since block [blockhash], or all
        transactions if omitted. **Admin**
      operationId: listSinceBlock
      security:
        - ZelID: []
      parameters:
        - in: query
          name: blockhash
          schema:
            type: string
          description: The block hash to list transactions since
          example: 000000b43fccbefdc72246275014e641d400851ab88f1b3f8ec483a770072537
        - in: query
          name: targetconfirmations
          schema:
            type: integer
          description: The confirmations required, must be 1 or more
          example: 50
        - in: query
          name: includewatchonly
          schema:
            default: false
            type: boolean
            enum:
              - true
              - false
          description: Whether to include watchonly addresses
          example: '?includewatchonly=true'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      transactions:
                        $ref: '#/components/schemas/listtransactions'
                      lastblock:
                        type: string
                        description: The hash of the last block
              example:
                status: success
                data:
                  transactions:
                    - account: ''
                      address: t1LGoWfLf66bpJC84zWmUVcw1bkW9kFgnyQ
                      category: receive
                      amount: 0.1
                      vout: 0
                      confirmations: 342
                      blockhash: >-
                        000000e6d86f170fbd09f550a1abe0f8a70a1ba43d4d08f676f5dc7b5eca0645
                      blockindex: 2
                      blocktime: 1589158561
                      expiryheight: 596355
                      txid: >-
                        15430c14500cd505798902e2f1ce3c19251f3599954e7dfb57c19f8763530860
                      walletconflicts: []
                      time: 1589158522
                      timereceived: 1589158522
                      vJoinSplit: []
                      size: 245
                  lastblock: >-
                    000000b288eaf9eb45e0beb1d1e271530741e41a235068e95856bcdd57ed3e2c
  /daemon/listtransactions:
    get:
      tags:
        - Daemon
      summary: List of recent transactions
      description: >-
        Returns up to count most recent transactions skipping the first from
        transactions for account 'account'. **Admin**
      operationId: listTransactions
      security:
        - ZelID: []
      parameters:
        - in: query
          name: count
          schema:
            default: 10
            type: integer
          description: The number of transactions to return
          example: 25
        - in: query
          name: from
          schema:
            default: 0
            type: integer
          description: The number of transactions to skip
          example: 5
        - in: query
          name: includewatchonly
          schema:
            default: false
            type: boolean
            enum:
              - true
              - false
          description: Whether to include watchonly addresses
          example: '?includewatchonly=true'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/listtransactions'
              example:
                status: success
                data:
                  account: ''
                  address: t1LGoWfLf66bpJC84zWmUVcw1bkW9kFgnyQ
                  amount: 0.1
                  vout: 0
                  confirmations: 343
                  blockhash: >-
                    000000e6d86f170fbd09f550a1abe0f8a70a1ba43d4d08f676f5dc7b5eca0645
                  blockindex: 2
                  blocktime: 1589158561
                  expiryheight: 596355
                  txid: >-
                    15430c14500cd505798902e2f1ce3c19251f3599954e7dfb57c19f8763530860
                  walletconflicts: []
                  time: 1589158522
                  timereceived: 1589158522
                  vJoinSplit: []
                  size: 245
  /daemon/listunspent:
    get:
      tags:
        - Daemon
      summary: Returns objects of unspent transactions
      description: >-
        Returns array of unspent transaction outputs with between minconf and
        maxconf (inclusive) confirmations. Optionally filter to only include
        txouts paid to specified addresses. Results are an array of Objects,
        each of which has: (txid, vout, scriptPubKey, amount, confirmations).
        **Admin**
      operationId: listUnspent
      security:
        - ZelID: []
      parameters:
        - in: query
          name: minconf
          schema:
            default: 1
            type: integer
          description: The minimum confirmations to filter
          example: 5
        - in: query
          name: maxconf
          schema:
            default: 9999999
            type: integer
          description: The maximum confirmations to filter
          example: 100000
        - in: query
          name: addresses
          schema:
            type: array
            items:
              type: string
          description: |
            A json array of Flux addresses to filter.

            Examples:
            - `addresses`=`["taadr", "taddr"]`
            - `addresses`=`<taadr>`&`addresses`=`<addr>`

            If filtering a single address url encode the array or try
            - `address`=`["taadr"]`
          style: form
          explode: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        txid:
                          type: string
                          description: Tranaction id
                        vout:
                          type: integer
                          description: Vout value
                        generated:
                          type: boolean
                          description: True if txout is a coinbase transaction output
                        address:
                          type: string
                          description: The Flux address
                        account:
                          type: string
                          description: >-
                            The associated account, or "" for the default
                            account
                        scriptPubKey:
                          type: string
                          description: The script key
                        amount:
                          type: number
                          description: The transaction amount in FLUX
                        confirmations:
                          type: integer
                          description: The number of confirmations
                        spendable:
                          type: boolean
                          description: >-
                            Whether we have the private keys to spend this
                            output
              example:
                status: success
                data:
                  txid: >-
                    4f92889223b93cdcfed3499beee96eabc4ee84fb8051df1d80cd2bb0f780870a
                  vout: 2
                  generated: false
                  address: t1T83Nj5ai9n32SMYZMFtqBAnNU3opMisGg
                  account: ''
                  scriptPubKey: 76a914657421e07d891e5eed4ffa8a2845a5f6ef0ac17088ac
                  amount: 10.53093108
                  confirmations: 342
                  spendable: true
  /daemon/lockunspent:
    get:
      tags:
        - Daemon
      summary: Updates list of temporarily unspendable outputs
      description: >-
        Temporarily lock (unlock=false) or unlock (unlock=true) specified
        transaction outputs. A locked transaction output will not be chosen by
        automatic coin selection, when spending Flux. Locks are stored in memory
        only. Nodes start with zero locked outputs, and the locked output list
        is always cleared (by virtue of process exit) when a node stops or
        fails. **Admin**
      operationId: lockUnspent
      security:
        - ZelID: []
      parameters:
        - in: query
          name: unlock
          required: true
          schema:
            type: boolean
            enum:
              - true
              - false
          description: Whether to unlock (true) or lock (false) the specified transactions
          example: '?unlock=false'
        - in: query
          name: transactions
          required: true
          schema:
            type: array
            items:
              type: object
              properties:
                txid:
                  type: string
                  description: transaction id
                vout:
                  type: integer
                  description: vout value
          description: >
            Each transaction the txid and vout key/value pair is both required.

            - `txid`:`<transaction id>`

            - `vout`:`<output index>`


            Url encoded example:

            -
            `unlock`=`<true/false>`&`transactions`=`%5B%7B%22txid%22%3A%2215430c14500cd505798902e2f1ce3c19251f3599954e7dfb57c19f8763530860%22%2C%22vout%22%3A0%7D%5D`
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: boolean
                    description: Whether the command was successful or not
              example:
                status: success
                data: true
  /daemon/rescanblockchain:
    get:
      tags:
        - Daemon
      summary: Rescans blockchain for transactions
      description: >-
        Rescans the blockchain looking for transactions that belong to this
        wallet. **Admin**
      operationId: rescanBlockchain
      security:
        - ZelID: []
      parameters:
        - in: query
          name: startheight
          schema:
            default: 0
            type: integer
          description: Block height to start rescan from
          example: 545000
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Explanation of status
              example:
                status: success
                data: Rescan Completed
  /daemon/sendmany:
    post:
      tags:
        - Daemon
      summary: Send to many receivers at once
      description: >-
        Send to many receivers. Amounts are decimal numbers with at most 8
        digits of precision. **Admin**
      operationId: sendManyPost
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                amounts:
                  type: object
                  description: >-
                    A json object with addresses and amounts. The Flux address
                    is the key, the numeric amount in FLUX is the value.
                minconf:
                  type: integer
                  default: 1
                  description: >-
                    Only use the balance confirmed at least this many times
                    (optional)
                comment:
                  type: string
                  description: >-
                    A comment used to store what the transaction is for. This is
                    not part of the transaction, just kept in your wallet.
                    (optional)
                substractfeefromamount:
                  type: array
                  items:
                    type: string
                    description: >-
                      Subtract the transaction fee equally from the output
                      amounts (optional)
            example:
              amounts:
                t1b4SUue7q26dADLGUyFBu57uJsKS7jc8VC: 0.0001
                t1TtEnZKBziV5LziBXr9KvrYC2HbQA91rSN: 0.0001
              minconf: 2
              comment: test api
              substractfeefromamount:
                - t1b4SUue7q26dADLGUyFBu57uJsKS7jc8VC
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Transaction id
              example:
                status: success
                data: >-
                  fe196c167d679737c716f06b66ca7249be0476b7a086c7736a38f050eab62169
    get:
      tags:
        - Daemon
      summary: Send to many receivers at once
      description: >-
        Send to many receivers. Amounts are decimal numbers with at most 8
        digits of precision. **Admin**
      operationId: sendMany
      security:
        - ZelID: []
      parameters:
        - in: query
          name: amounts
          required: true
          description: >-
            A json object with addresses and amounts. The Flux address is the
            key, the numeric amount in FLUX is the value.
          schema:
            type: object
            properties:
              amounts:
                type: string
          example:
            t1QSE45jkZ9docBDFh4yEV91fgZgESp5hZN: 0.001
            t1Nmbgvqg9zqmuW8VTXrfWzL2aTnuWARX91: 0.001
            t1LoTuyuH9smQ2NrYDFfn4kLfiuhKnAEELv: 0.001
        - in: query
          name: minconf
          schema:
            default: 1
            type: number
          description: Only use the balance confirmed at least this many times
          example: 3
        - in: query
          name: comment
          schema:
            type: string
          description: >-
            A comment used to store what the transaction is for. This is not
            part of the transaction, just kept in your wallet.
          example: Pay Flux Foundation
        - in: query
          name: substractfeefromamount
          description: Subtract the transaction fee equally from the output amounts.
          schema:
            type: array
            items:
              type: string
              description: An address from which fee will be equally substracted.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Transaction id
              example:
                status: success
                data: >-
                  a7a6d8c1c4e155cf94af58ea1e4a8e3ddd7cc4cb1bc4d86242c1118bdf9469f2
  /daemon/sendtoaddress:
    post:
      tags:
        - Daemon
      summary: Send Flux to an address
      description: Send an amount to a given address. **Admin**
      operationId: sendToAddressPost
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                fluxaddress:
                  type: string
                  description: The flux address to send to
                amount:
                  type: number
                  description: The amount in FLUX to send
                comment:
                  type: string
                  description: >-
                    A comment used to store what the transaction is for. This is
                    not part of the transaction, just kept in your wallet.
                    (optional)
                commentto:
                  type: string
                  description: >-
                    comment to store the name of the person or organization to
                    which you're sending the transaction. This is not part of
                    the transaction, just kept in your wallet. (optional)
                substractfeefromamount:
                  type: boolean
                  default: false
                  description: >-
                    Subtract the transaction fee equally from the output
                    amounts. (optional)
            example:
              fluxaddress: t1QSE45jkZ9docBDFh4yEV91fgZgESp5hZN
              amount: 0.001
              comment: Test api
              commentto: self
              substractfeefromamount: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Transaction id
              example:
                status: success
                data: >-
                  bbb0f5de68db9c661e11ec38c6e0cc99a1e1d202b64dc69d5a58d665dc4b5b19
    get:
      tags:
        - Daemon
      summary: Send Flux to an address
      description: Send an amount to a given address. **Admin**
      operationId: sendToAddress
      security:
        - ZelID: []
      parameters:
        - in: query
          name: fluxaddress
          required: true
          schema:
            type: string
            description: The flux address to send to
          example: t1QSE45jkZ9docBDFh4yEV91fgZgESp5hZN
        - in: query
          name: amount
          required: true
          schema:
            type: number
          description: The amount in FLUX to send
          example: 0.001
        - in: query
          name: comment
          schema:
            type: string
          description: >-
            A comment used to store what the transaction is for. This is not
            part of the transaction, just kept in your wallet.
          example: Test api
        - in: query
          name: commentto
          schema:
            type: string
          description: >-
            A comment to store the name of the person or organization to which
            you're sending the transaction. This is not part of the transaction,
            just kept in your wallet.
          example: Self
        - in: query
          name: substractfeefromamount
          schema:
            default: false
            type: boolean
            enum:
              - true
              - false
          description: >-
            The fee will be deducted from the amount being sent if set to true
            and the recipient will receive less Flux than you enter in the
            amount field.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Transaction id
              example:
                status: success
                data: >-
                  bbb0f5de68db9c661e11ec38c6e0cc99a1e1d202b64dc69d5a58d665dc4b5b19
  /daemon/settxfee:
    get:
      tags:
        - Daemon
      summary: Set transaction fee
      description: This will restart the Flux daemon. **Admin**
      operationId: setTxFee
      security:
        - ZelID: []
      parameters:
        - in: query
          name: amount
          required: true
          schema:
            type: number
          description: The transaction fee in FLUX/kB rounded to the nearest 0.00000001
          example: 0.00001
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: boolean
                    description: Returns true if successful
              example:
                status: success
                data: true
  /daemon/signmessage:
    post:
      tags:
        - Daemon
      summary: Sign a message
      description: Sign a message with the private key of a t-addr. **Admin**
      operationId: signMessagePost
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                taddr:
                  type: string
                  description: The transparent address to use for the private key
                message:
                  type: string
                  description: The message to create a signature of
            example:
              taddr: t1N6mLX2A64QsyuLbYkfPZSrkLF86hxuuFe
              message: helloworld
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: The signature of the message encoded in base 64.
              example:
                status: success
                data: >-
                  H5j8AoJ+8VaEEJGgw846hSPQoq42X9yiLwn/Nab1pASBFcw8rj5k8J9xpKr1VzepMEOF2ProYxVsQ9i7xalH4Sk=
    get:
      tags:
        - Daemon
      summary: Sign a message
      description: Sign a message with the private key of a t-addr. **Admin**
      operationId: signMessage
      security:
        - ZelID: []
      parameters:
        - in: query
          name: taddr
          required: true
          schema:
            type: string
          description: The transparent address to use for the private key
          example: t1N6mLX2A64QsyuLbYkfPZSrkLF86hxuuFe
        - in: query
          name: message
          required: true
          schema:
            type: string
          description: The message to create a signature of
          example: helloworld
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: The signature of the message encoded in base 64.
              example:
                status: success
                data: >-
                  H5j8AoJ+8VaEEJGgw846hSPQoq42X9yiLwn/Nab1pASBFcw8rj5k8J9xpKr1VzepMEOF2ProYxVsQ9i7xalH4Sk=
  /daemon/zexportkey:
    get:
      tags:
        - Daemon
      summary: Reveal z-addr private key
      description: Reveals the zkey corresponding to zaddr. **Admin**
      operationId: zExportKey
      security:
        - ZelID: []
      parameters:
        - in: query
          name: zaddr
          required: true
          schema:
            type: string
          description: The zaddr for the private key
          example: >-
            za1kqwgkln5azfnnzfps0vc44ucwynstxk9k79z6nunwq0pnh4rjuww5kgy02c9wvfmdkxkxndlvdd
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: The private key
              example:
                status: success
                data: >-
                  secret-extended-key-main1qdg0nnspqqqqpqxh3quajk7fux5njuukqs3caqrhcx6cvm0f47ftlktlkm76a0pxfara7jntype360dacdzftzm8vjpqn6ytsduud40r63t3nnal0n8qp687hcje7rmp334v8zlua38f7r8emrtl2x5zjmeh97rky0j6tugr0m6qt8dxmduyawfcgjyt3v5x84753ywffwnjtsf58kfnjhdfrx3k9wgnjm7vgv7d20826s5lapfaljhpeufvsl98zf50het6a3wyj7c0xm9p7
  /daemon/zexportviewingkey:
    get:
      tags:
        - Daemon
      summary: Reveal z-addr viewing key
      description: >-
        Reveals the viewing key corresponding to zaddr. Only works with sprout
        zaddr's. **Admin**
      operationId: zExportViewingKey
      security:
        - ZelID: []
      parameters:
        - in: query
          name: zaddr
          required: true
          schema:
            type: string
          description: The zaddr for the private key
          example: >-
            zcQNG88SQVQTuqGKdeDDhVRCXkHeR3Vv5BqeBBaYziyN48FpJM2buK1YmQtpKoVkwrM2vvhCdrVofkdLc8QYeSLyiAkQB1u
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: The viewing key
              example:
                status: success
                data: >-
                  ZiVKeT3VBMzNRzA6hzaYzd3d7ebcsaR9iRkhYC8nRwrVYnMZGwPCz62UJMHZnjbPURAaKqDhazDWHies6HMcHmazQUUd4R3TH
  /daemon/zgetbalance:
    get:
      tags:
        - Daemon
      summary: Returns the balance of a taddr or zaddr
      description: >-
        Returns the balance of a taddr or zaddr belonging to the node's wallet.
        CAUTION If the wallet has only an incoming viewing key for this address,
        then spends cannot be detected, and so the returned balance may be
        larger than the actual balance. **Admin**
      operationId: zGetBalance
      security:
        - ZelID: []
      parameters:
        - in: query
          name: address
          required: true
          schema:
            type: string
          description: Flux address
          example: >-
            zcQNG88SQVQTuqGKdeDDhVRCXkHeR3Vv5BqeBBaYziyN48FpJM2buK1YmQtpKoVkwrM2vvhCdrVofkdLc8QYeSLyiAkQB1u
        - in: query
          name: minconf
          schema:
            default: 1
            type: integer
          description: Only include transactions confirmed at least this many times
          example: 5
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: The viewing key
              example:
                status: success
                data: 0
  /daemon/zgetmigrationstatus:
    get:
      tags:
        - Daemon
      summary: Returns status info of the sprout to sapling migration
      description: >-
        Returns information about the status of the Sprout to Sapling migration.
        Note that a transaction is defined as finalized if it has at least ten
        confirmations. Also, it is possible that manually created transactions
        involving this wallet will be included in the result. **Admin**
      operationId: zGetMigrationStatus
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      enabled:
                        type: boolean
                        description: Whether or not migration is enabled
                      unmigrated_amount:
                        type: number
                        description: The total amount of unmigrated FLUX
                      unfinalized_migrated_amount:
                        type: number
                        description: The total amount of unfinalized FLUX
                      finalized_migrated_amount:
                        type: number
                        description: The total amount of finalized FLUX
                      finalized_migration_transactions:
                        type: integer
                        description: >-
                          The number of migration transactions involving this
                          wallet
                      migration_txids:
                        type: array
                        items:
                          type: string
                          description: >-
                            An array of all migration txids involving this
                            wallet
              example:
                status: success
                data:
                  enabled: false
                  unmigrated_amount: 0
                  unfinalized_migrated_amount: 0
                  finalized_migrated_amount: 0
                  finalized_migration_transactions: 0
                  migration_txids: []
  /daemon/zgetnewaddress:
    get:
      tags:
        - Daemon
      summary: Create new shielded address
      description: Returns a new shielded address for receiving payments. **Admin**
      operationId: zGetNewAddress
      security:
        - ZelID: []
      parameters:
        - in: query
          name: type
          schema:
            default: sapling
            type: string
            enum:
              - sapling
              - sprout
          description: |
            The type of z-address.

            Example:
            - `type`=`sapling`
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: The new shielded address
              example:
                status: success
                data: >-
                  za1kqwgkln5azfnnzfps0vc44ucwynstxk9k79z6nunwq0pnh4rjuww5kgy02c9wvfmdkxkxndlvdd
  /daemon/zgetoperationresult:
    get:
      tags:
        - Daemon
      summary: Get operation result
      description: >-
        Retrieve the result and status of an operation which has finished, and
        then remove the operation from memory. **Admin**
      operationId: zGetOperationResult
      security:
        - ZelID: []
      parameters:
        - in: query
          name: operationid
          description: >
            List of operation ids. If not provided, examine all operations known
            to the node.


            Example:

            - `operationid`=`["opid-6869eaa7-722f-4991-9a6e-fd6b4c388755"]`
          schema:
            type: array
            items:
              type: string
              description: operation id
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/zoperationstatus'
              example:
                status: success
                data:
                  - id: opid-6869eaa7-722f-4991-9a6e-fd6b4c388755
                    status: success
                    creation_time: 1589372035
                    result:
                      txid: >-
                        ed1e5e81e51505fbdfa9be60ebced208f1e3a5922b0f03ad050f6459fbd54501
                    execution_secs: 0.995255071
                    method: z_sendmany
                    params:
                      fromaddress: t1YvykLWgwT5yjVjt3GH9YEyaTdMgPsainF
                      amounts:
                        - address: >-
                            za1kqwgkln5azfnnzfps0vc44ucwynstxk9k79z6nunwq0pnh4rjuww5kgy02c9wvfmdkxkxndlvdd
                          amount: 0.001
                    minconf: 1
                    fee: 0.0001
  /daemon/zgetoperationstatus:
    get:
      tags:
        - Daemon
      summary: Get operation status
      description: >-
        Get operation status and any associated result or error data.  The
        operation will remain in memory. **Admin**
      operationId: zGetOperationStatus
      security:
        - ZelID: []
      parameters:
        - in: query
          name: operationid
          description: >
            List of operation ids. If not provided, examine all operations known
            to the node.


            Example:

            - `operationid`=`["opid-bdf41571-3a20-4a00-bbf2-d4e9ddbb3375"]`
          schema:
            type: array
            items:
              type: string
              description: operation id
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/zoperationstatus'
              example:
                status: success
                data:
                  - id: opid-bdf41571-3a20-4a00-bbf2-d4e9ddbb3375
                    status: success
                    creation_time: 1589371435
                    result:
                      txid: >-
                        5a115247fe1944daf91d0a66ee383beadecf4d591809eaecff33c93a00f13566
                    execution_secs: 54.108955058
                    method: z_sendmany
                    params:
                      fromaddress: t1SHbSQdw9JkHZVyw7zkL8MiAxeAcWgxQtx
                      amounts:
                        - address: >-
                            zcQNG88SQVQTuqGKdeDDhVRCXkHeR3Vv5BqeBBaYziyN48FpJM2buK1YmQtpKoVkwrM2vvhCdrVofkdLc8QYeSLyiAkQB1u
                          amount: 0.001
                    minconf: 1
                    fee: 0.0001
  /daemon/zgettotalbalance:
    get:
      tags:
        - Daemon
      summary: Get total balance of wallet
      description: Return the total value of funds stored in the node's wallet. **Admin**
      operationId: zGetTotalBalance
      security:
        - ZelID: []
      parameters:
        - in: query
          name: minconf
          schema:
            default: 1
            type: integer
          description: >-
            Only include private and transparent transactions confirmed at least
            this many times
          example: 5
        - in: query
          name: includewatchonly
          schema:
            default: false
            type: boolean
            enum:
              - true
              - false
          description: Also include balance in watchonly addresses
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      transparent:
                        type: number
                        description: The total balance of transparent funds
                      private:
                        type: number
                        description: The total balance of shielded funds
                      total:
                        type: number
                        description: >-
                          The total balance of both transparent and shielded
                          funds
              example:
                status: success
                data:
                  transparent: 0.09999476
                  private: 0
                  total: 0.09999476
  /daemon/zimportkey:
    get:
      tags:
        - Daemon
      summary: Import zaddress private key
      description: Adds a zkey to your wallet. **Admin**
      operationId: zImportKey
      security:
        - ZelID: []
      parameters:
        - in: query
          name: zkey
          required: true
          schema:
            type: string
          description: The zkey
          example: >-
            secret-extended-key-main1qdg0nnspqqqqpqxh3quajk7fux5njuukqs3caqrhcx6cvm0f47ftlktlkm76a0pxfara7jntype360dacdzftzm8vjpqn6ytsduud40r63t3nnal0n8qp687hcje7rmp334v8zlua38f7r8emrtl2x5zjmeh97rky0j6tugr0m6qt8dxmduyawfcgjyt3v5x84753ywffwnjtsf58kfnjhdfrx3k9wgnjm7vgv7d20826s5lapfaljhpeufvsl98zf50het6a3wyj7c0xm9p7
        - in: query
          name: rescan
          schema:
            default: whenkeyisnew
            type: string
            enum:
              - whenkeyisnew
              - 'yes'
              - 'no'
          description: |
            Rescan the wallet for transactions.
            Example:
            - `zkey`=`<z private key>`&`rescan`=`yes`
        - in: query
          name: startheight
          schema:
            default: 0
            type: integer
          description: Block height to start rescan from
          example: 500000
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/nullmessage'
              example:
                status: success
                data: null
  /daemon/zimportviewingkey:
    get:
      tags:
        - Daemon
      summary: Import zaddress viewing key
      description: Adds a viewing key to your wallet. **Admin**
      operationId: zImportViewingKey
      security:
        - ZelID: []
      parameters:
        - in: query
          name: vkey
          required: true
          schema:
            type: string
          description: The viewing key
          example: >-
            ZiVKeT3VBMzNRzA6hzaYzd3d7ebcsaR9iRkhYC8nRwrVYnMZGwPCz62UJMHZnjbPURAaKqDhazDWHies6HMcHmazQUUd4R3TH
        - in: query
          name: rescan
          schema:
            default: whenkeyisnew
            type: string
            enum:
              - whenkeyisnew
              - 'yes'
              - 'no'
          description: Rescan the wallet for transactions. E.g. ?vkey=...&rescan=yes
        - in: query
          name: startheight
          schema:
            default: 0
            type: integer
          description: Block height to start rescan from
          example: 500000
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/nullmessage'
              example:
                status: success
                data: null
  /daemon/zimportwallet:
    get:
      tags:
        - Daemon
      summary: Import wallet from export file
      description: Imports taddr and zaddr keys from a wallet export file. **Admin**
      operationId: zImportWallet
      security:
        - ZelID: []
      parameters:
        - in: query
          name: filename
          required: true
          schema:
            type: string
          description: The wallet file
          example: /path/to/file
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/nullmessage'
              example:
                status: success
                data: null
  /daemon/zlistaddresses:
    get:
      tags:
        - Daemon
      summary: Get list of all shielded addresses
      description: >-
        Returns the list of Sprout and Sapling shielded addresses belonging to
        the wallet. **Admin**
      operationId: zListAddresses
      security:
        - ZelID: []
      parameters:
        - in: query
          name: includewatchonly
          schema:
            default: false
            type: boolean
            enum:
              - true
              - false
          description: Also include watchonly addresses
          example: '?includewatchonly=true'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: string
                      description: Zaddr's belonging to wallet
              example:
                status: success
                data:
                  - >-
                    zcQNG88SQVQTuqGKdeDDhVRCXkHeR3Vv5BqeBBaYziyN48FpJM2buK1YmQtpKoVkwrM2vvhCdrVofkdLc8QYeSLyiAkQB1u
                  - >-
                    za1j9fkv2p20t5pvzkxz5wnhxnwkf9mc7hmes9x4qfsy8z2zaq38fwpvny07lf4ynpul0gsq8d790v
                  - >-
                    za1kqwgkln5azfnnzfps0vc44ucwynstxk9k79z6nunwq0pnh4rjuww5kgy02c9wvfmdkxkxndlvdd
  /daemon/zlistoperationids:
    get:
      tags:
        - Daemon
      summary: Get list of operation ids
      description: >-
        Returns the list of operation ids currently known to the wallet.
        **Admin**
      operationId: zListOperationIds
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: string
                      description: Operation id
              example:
                status: success
                data:
                  - opid-6869eaa7-722f-4991-9a6e-fd6b4c388755
                  - opid-bdf41571-3a20-4a00-bbf2-d4e9ddbb3375
  /daemon/zlistreceivedbyaddress:
    get:
      tags:
        - Daemon
      summary: List of amounts received by zaddr
      description: >-
        Return a list of amounts received by a zaddr belonging to the node's
        wallet. **Admin**
      operationId: zListReceivedByAddress
      security:
        - ZelID: []
      parameters:
        - in: query
          name: address
          required: true
          schema:
            type: string
          description: The shielded address
          example: >-
            za1kqwgkln5azfnnzfps0vc44ucwynstxk9k79z6nunwq0pnh4rjuww5kgy02c9wvfmdkxkxndlvdd
        - in: query
          name: minconf
          schema:
            default: 1
            type: integer
          description: Only include transactions confirmed at least this many times
          example: 5
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        txid:
                          type: string
                          description: Transaction id
                        jsindex:
                          type: integer
                          description: Joinsplit index (sprout txs)
                        jsoutindex:
                          type: integer
                          description: Output index of the joinsplit (sprout txs)
                        amount:
                          type: number
                          description: The amount of value in the note
                        confirmations:
                          type: integer
                          description: Number of confirmations
                        time:
                          type: integer
                          description: >-
                            The transaction time in seconds since epoch (1 Jan
                            1970 GMT)
                        memo:
                          type: string
                          description: Hexadecimal string representation of memo field
                        outindex:
                          type: integer
                          description: Output index number
                        change:
                          type: boolean
                          description: >-
                            True if the address that received the note is also
                            one of the sending addresses
              example:
                status: success
                data:
                  - txid: >-
                      ed1e5e81e51505fbdfa9be60ebced208f1e3a5922b0f03ad050f6459fbd54501
                    amount: 0.001
                    confirmations: 106
                    time: 1589372036
                    memo: >-
                      f600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
                    outindex: 0
                    change: false
  /daemon/zlistunspent:
    get:
      tags:
        - Daemon
      summary: List of unspent shielded notes
      description: >-
        Returns array of unspent shielded notes with between minconf and maxconf
        (inclusive) confirmations. **Admin**
      operationId: zListUnspent
      security:
        - ZelID: []
      parameters:
        - in: query
          name: minconf
          schema:
            default: 1
            type: integer
          description: The minimum confirmations to filter
          example: 5
        - in: query
          name: maxconf
          schema:
            default: 9999999
            type: integer
          description: The maximum confirmations to filter
          example: 100000
        - in: query
          name: includewatchonly
          schema:
            default: false
            type: boolean
            enum:
              - true
              - false
          description: Also include watchonly addresses
          example: '?includewatchonly=true'
        - in: query
          name: addresses
          description: >
            Array of zaddrs (both Sprout and Sapling) to filter on.  Duplicate
            addresses not allowed.


            Example:

            -
            `addresses`=`["za1kqwgkln5azfnnzfps0vc44ucwynstxk9k79z6nunwq0pnh4rjuww5kgy02c9wvfmdkxkxndlvdd","zcQNG88SQVQTuqGKdeDDhVRCXkHeR3Vv5BqeBBaYziyN48FpJM2buK1YmQtpKoVkwrM2vvhCdrVofkdLc8QYeSLyiAkQB1u"]`
          schema:
            type: array
            items:
              type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        txid:
                          type: string
                          description: Tranaction id
                        jsindex:
                          type: integer
                          description: Joinsplit index (sprout txs)
                        jsoutindex:
                          type: integer
                          description: Output index of the joinsplit (sprout txs)
                        outindex:
                          type: integer
                          description: Output index (sapling)
                        confirmations:
                          type: integer
                          description: Number of confirmations
                        spendable:
                          type: boolean
                          description: >-
                            True if note can be spent by wallet, false if
                            address is watchonly
                        address:
                          type: string
                          description: The shielded address
                        amount:
                          type: number
                          description: Amount of value in the note
                        memo:
                          type: string
                          description: Hexademical string representation of memo field
                        change:
                          type: boolean
                          description: >-
                            True if the address that received the note is also
                            one of the sending addresses
              example:
                status: success
                data:
                  - txid: >-
                      5a115247fe1944daf91d0a66ee383beadecf4d591809eaecff33c93a00f13566
                    jsindex: 0
                    jsoutindex: 0
                    confirmations: 125
                    spendable: true
                    address: >-
                      zcQNG88SQVQTuqGKdeDDhVRCXkHeR3Vv5BqeBBaYziyN48FpJM2buK1YmQtpKoVkwrM2vvhCdrVofkdLc8QYeSLyiAkQB1u
                    amount: 0.001
                    memo: >-
                      f600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
                    change: false
                  - txid: >-
                      ed1e5e81e51505fbdfa9be60ebced208f1e3a5922b0f03ad050f6459fbd54501
                    confirmations: 123
                    spendable: true
                    address: >-
                      za1kqwgkln5azfnnzfps0vc44ucwynstxk9k79z6nunwq0pnh4rjuww5kgy02c9wvfmdkxkxndlvdd
                    amount: 0.001
                    memo: >-
                      f600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
                    change: false
  /daemon/zsendmany:
    post:
      tags:
        - Daemon
      summary: Send multiple transactions
      description: >-
        Send multiple times. Amounts are decimal numbers with at most 8 digits
        of precision. Change generated from a taddr flows to a new taddr
        address, while change generated from a zaddr returns to itself. When
        sending coinbase UTXOs to a zaddr, change is not allowed. The entire
        value of the UTXO(s) must be consumed. Before Acadia (Sapling)
        activates, the maximum number of zaddr outputs is 54 due to transaction
        size limits. **Admin**
      operationId: zSendManyPost
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                fromaddress:
                  type: string
                  description: The taddr or zaddr to send the funds from
                amounts:
                  type: array
                  description: An array of json objects representing the amounts to send
                  items:
                    type: object
                    properties:
                      address:
                        type: string
                        description: The taddr or zaddr to send the funds from
                      amount:
                        type: number
                        description: The numeric amount in FLUX is the value
                      memo:
                        type: string
                        description: >-
                          If the address is a zaddr, raw data represented in
                          hexadecimal string format. (optional)
                minconf:
                  type: integer
                  default: 1
                  description: Only use funds confirmed at least this many times (optional)
                fee:
                  type: number
                  default: 0.0001
                  description: The fee amount to attach to this transaction (optional)
            example:
              fromaddress: t1YvykLWgwT5yjVjt3GH9YEyaTdMgPsainF
              amounts:
                - address: >-
                    za1kqwgkln5azfnnzfps0vc44ucwynstxk9k79z6nunwq0pnh4rjuww5kgy02c9wvfmdkxkxndlvdd
                  amount: 0.0001
                  memo: 5465737420617069
              minconf: 2
              fee: 0.00001
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Operation id
              example:
                status: success
                data: opid-e3f36550-d5cc-419d-b39c-5e822ed1e3b8
    get:
      tags:
        - Daemon
      summary: Send multiple transactions
      description: >-
        Send multiple times. Amounts are decimal numbers with at most 8 digits
        of precision. Change generated from a taddr flows to a new taddr
        address, while change generated from a zaddr returns to itself. When
        sending coinbase UTXOs to a zaddr, change is not allowed. The entire
        value of the UTXO(s) must be consumed. Before Acadia (Sapling)
        activates, the maximum number of zaddr outputs is 54 due to transaction
        size limits. **Admin**
      operationId: zSendMany
      security:
        - ZelID: []
      parameters:
        - in: query
          name: fromaddress
          required: true
          schema:
            type: string
          description: The taddr or zaddr to send the funds from
          example: t1YvykLWgwT5yjVjt3GH9YEyaTdMgPsainF
        - in: query
          name: amounts
          description: >
            An array of json objects representing the amounts to send.


            Key/value pairs in order:

            - `address`: `<receiving address>`

            - `amount`: `<flux amount>`


            Url encoded example:

            -
            `amounts`=`%5B%7B%22address%22%3A%22za1kqwgkln5azfnnzfps0vc44ucwynstxk9k79z6nunwq0pnh4rjuww5kgy02c9wvfmdkxkxndlvdd%22%2C%22amount%22%3A0.001%7D%5D`
          required: true
          schema:
            type: array
            items:
              type: object
              properties:
                address:
                  type: string
                  description: The taddr or zaddr to send the funds from
                amount:
                  type: number
                  description: The numeric amount in FLUX is the value
                memo:
                  type: string
                  description: >-
                    If the address is a zaddr, raw data represented in
                    hexadecimal string format (optional)
          example: >-
            ?fromaddress=...&amounts=%5B%7B%22address%22%3A%22za1kqwgkln5azfnnzfps0vc44ucwynstxk9k79z6nunwq0pnh4rjuww5kgy02c9wvfmdkxkxndlvdd%22%2C%22amount%22%3A0.001%7D%5D
        - in: query
          name: minconf
          schema:
            type: integer
            default: 1
          description: Only use funds confirmed at least this many times
          example: '?fromaddress=...&amounts=...&minconf=5'
        - in: query
          name: fee
          schema:
            default: 0.0001
            type: number
          description: The fee amount to attach to this transaction
          example: '?fromaddress=...&amounts=...&fee=0.000005'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Operation id
              example:
                status: success
                data: opid-6869eaa7-722f-4991-9a6e-fd6b4c388755
  /daemon/zsetmigration:
    get:
      tags:
        - Daemon
      summary: Migrate funds to a sapling adress
      description: >-
        When enabled the Sprout to Sapling migration will attempt to migrate all
        funds from this wallet’s sprout addresses to either the address for
        sapling account 0 or the address specified by the parameter
        '-migrationdestaddress'. This migration is designed to minimize
        information leakage. As a result for wallets with a significant sprout
        balance, this process may take several weeks. The migration works by
        sending, up to 5, as many transactions as possible whenever the
        blockchain reaches a height equal to 499 modulo 500. The transaction
        amounts are picked according to the random distribution specified in ZIP
        308. The migration will end once the wallet’s sprout balance is below
        0.01 FLUX. **Admin**
      operationId: zSetMigration
      security:
        - ZelID: []
      parameters:
        - in: query
          name: enabled
          required: true
          schema:
            type: boolean
            enum:
              - true
              - false
          description: True or false to enable or disable respectively
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/nullmessage'
              example:
                status: success
                data: null
  /daemon/zshieldcoinbase:
    get:
      tags:
        - Daemon
      summary: Shield coinbase
      description: >-
        Shield transparent coinbase funds by sending to a shielded zaddr. This
        is an asynchronous operation and utxos selected for shielding will be
        locked. If there is an error, they are unlocked.  The RPC call
        listlockunspent can be used to return a list of locked utxos.  The
        number of coinbase utxos selected for shielding can be limited by the
        caller. If the limit parameter is set to zero, and Overwinter is not yet
        active, the -mempooltxinputlimit option will determine the number of
        uxtos. Any limit is constrained by the consensus rule defining a maximum
        transaction size of 100000 bytes before Acadia (Sapling,) and 2000000
        bytes once Acadia (Sapling) activates.. **Admin**
      operationId: zShieldCoinBase
      security:
        - ZelID: []
      parameters:
        - in: query
          name: fromaddress
          required: true
          schema:
            type: string
          description: The address is a taddr or "*" for all taddrs belonging to the wallet
          example: '"*"'
        - in: query
          name: toaddress
          required: true
          schema:
            type: string
          description: Zaddr to shield funds to
          example: >-
            za1kqwgkln5azfnnzfps0vc44ucwynstxk9k79z6nunwq0pnh4rjuww5kgy02c9wvfmdkxkxndlvdd
        - in: query
          name: fee
          schema:
            default: 0.0001
            type: number
          description: The fee amount to attach to this transaction
        - in: query
          name: limit
          schema:
            default: 50
            type: integer
          description: >-
            Limit on the maximum number of utxos to shield.  Set to 0 to use
            node option -mempooltxinputlimit (before Overwinter), or as many as
            will fit in the transaction (after Overwinter).
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      remainingUTXOs:
                        type: integer
                        description: Number of coinbase utxos still available for shielding
                      remainingValue:
                        type: number
                        description: Value of coinbase utxos still available for shielding
                      shieldingUTXOs:
                        type: integer
                        description: Number of coinbase utxos being shielded
                      shieldingValue:
                        type: number
                        description: Value of coinbase utxos being shielded
                      opid:
                        type: string
                        description: >-
                          An operationid to pass to z_getoperationstatus to get
                          the result of the operation
              example:
                status: success
                data:
                  remainingUTXOs: 0
                  remainingValue: 0
                  shieldingUTXOs: 206
                  shieldingValue: 3285
                  opid: opid-55742ed9-021c-4fa7-9cd4-2d96843d1476
  /daemon/start:
    get:
      tags:
        - Daemon
      summary: Start Flux daemon
      description: >-
        Tries to start Flux daemon running on the FluxNode the call is run
        against without any extra parameters. **AdminAndFluxTeam**
      operationId: startdaemonB
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Flux successfully started
  /daemon/restart:
    get:
      tags:
        - Daemon
      summary: Restart Flux daemon
      description: >-
        Tries to restart Flux daemon running on the FluxNode the call is run
        against. Flux daemon is firstly stopped and then started without any
        extra parameters. **AdminAndFluxTeam**
      operationId: restartdaemonB
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Flux successfully restarted
  /daemon/ping:
    get:
      tags:
        - Daemon
      summary: Ping request to measure ping time
      description: >-
        Requests that a ping be sent to all other nodes, to measure ping time.
        **AdminAndFluxTeam**
      operationId: ping
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/nullmessage'
              example:
                status: success
                data: null
  /daemon/zcbenchmark:
    get:
      tags:
        - Daemon
      summary: Run benchmark of selected type and samplecount times
      description: >-
        Runs a benchmark of the selected type and samplecount times, returning
        the running times of each sample. **AdminAndFluxTeam**
      operationId: zcBenchmark
      security:
        - ZelID: []
      parameters:
        - in: query
          name: benchmarktype
          required: true
          schema:
            type: string
            enum:
              - sleep
              - parameterloading
              - createjoinsplit
              - verifyjoinsplit
              - solveequihash
              - verifyequihash
              - validatelargetx
              - trydecryptnotes
              - trydecryptsaplingnotes
              - incnotewitnesses
              - incsaplingnotewitnesses
              - connectblockslow
              - sendtoaddress
              - loadwallet
              - listunspent
              - createsaplingspend
              - createsaplingoutput
              - verifysaplingspend
              - verifysaplingoutput
          description: Type of benchmark. Listed is just some of the benchmark types.
          example: '?benchmarktype=sleep'
        - in: query
          name: samplecount
          required: true
          schema:
            type: integer
          description: Number of samples
          example: 2
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        runningtime:
                          type: number
                          description: Running time of the sample.
              example:
                status: success
                data:
                  - runningtime: 0.636
                  - runningtime: 0.652
  /daemon/startbenchmark:
    get:
      tags:
        - Daemon
      summary: Start Benchmark daemon
      description: Start Benchmark daemon. **AdminAndFluxTeam**
      operationId: daemonstartbenchmark
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Explanation of status
              example:
                status: success
                data: Starting process
  /daemon/stopbenchmark:
    get:
      tags:
        - Daemon
      summary: Stop Benchmark daemon
      description: Stop Benchmark daemon. **AdminAndFluxTeam**
      operationId: stopbenchmark
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Explanation of status
              example:
                status: success
                data: Stopping process
  /benchmark/getstatus:
    get:
      tags:
        - Benchmark
      summary: Fluxbench status
      description: >-
        This will return the status of the node, what FluxBenchd determined the
        tier the server could pass for, and if Flux backend is connected. If any
        one of these return a negative result the FluxNode will fail to confirm.
        **Public**
      operationId: getStatus
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/benchstatus'
              example:
                status: success
                data:
                  status: online
                  benchmarking: NIMBUS
  /benchmark/help:
    get:
      tags:
        - Benchmark
      summary: Fluxbench calls
      description: This will return with a list of calls for FluxBench. **Public**
      operationId: benchmarkHelp
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: List of calls
              example:
                status: success
                data: |-
                  == Benchmarks ==
                  getstatus (full_check)
                  restartnodebenchmarks
                  signfluxnodetransaction "hexstring"
                  startmultiportbench

                  == Control ==
                  help ( "command" )
                  stop

                  == Fluxnode ==
                  getbenchmarks
                  getinfo
  /benchmark/getbenchmarks:
    get:
      tags:
        - Benchmark
      summary: Benchmark results
      description: Return most recent benchmark results. **Public**
      operationId: getBenchmarksBenchmark
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/getbenchmarks'
              example:
                status: success
                data:
                  ipaddress: 149.154.176.24
                  architecture: amd64
                  armboard: ''
                  status: STRATUS
                  time: 1692898160
                  real_cores: 8
                  cores: 16
                  ram: 62
                  ssd: 880
                  hdd: 0
                  ddwrite: 830.878984375
                  totalstorage: 880
                  disksinfo:
                    - disk: sda
                      size: 880
                      writespeed: 830.878984375
                  eps: 3449.12
                  ping: 0.733
                  download_speed: 1370.830928
                  upload_speed: 4973.01136
                  bench_version: 1.0.20
                  speed_version: 1.2.0
                  thunder: false
                  error: ''
  /benchmark/getinfo:
    get:
      tags:
        - Benchmark
      summary: Fluxbench status
      description: This will return with the fluxbench status of the fluxnode. **Public**
      operationId: benchmarkGetInfo
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/benchinfo'
              example:
                status: success
                data:
                  version: 3.8.0
                  rpcport: 16224
  /benchmark/restartnodebenchmarks:
    get:
      tags:
        - Benchmark
      summary: Restart FluxBench daemon
      description: >-
        This will restart the FluxBench daemon and start bench process.
        **AdminAndFluxTeam**
      operationId: restartNodeBenchmarks
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Explanation of status
              example:
                status: success
                data: Benchmarks will restart in the next couple minutes
  /benchmark/stop:
    get:
      tags:
        - Benchmark
      summary: Stop fluxbench daemon
      description: This will stop the fluxbench daemon. **Admin**
      operationId: stopbenchmarkaemon
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Explanation of status
              example:
                status: success
                data: Fluxbench server stopping
  /benchmark/signfluxnodetransaction:
    post:
      tags:
        - Benchmark
      summary: Sign FluxNode transaction
      description: Command to get FluxBenchd to sign a FluxNode broadcast. **Admin**
      operationId: signFluxNodeTransactionPost
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                hexstring:
                  type: string
                  description: The hex encoded FluxNode broadcast message
            example:
              hexstring: >-
                0500000004566e906c6df24b00ca710cecbbea166a29b9098456bed212207fea66f433ba4500000000ba33bd5e01182ebd5e010f3131362e3230332e3233372e323530411b27b3e254a9f3248d88039a0f062e0d634e130bd34a9e4a1cb27d7aa6ce975cee251be9af6864a1a4a9e9d5fc2b28a07af8bab36a73f912c59ef844a69fa03f5f411c7f47ba609b2c0eb91268b446b31899ce66f90fa1375aab29692f1b252a53a9883120e10c646292486365608dc806c43e2d49b66afdd150a6a7f60b6b2392a83b
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/signfluxnodetransaction'
              example:
                status: success
                data:
                  status: complete
                  tier: CUMULUS
                  hex: >-
                    0500000004566e906c6df24b00ca710cecbbea166a29b9098456bed212207fea66f433ba4500000000ba33bd5e014d3cbd5e010f3131362e3230332e3233372e323530411b27b3e254a9f3248d88039a0f062e0d634e130bd34a9e4a1cb27d7aa6ce975cee251be9af6864a1a4a9e9d5fc2b28a07af8bab36a73f912c59ef844a69fa03f5f411b38e0e02dfece0ba3b7aae0afdcea7c70c9ea28b11317763f12092214086059e74d542cada464f3ee2c655011c53f6f18c0aa484bff8ce36926c6b295eb9287ff
    get:
      tags:
        - Benchmark
      summary: Sign FluxNode transaction
      description: Command to get FluxBenchd to sign a FluxNode broadcast. **Admin**
      operationId: signFluxNodeTransaction
      security:
        - ZelID: []
      parameters:
        - in: query
          name: hexstring
          required: true
          schema:
            type: string
          description: The hex encoded fluxnode broadcast message
          example: >-
            0500000004566e906c6df24b00ca710cecbbea166a29b9098456bed212207fea66f433ba4500000000ba33bd5e01182ebd5e010f3131362e3230332e3233372e323530411b27b3e254a9f3248d88039a0f062e0d634e130bd34a9e4a1cb27d7aa6ce975cee251be9af6864a1a4a9e9d5fc2b28a07af8bab36a73f912c59ef844a69fa03f5f411c7f47ba609b2c0eb91268b446b31899ce66f90fa1375aab29692f1b252a53a9883120e10c646292486365608dc806c43e2d49b66afdd150a6a7f60b6b2392a83b
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/signfluxnodetransaction'
              example:
                status: success
                data:
                  status: complete
                  tier: CUMULUS
                  hex: >-
                    0500000004566e906c6df24b00ca710cecbbea166a29b9098456bed212207fea66f433ba4500000000ba33bd5e014d3cbd5e010f3131362e3230332e3233372e323530411b27b3e254a9f3248d88039a0f062e0d634e130bd34a9e4a1cb27d7aa6ce975cee251be9af6864a1a4a9e9d5fc2b28a07af8bab36a73f912c59ef844a69fa03f5f411b38e0e02dfece0ba3b7aae0afdcea7c70c9ea28b11317763f12092214086059e74d542cada464f3ee2c655011c53f6f18c0aa484bff8ce36926c6b295eb9287ff
  /syncthing/system/error:
    post:
      tags:
        - Syncthing
      summary: Set an error message
      description: >-
        Post with an error message in the body (plain text) to register a new
        error. The new error will be displayed on any active GUI clients.
        **AdminAndFluxTeam**
      operationId: fluxSyncthingSystemErrorPOST
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: string
            example: Test error
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: The signature of the message encoded in base 64.
              example:
                status: success
                data: ''
    get:
      tags:
        - Syncthing
      summary: List of error messages
      description: Get list with error message. **Admin**
      operationId: fluxSyncthingSystemErrorGET
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      errors:
                        type: array
                        items:
                          type: object
                          properties:
                            when:
                              type: string
                            message:
                              type: object
                            level:
                              type: integer
              example:
                status: success
                data:
                  errors:
                    - when: '2023-07-05T07:37:14.488184449Z'
                      message: '{"Test error":""}'
                      level: 3
  /syncthing/system/error/clear:
    post:
      tags:
        - Syncthing
      summary: Remove all recent errors
      description: Post with empty body to remove all recent errors. **Admin**
      operationId: fluxSyncthingSystemErrorClear
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data: ''
  /syncthing/system/version:
    get:
      tags:
        - Syncthing
      summary: Syncthing version information
      description: Returns the current Syncthing version information. **Admin**
      operationId: fluxSyncthingSystemVersion
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      arch:
                        type: string
                      codename:
                        type: string
                      container:
                        type: boolean
                      date:
                        type: string
                      isBeta:
                        type: boolean
                      isCandidate:
                        type: boolean
                      isRelease:
                        type: boolean
                      longVersion:
                        type: string
                      os:
                        type: string
                      stamp:
                        type: string
                      tags:
                        type: array
                        items:
                          type: string
                      user:
                        type: string
                      version:
                        type: string
              example:
                status: success
                data:
                  arch: amd64
                  codename: Fermium Flea
                  container: false
                  date: '2023-01-02T03:45:30Z'
                  isBeta: false
                  isCandidate: false
                  isRelease: true
                  longVersion: >-
                    syncthing v1.23.0 "Fermium Flea" (go1.19.4 linux-amd64)
                    deb@build.syncthing.net 2023-01-02 03:45:30 UTC [noupgrade]
                  os: linux
                  stamp: '1672631130'
                  tags:
                    - noupgrade
                  user: deb
                  version: v1.23.0
  /syncthing/system/upgrade:
    post:
      tags:
        - Syncthing
      summary: Perform an upgrade
      description: >-
        Perform an upgrade to the newest released version and restart. Does
        nothing if there is no newer version than currently running. **Admin**
      operationId: fluxSyncthingUpgradePOST
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: The signature of the message encoded in base 64.
              example:
                status: success
                data: ''
    get:
      tags:
        - Syncthing
      summary: Checks for a possible upgrade
      description: >-
        Checks for a possible upgrade and returns an object describing the
        newest version and upgrade possibility. **Public**
      operationId: fluxSyncthingUpgradeGET
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      latest:
                        type: string
                      majorNewer:
                        type: boolean
                      newer:
                        type: boolean
                      running:
                        type: string
              example:
                status: success
                data:
                  latest: v0.14.47
                  majorNewer: false
                  newer: true
                  running: v0.14.46
  /syncthing/system/browse:
    get:
      tags:
        - Syncthing
      summary: Returns a list of directories
      description: >-
        Returns a list of directories matching the path given by the optional
        parameter *current*. The path can use patterns as described in Go’s
        filepath package. A ‘*’ will always be appended to the given path (e.g.
        /tmp/ matches all its subdirectories). If the option *current* is not
        given, filesystem root paths are returned. **Admin**
      operationId: fluxSyncthingSysytemBrowse
      security:
        - ZelID: []
      parameters:
        - in: query
          name: current
          schema:
            type: string
          description: Path name.
          example: /var/
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: string
              example:
                status: success
                data:
                  - /var/backups/
                  - /var/cache/
                  - /var/crash/
                  - /var/lib/
                  - /var/local/
                  - /var/lock/
                  - /var/log/
                  - /var/mail/
                  - /var/opt/
                  - /var/run/
                  - /var/snap/
                  - /var/spool/
                  - /var/tmp/
                  - /var/www/
  /syncthing/system/pause:
    get:
      tags:
        - Syncthing
      summary: Pause the given device or all devices
      description: >-
        Pause the given device or all devices. Takes the optional parameter
        device (device ID). When omitted, pauses all devices. Returns status 200
        and no content upon success, or status 500 and a plain text error on
        failure. **Admin**
      operationId: fluxSyncthingSysytemPause
      security:
        - ZelID: []
      parameters:
        - in: query
          name: device
          schema:
            type: string
          description: Device ID (optional).
          example: 7IKKJI5E346YQTBCVFJMH6O5VBNHZXRLVCG7HE6I5ZV6B8SLMTNJAFAO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data: ''
  /syncthing/system/resume:
    get:
      tags:
        - Syncthing
      summary: Resume the given device or all devices
      description: >-
        Resume the given device or all devices. Takes the optional parameter
        device (device ID). When omitted, pauses all devices. Returns status 200
        and no content upon success, or status 500 and a plain text error on
        failure. **Admin**
      operationId: fluxSyncthingSysytemResume
      security:
        - ZelID: []
      parameters:
        - in: query
          name: device
          schema:
            type: string
          description: Device ID (optional).
          example: 7IKKJI5-E346YQT-BCVFJMH-6O5VBNH-ZXRLVCG-7HE6I5Z-V6B8SLM-TNJAFAO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data: ''
  /syncthing/system/restart:
    get:
      tags:
        - Syncthing
      summary: Restart Syncthing
      description: Immediately restart Syncthing. **Admin**
      operationId: fluxSyncthingSystemRestart
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      ok:
                        type: string
              example:
                status: success
                data:
                  ok: restarting
  /syncthing/system/shutdown:
    get:
      tags:
        - Syncthing
      summary: Shutdown Syncthing
      description: Immediately shutdown Syncthing. **Admin**
      operationId: fluxSyncthingSystemShutdown
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      ok:
                        type: string
              example:
                status: success
                data:
                  ok: shutting down
  /syncthing/system/reset:
    get:
      tags:
        - Syncthing
      summary: Erase the current index database and restart Syncthing
      description: >-
        Erase the current index database and restart Syncthing. With no query
        parameters, the entire database is erased from disk. By specifying the
        folder parameter with a valid folder ID, only information for that
        folder will be erased. **Admin**
      operationId: fluxSyncthingSystemReset
      security:
        - ZelID: []
      parameters:
        - in: query
          name: folder
          schema:
            type: string
          description: >-
            Folder ID (optional) <br><br>**Caution** See ***--reset-database***
            for .stfolder creation side-effect and caution regarding
            mountpoints.
          example: ab1c2-def3g
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      ok:
                        type: string
              example:
                status: success
                data:
                  ok: resetting database
  /syncthing/system/status:
    get:
      tags:
        - Syncthing
      summary: Status of Syncthing
      description: >-
        Returns information about current system status and resource usage. The
        CPU percent value has been deprecated from the API and will always
        report 0. **Public**
      operationId: fluxSyncthingSystemStatus
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  alloc: 18917280
                  connectionServiceStatus:
                    quic://:16129:
                      error: null
                      lanAddresses:
                        - quic://:16129
                        - quic://172.23.48.1:16129
                        - quic://172.17.0.1:16129
                        - quic://172.23.52.1:16129
                      wanAddresses:
                        - quic://:16129
                    tcp://:16129:
                      error: null
                      lanAddresses:
                        - tcp://:16129
                        - tcp://172.23.48.1:16129
                        - tcp://172.17.0.1:16129
                        - tcp://172.23.52.1:16129
                      wanAddresses:
                        - tcp://0.0.0.0:0
                        - tcp://:16129
                  cpuPercent: 0
                  goroutines: 51
                  guiAddressOverridden: false
                  guiAddressUsed: 127.0.0.1:8384
                  lastDialStatus: {}
                  myID": >-
                    7IKKJI5-E34NYQT-BCVFJMH-6O5YBNH-ZXRLVCG-7HE6I5Z-V6B5SLM-TNJAFAO
                  pathSeparator: /
                  startTime: '2023-07-06T16:14:18Z'
                  sys: 34632968
                  tilde: /root
                  uptime: 1769
                  urVersionMax: 3
  /syncthing/system/paths:
    get:
      tags:
        - Syncthing
      summary: Returns the path locations
      description: >-
        Returns the path locations used internally for storing configuration,
        database, and others. **Admin**
      operationId: fluxSyncthingSysytemPath
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  auditLog: /home/fluxservice/.config/syncthing/audit-${timestamp}.log
                  baseDir-config: /home/fluxservice/.config/syncthing
                  baseDir-data: /home/fluxservice/.config/syncthing
                  baseDir-userHome": /root
                  certFile: /home/fluxservice/.config/syncthing/cert.pem
                  config: /home/fluxservice/.config/syncthing/config.xml
                  csrfTokens: /home/fluxservice/.config/syncthing/csrftokens.txt
                  database: /home/fluxservice/.config/syncthing/index-v0.14.0.db
                  defFolder: /root/Sync
                  guiAssets: /home/fluxservice/.config/syncthing/gui
                  httpsCertFile: /home/fluxservice/.config/syncthing/https-cert.pem
                  httpsKeyFile: /home/fluxservice/.config/syncthing/https-key.pem
                  keyFile: /home/fluxservice/.config/syncthing/key.pem
                  logFile: /home/fluxservice/.config/syncthing/syncthing.log
                  panicLog: /home/fluxservice/.config/syncthing/panic-${timestamp}.log
  /syncthing/system/connections:
    get:
      tags:
        - Syncthing
      summary: >-
        Returns the list of configured devices and some metadata associated with
        them
      description: >-
        Returns the list of configured devices and some metadata associated with
        them. The list also contains the local device itself as not connected.
        The connection types are TCP (Client), TCP (Server), Relay (Client) and
        Relay (Server). **Public**
      operationId: fluxSyncthingSysytemConnections
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  connections:
                    7IKKJI5-E34NYQT-BCVFJMH-6O5YBNH-ZXRLVCG-7HE6I5Z-V6B5SLM-TNJAFAO:
                      at: '0001-01-01T00:00:00Z'
                      inBytesTotal: 0
                      outBytesTotal: 0
                      startedAt: '0001-01-01T00:00:00Z'
                      connected: false
                      paused: true
                      address: ''
                      clientVersion: ''
                      type: ''
                      isLocal: false
                      crypto: ''
                    total:
                      at: '2023-07-07T12:39:04Z'
                      inBytesTotal: 0
                      outBytesTotal: 0
  /syncthing/system/discovery:
    get:
      tags:
        - Syncthing
      summary: Returns/Add local discovery cache
      description: Returns the contents of the local discovery cache. **Admin**
      operationId: fluxSyncthingSysytemDiscovery
      security:
        - ZelID: []
      parameters:
        - in: query
          name: device
          schema:
            type: string
          description: DeviceID
          example: LGFPDIT7SKNNJVJZA4FC7QNCRKCE753K72BW5QD2FOZ7FRFEP57Q
        - in: query
          name: addr
          schema:
            type: string
          description: Addres with port
          example: 192.162.129.11:22000
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  LGFPDIT7SKNNJVJZA4FC7QNCRKCE753K72BW5QD2FOZ7FRFEP57Q:
                    - 192.162.129.11:22000
  /syncthing/system/debug:
    get:
      tags:
        - Syncthing
      summary: Returns the set of debug facilities.
      description: >-
        Returns the set of debug facilities and which of them are currently
        enabled. Enables or disables debugging for specified facilities. Give
        one or both of enable and disable query parameters, with comma separated
        facility names. To disable debugging of the beacon and discovery
        packages, and enable it for config and db. **Admin**
      operationId: fluxSyncthingSysytemDebug
      security:
        - ZelID: []
      parameters:
        - in: query
          name: disable
          schema:
            type: string
          description: List of facilities to disable (optional).
          example: beacon,discovery
        - in: query
          name: enable
          schema:
            type: string
          description: List of facilities to enable (optional).
          example: config,db
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  enabled: []
                  facilities:
                    api: REST API
                    app: Main run facility
                    backend: The database backend
                    beacon: Multicast and broadcast discovery
                    config: Configuration loading and saving
                    connections: Connection handling
                    db: The database layer
                    dialer: Dialing connections
                    discover: Remote device discovery
                    events: Event generation and logging
                    fs: Filesystem access
                    main: Main package
                    model: The root hub
                    nat: NAT discovery and port mapping
                    pmp: NAT-PMP discovery and port mapping
                    protocol: The BEP protocol
                    relay: ''
                    scanner: File change detection and hashing
                    sha256: SHA256 hashing package
                    stats: Persistent device and folder statistics
                    stun: STUN functionality
                    sync: Mutexes
                    upgrade: Binary upgrades
                    upnp: UPnP discovery and port mapping
                    ur: Usage reporting
                    versioner: File versioning
                    walkfs: Filesystem access while walking
                    watchaggregator: Filesystem event watcher
  /syncthing/system/log:
    get:
      tags:
        - Syncthing
      summary: Returns the list of recent log entries
      description: >-
        Returns the list of recent log entries. The optional `since` parameter
        limits the results to message newer than the given timestamp in ***RFC
        3339*** format. **Admin**
      operationId: fluxSyncthingSysytemLog
      security:
        - ZelID: []
      parameters:
        - in: query
          name: since
          schema:
            type: string
          description: Timestamp in ***RFC 3339*** format (optional).
          example: '2023-07-07T13:31:17.470078189Z'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  messages:
                    - when: '2023-07-07T13:32:18.731098696Z'
                      message: 'Listen (BEP/tcp): TLS handshake: EOF'
                      level: 2
                    - when: '2023-07-07T13:33:19.073234782Z'
                      message: 'Listen (BEP/tcp): TLS handshake: EOF'
                      level: 2
                    - when: '2023-07-07T13:34:26.47010488Z'
                      message: 'Listen (BEP/tcp): TLS handshake: EOF'
                      level: 2
  /syncthing/system/logtxt:
    get:
      tags:
        - Syncthing
      summary: Returns the list of recent log entries as text
      description: >-
        Returns the list of recent log entries as text. The optional `since`
        parameter limits the results to message newer than the given timestamp
        in ***RFC 3339*** format. **Admin**
      operationId: fluxSyncthingSysytemLogTxt
      security:
        - ZelID: []
      parameters:
        - in: query
          name: since
          schema:
            type: string
          description: Timestamp in ***RFC 3339*** format (optional).
          example: '2023-07-07T13:31:17.470078189Z'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data: |
                  2023-07-07T13:32:18Z: Listen (BEP/tcp): TLS handshake: EOF
                  2023-07-07T13:33:19Z: Listen (BEP/tcp): TLS handshake: EOF
                  2023-07-07T13:34:26Z: Listen (BEP/tcp): TLS handshake: EOF
                  2023-07-07T13:35:26Z: Listen (BEP/tcp): TLS handshake: EOF
                  2023-07-07T13:36:28Z: Listen (BEP/tcp): TLS handshake: EOF
                  2023-07-07T13:37:28Z: Listen (BEP/tcp): TLS handshake: EOF
                  2023-07-07T13:38:30Z: Listen (BEP/tcp): TLS handshake: EOF
                  2023-07-07T13:39:30Z: Listen (BEP/tcp): TLS handshake: EOF
                  2023-07-07T13:40:31Z: Listen (BEP/tcp): TLS handshake: EOF
                  2023-07-07T13:41:31Z: Listen (BEP/tcp): TLS handshake: EOF
                  2023-07-07T13:42:32Z: Listen (BEP/tcp): TLS handshake: EOF
                  2023-07-07T13:43:32Z: Listen (BEP/tcp): TLS handshake: EOF
                  2023-07-07T13:44:34Z: Listen (BEP/tcp): TLS handshake: EOF
                  2023-07-07T13:45:35Z: Listen (BEP/tcp): TLS handshake: EOF
  /syncthing/system/ping:
    get:
      tags:
        - Syncthing
      summary: Ping pong tester call
      description: 'Return ```{"ping": "pong"}``` object. **Public**'
      operationId: fluxSyncthingSysytemPing
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  ping: pong
  /syncthing/config:
    get:
      tags:
        - Syncthing
      summary: Returns config
      description: Returns the entire config. **Admin**
      operationId: fluxSyncthingConfig
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  version: 37,
                  folders: []
                  devices:
                    - deviceID: >-
                        7IKKJI5-E34NYQT-BCVFJMH-6O5YBNH-ZXRLVCG-7HE6I5Z-V6B5SLM-TNJAFAO
                      name: pcservice
                      addresses:
                        - dynamic
                compression: metadata
                certName: ''
                introducer: false
                skipIntroductionRemovals: false
                introducedBy: ''
                paused: true
                allowedNetworks: []
                autoAcceptFolders: false
                maxSendKbps: 0
                maxRecvKbps: 0
                ignoredFolders: []
                maxRequestKiB: 0
                untrusted: false
                remoteGUIPort: 0
                gui:
                  enabled: true
                  address: 127.0.0.1:8384
                  unixSocketPermissions: ''
                  user: ''
                  password: ''
                  authMode: static
                  useTLS: false,
                  apiKey: bpNaKvaT46CmSyfrjFptp2g2zmLU7s
                  insecureAdminAccess: false
                  theme: default
                  debugging: false
                  insecureSkipHostcheck: false
                  insecureAllowFrameLoading: false
                ldap:
                  address: ''
                  bindDN: ''
                  transport: plain
                  insecureSkipVerify: false
                  searchBaseDN: ''
                  searchFilter: ''
                options:
                  listenAddresses:
                    - tcp://:16129
                    - quic://:16129
                  globalAnnounceServers:
                    - default
                  globalAnnounceEnabled: false
                  localAnnounceEnabled: false
                  localAnnouncePort: 21027
                  localAnnounceMCAddr: '[ff12::8384]:21027'
                  maxSendKbps: 0
                  maxRecvKbps: 0
                  reconnectionIntervalS: 60
                  relaysEnabled: true
                  relayReconnectIntervalM: 10
                  startBrowser: true
                  natEnabled: false
                  natLeaseMinutes: 60
                  natRenewalMinutes: 30
                  natTimeoutSeconds: 10
                  urAccepted: 0
                  urSeen: 0
                  urUniqueId: ''
                  urURL: https://data.syncthing.net/newdata
                  urPostInsecurely: false
                  urInitialDelayS: 1800
                  autoUpgradeIntervalH: 12
                  upgradeToPreReleases: false
                  keepTemporariesH: 24
                  cacheIgnoredFiles: false
                  progressUpdateIntervalS: 5
                  limitBandwidthInLan: false
                  minHomeDiskFree:
                    value: 1
                    unit": '%'
                  releasesURL: https://upgrades.syncthing.net/meta.json
                  alwaysLocalNets: []
                  overwriteRemoteDeviceNamesOnConnect: false
                  tempIndexMinBlocks: 10
                  unackedNotificationIDs:
                    - authenticationUserAndPassword
                  trafficClass: 0
                  setLowPriority: true
                  maxFolderConcurrency: 0
                  crURL: https://crash.syncthing.net/newcrash
                  crashReportingEnabled: true
                  stunKeepaliveStartS: 180
                  stunKeepaliveMinS: 20
                  stunServers:
                    - default
                  databaseTuning: auto
                  maxConcurrentIncomingRequestKiB: 0
                  announceLANAddresses: true
                  sendFullIndexOnUpgrade: false
                  featureFlags: []
                  connectionLimitEnough: 0
                  connectionLimitMax: 0
                  insecureAllowOldTLSVersions: false
                remoteIgnoredDevices: []
                defaults:
                  folder:
                    id: ''
                    label: ''
                    filesystemType: basic
                    path: '~'
                    type: sendreceive
                    devices:
                      - deviceID: >-
                          7IKKJI5-E34NYQT-BCVFJMH-6O5YBNH-ZXRLVCG-7HE6I5Z-V6B5SLM-TNJAFAO
                        introducedBy: ''
                        encryptionPassword: ''
                    rescanIntervalS: 3600
                    fsWatcherEnabled: true
                    fsWatcherDelayS: 10
                    ignorePerms: false
                    autoNormalize: true
                    minDiskFree:
                      value: 1
                      unit: '%'
                    versioning:
                      type: ''
                      params: {}
                      cleanupIntervalS: 3600
                      fsPath: ''
                      fsType: basic
                    copiers: 0
                    pullerMaxPendingKiB: 0
                    hashers: 0,
                    order: random
                    ignoreDelete: false
                    scanProgressIntervalS: 0
                    pullerPauseS: 0
                    maxConflicts: 0
                    disableSparseFiles: false
                    disableTempIndexes: false
                    paused: false
                    weakHashThresholdPct: 25
                    markerName: .stfolder
                    copyOwnershipFromParent: false
                    modTimeWindowS: 0
                    maxConcurrentWrites: 2
                    disableFsync: false,
                    blockPullOrder: standard
                    copyRangeMethod: standard
                    caseSensitiveFS: false
                    junctionsAsDirs: false
                    syncOwnership: true
                    sendOwnership: true
                    syncXattrs: true
                    sendXattrs: true
                    xattrFilter:
                      entries: []
                      maxSingleEntrySize: 1024
                      maxTotalSize: 4096
                  device:
                    deviceID: ''
                    name: ''
                    addresses:
                      - dynamic
                    compression: metadata
                    certName: ''
                    introducer: false
                    skipIntroductionRemovals: false
                    introducedBy: ''
                    paused: false
                    allowedNetworks: []
                    autoAcceptFolders: false
                    maxSendKbps: 0
                    maxRecvKbps: 0
                    ignoredFolders: []
                    maxRequestKiB: 0
                    untrusted: false
                    remoteGUIPort: 0
                  ignores:
                    lines: []
  /syncthing/config/devices:
    get:
      tags:
        - Syncthing
      summary: Returns device config section
      description: >-
        Returns all devices as an array. Returns the device for the given ID.
        **Public**
      operationId: fluxSyncthingConfigDevices
      security: []
      parameters:
        - in: query
          name: id
          schema:
            type: string
          description: DeviceID
          example: PVI7HIK-QOY4UCX-5UGMOMA-A5E2ZXN-D2IOC5R-7ADG2X7-6G33ELX-APLV4QQ
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  deviceID: >-
                    PVI7HIK-QOY4UCX-5UGMOMA-A5E2ZXN-D2IOC5R-7ADG2X7-6G33ELX-APLV4QQ
                  name: Ubuntu-2004-focal-64-minimal
                  addresses:
                    - dynamic
                  compression: metadata
                  certName: ''
                  introducer: false
                  skipIntroductionRemovals: false
                  introducedBy: ''
                  paused: false
                  allowedNetworks: []
                  autoAcceptFolders: false
                  maxSendKbps: 0
                  maxRecvKbps: 0
                  ignoredFolders: []
                  maxRequestKiB: 0
                  untrusted: false
                  remoteGUIPort: 0
  /syncthing/config/folders:
    get:
      tags:
        - Syncthing
      summary: Returns folder config section
      description: >-
        Returns all folders as an array. Returns the folders for the given ID.
        **Public**
      operationId: fluxSyncthingConfigFoldersGET
      security: []
      parameters:
        - in: query
          name: id
          schema:
            type: string
          description: FolderID
          example: ab1c2-def3g
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  - id: new-folder2
                    label: test
                    filesystemType: basic
                    path: /home/fluxservice/test2
                    type: sendreceive
                    devices:
                      - deviceID: >-
                          7IKKJI5-E34NYQT-BCVFJMH-6O5YBNH-ZXRLVCG-7HE6I5Z-V6B5SLM-TNJAFAO
                        introducedBy: ''
                        encryptionPassword: ''
                    rescanIntervalS: 3600
                    fsWatcherEnabled: true
                    fsWatcherDelayS: 10
                    ignorePerms: false
                    autoNormalize: true
                    minDiskFree:
                      value: 1
                      unit: '%'
                    versioning:
                      type: ''
                      params: {}
                      cleanupIntervalS: 3600
                      fsPath: ''
                      fsType: basic
                    copiers: 0
                    pullerMaxPendingKiB: 0
                    hashers: 0
                    order: random
                    ignoreDelete: false
                    scanProgressIntervalS: 0
                    pullerPauseS: 0
                    maxConflicts: 0
                    disableSparseFiles: false
                    disableTempIndexes: false
                    paused: false
                    weakHashThresholdPct: 25
                    markerName: .stfolder
                    copyOwnershipFromParent: false
                    modTimeWindowS: 0
                    maxConcurrentWrites: 2
                    disableFsync: false
                    blockPullOrder: standard
                    copyRangeMethod: standard
                    caseSensitiveFS: false
                    junctionsAsDirs: false
                    syncOwnership: true
                    sendOwnership: true
                    syncXattrs: true
                    sendXattrs: true
                    xattrFilter:
                      entries: []
                      maxSingleEntrySize: 1024
                      maxTotalSize: 4096
    post:
      tags:
        - Syncthing
      summary: Replace folder config section
      description: Replace folder config section. **Admin**
      operationId: fluxSyncthingConfigFoldersPOST
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
            example:
              config:
                id: new-folder2
                label: test
                filesystemType: basic
                path: /home/flux100/test2
                type: sendreceive
                devices:
                  - deviceID: >-
                      7IKKJI5-E34NYQT-BCVFJMH-6O5YBNH-ZXRLVCG-7HE6I5Z-V6B5SLM-TNJAFAO
                    introducedBy: ''
                    encryptionPassword: ''
                rescanIntervalS: 3600
                fsWatcherEnabled: true
                fsWatcherDelayS: 10
                ignorePerms: false
                autoNormalize: true
                minDiskFree:
                  value: 1
                  unit: '%'
                versioning:
                  type: ''
                  params: {}
                  cleanupIntervalS: 3600
                  fsPath: ''
                  fsType: basic
                copiers: 0
                pullerMaxPendingKiB: 0
                hashers: 0
                order: random
                ignoreDelete: false
                scanProgressIntervalS: 0
                pullerPauseS: 0
                maxConflicts: 0
                disableSparseFiles: false
                disableTempIndexes: false
                paused: false
                weakHashThresholdPct: 25
                markerName: .stfolder
                copyOwnershipFromParent: false
                modTimeWindowS: 0
                maxConcurrentWrites: 2
                disableFsync: false
                blockPullOrder: standard
                copyRangeMethod: standard
                caseSensitiveFS: false
                junctionsAsDirs: false
                syncOwnership: true
                sendOwnership: true
                syncXattrs: true
                sendXattrs: true
                xattrFilter:
                  entries: []
                  maxSingleEntrySize: 1024
                  maxTotalSize: 4096
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data: ''
  /syncthing/config/defaults/folder:
    get:
      tags:
        - Syncthing
      summary: Returns a template folder configuration
      description: >-
        Returns a template folder configuration object with all default values,
        which only needs a unique ID to be applied. **Public**
      operationId: fluxSyncthingConfigDefaultsFolder
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  id: ''
                  label: ''
                  filesystemType: basic
                  path: '~'
                  type: sendreceive
                  devices:
                    - deviceID: >-
                        7IKKJI5-E34NYQT-BCVFJMH-6O5YBNH-ZXRLVCG-7HE6I5Z-V6B5SLM-TNJAFAO
                      introducedBy: ''
                      encryptionPassword: ''
                  rescanIntervalS: 3600
                  fsWatcherEnabled: true
                  fsWatcherDelayS: 10
                  ignorePerms: false
                  autoNormalize: true
                  minDiskFree:
                    value: 1
                    unit: '%'
                  versioning:
                    type: ''
                    params: {}
                    cleanupIntervalS: 3600
                    fsPath: ''
                    fsType: basic
                  copiers: 0
                  pullerMaxPendingKiB: 0
                  hashers: 0
                  order: random
                  ignoreDelete: false
                  scanProgressIntervalS: 0
                  pullerPauseS: 0
                  maxConflicts: 0
                  disableSparseFiles: false
                  disableTempIndexes: false
                  paused: false
                  weakHashThresholdPct: 25
                  markerName: .stfolder
                  copyOwnershipFromParent: false
                  modTimeWindowS: 0
                  maxConcurrentWrites: 2
                  disableFsync: false
                  blockPullOrder: standard
                  copyRangeMethod: standard
                  caseSensitiveFS: false
                  junctionsAsDirs: false
                  syncOwnership: true
                  sendOwnership: true
                  syncXattrs: true
                  sendXattrs: true
                  xattrFilter:
                    entries: []
                    maxSingleEntrySize: 1024
                    maxTotalSize: 4096
  /syncthing/config/defaults/device:
    get:
      tags:
        - Syncthing
      summary: Returns a template device configuration
      description: >-
        Returns a template device configuration object with all default values,
        which only needs a unique ID to be applied. **Admin**
      operationId: fluxSyncthingConfigDefaultsDevice
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  deviceID: ''
                  name: ''
                  addresses:
                    - dynamic
                  compression: metadata
                  certName: ''
                  introducer: false
                  skipIntroductionRemovals: false
                  introducedBy: ''
                  paused: false
                  allowedNetworks: []
                  autoAcceptFolders: false
                  maxSendKbps: 0
                  maxRecvKbps: 0
                  ignoredFolders: []
                  maxRequestKiB: 0
                  untrusted: false
                  remoteGUIPort: 0
  /syncthing/config/defaults/ignores:
    get:
      tags:
        - Syncthing
      summary: Returns an object with a single lines attribute
      description: >-
        Returns an object with a single lines attribute listing ignore patterns
        to be used by default on folders, as an array of single-line strings.
        **Public**
      operationId: fluxSyncthingConfigIgnores
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      requiresRestart:
                        type: boolean
              example:
                status: success
                data:
                  lines: []
  /syncthing/config/options:
    get:
      tags:
        - Syncthing
      summary: Returns the respective object
      description: >-
        GET returns the respective object, PUT replaces the entire object and
        PATCH replaces only the given child objects. **Public**
      operationId: fluxSyncthingConfigOptions
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  listenAddresses:
                    - tcp://:16129
                    - quic://:16129
                  globalAnnounceServers:
                    - default
                  globalAnnounceEnabled: false
                  localAnnounceEnabled: false
                  localAnnouncePort: 21027
                  localAnnounceMCAddr: '[ff12::8384]:21027'
                  maxSendKbps: 0
                  maxRecvKbps: 0
                  reconnectionIntervalS: 60
                  relaysEnabled: true
                  relayReconnectIntervalM: 10
                  startBrowser: true
                  natEnabled: false
                  natLeaseMinutes: 60
                  natRenewalMinutes: 30
                  natTimeoutSeconds: 10
                  urAccepted: 0
                  urSeen: 0
                  urUniqueId: ''
                  urURL: https://data.syncthing.net/newdata
                  urPostInsecurely: false
                  urInitialDelayS: 1800
                  autoUpgradeIntervalH: 12
                  upgradeToPreReleases: false
                  keepTemporariesH: 24
                  cacheIgnoredFiles: false
                  progressUpdateIntervalS: 5
                  limitBandwidthInLan: false
                  minHomeDiskFree:
                    value: 1
                    unit: '%'
                  releasesURL: https://upgrades.syncthing.net/meta.json
                  alwaysLocalNets: []
                  overwriteRemoteDeviceNamesOnConnect: false
                  tempIndexMinBlocks: 10
                  unackedNotificationIDs:
                    - authenticationUserAndPassword
                  trafficClass: 0
                  setLowPriority: true
                  maxFolderConcurrency: 0
                  crURL: https://crash.syncthing.net/newcrash
                  crashReportingEnabled: true
                  stunKeepaliveStartS: 180
                  stunKeepaliveMinS: 20
                  stunServers:
                    - default
                  databaseTuning: auto
                  maxConcurrentIncomingRequestKiB: 0
                  announceLANAddresses: true
                  sendFullIndexOnUpgrade: false
                  featureFlags: []
                  connectionLimitEnough: 0
                  connectionLimitMax: 0
                  insecureAllowOldTLSVersions: false
  /syncthing/config/gui:
    get:
      tags:
        - Syncthing
      summary: Returns the respective object of gui config
      description: >-
        GET returns the respective object, PUT replaces the entire object and
        PATCH replaces only the given child objects. **Admin**
      operationId: fluxSyncthingConfigGuiGet
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  enabled: true
                  address: 127.0.0.1:8384
                  unixSocketPermissions: ''
                  user: ''
                  password: ''
                  authMode: static
                  useTLS: false
                  apiKey: bpNaKvaT76CmSycrj9JFptp2g2zmLU7s
                  insecureAdminAccess: false
                  theme: default
                  debugging: false
                  insecureSkipHostcheck: false
                  insecureAllowFrameLoading: false
    post:
      tags:
        - Syncthing
      summary: Replaces the entire gui object in config
      description: Replaces the entire gui object in config. **Admin**
      operationId: fluxSyncthingConfigGuiPost
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                config:
                  type: object
                  properties:
                    enabled:
                      type: boolean
                    address:
                      type: string
                      example: 127.0.0.1:8384
                    unixSocketPermissions:
                      type: string
                      example: ''
                    user:
                      type: string
                      example: ''
                    password:
                      type: string
                      example: ''
                    authMode:
                      type: string
                      example: static
                    useTLS:
                      type: boolean
                      example: false
                    apiKey:
                      type: string
                      example: bpNaKvaT72C8hfrxgh52g2zmLU7s
                    insecureAdminAccess:
                      type: boolean
                      example: false
                    theme:
                      type: string
                      example: default
                    debugging:
                      type: boolean
                    insecureSkipHostcheck:
                      type: boolean
                    insecureAllowFrameLoading:
                      type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data: ''
  /syncthing/config/ldap:
    get:
      tags:
        - Syncthing
      summary: Returns the respective object
      description: >-
        GET returns the respective object, PUT replaces the entire object and
        PATCH replaces only the given child objects. **Admin**
      operationId: fluxSyncthingConfigLdapGet
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  address: ''
                  bindDN: ''
                  transport: plain
                  insecureSkipVerify: false
                  searchBaseDN: ''
                  searchFilter: ''
    post:
      tags:
        - Syncthing
      summary: Replaces the entire ldap config object
      description: Replaces the entire ldap config object. **Admin**
      operationId: fluxSyncthingConfigLdapPost
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                config:
                  type: object
                  properties:
                    enabled:
                      type: boolean
                    address:
                      type: string
                      example: 127.0.0.1:8384
                    unixSocketPermissions:
                      type: string
                      example: ''
                    user:
                      type: string
                      example: ''
                    password:
                      type: string
                      example: ''
                    authMode:
                      type: string
                      example: static
                    useTLS:
                      type: boolean
                      example: false
                    apiKey:
                      type: string
                      example: bpNaKvaT72C8hfrxgh52g2zmLU7s
                    insecureAdminAccess:
                      type: boolean
                      example: false
                    theme:
                      type: string
                      example: default
                    debugging:
                      type: boolean
                    insecureSkipHostcheck:
                      type: boolean
                    insecureAllowFrameLoading:
                      type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  address: ''
                  bindDN: ''
                  transport: plain
                  insecureSkipVerify: false
                  searchBaseDN: ''
                  searchFilter: ''
  /syncthing/config/restart-required:
    get:
      tags:
        - Syncthing
      summary: Status of restart required
      description: >-
        GET returns whether a restart of Syncthing is required for the current
        config to take effect. **Public**
      operationId: fluxSyncthingConfigRestartRequired
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      requiresRestart:
                        type: boolean
              example:
                status: success
                data:
                  requiresRestart: false
  /syncthing/stats/device:
    get:
      tags:
        - Syncthing
      summary: Returns general statistics about devices
      description: >-
        Returns general statistics about devices. Currently, only contains the
        time the device was last seen and the last connection duration.
        **Public**
      operationId: fluxSyncthingStatsDevice
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  7IKKJI5-E34NYQT-BCVFJMH-6O5YBNH-ZXRLVCG-7HE6I5Z-V6B5SLM-TNJAFAO:
                    lastSeen: '1970-01-01T00:00:00Z'
                    lastConnectionDurationS: 0
  /syncthing/stats/folder:
    get:
      tags:
        - Syncthing
      summary: Returns general statistics about folder
      description: >-
        Returns general statistics about folders. Currently contains the last
        scan time and the last synced file. **Public**
      operationId: fluxSyncthingStatsFolder
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  fluxfrontend_peertube:
                    lastFile:
                      at: '2023-07-18T06:01:46Z'
                      filename: appdata/error.log
                      deleted: false
                    lastScan: '2023-07-18T07:51:57Z'
  /syncthing/cluster/pending/devices:
    get:
      tags:
        - Syncthing
      summary: Lists remote devices which have tried to connect
      description: >-
        Lists remote devices which have tried to connect, but are not yet
        configured in our instance. **Public**
      operationId: fluxSyncthingPendingDevice
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  2Z5G6RH-PNMRVRS-4YY2HXT-V23DQSL-CODUEMX-NFO2DFD-RTEIVLG-JXQ6PA5:
                    time: '2023-03-30T22:29:12Z'
                    name: flux184
                    address: 91.192.45.57:16159
                  47TOLFE-IEJWLZS-WK7LDBC-TCJ646K-D7AYPWM-U5GL3RA-ENEETZB-3L3ADQA:
                    time: '2023-07-04T14:49:29Z'
                    name: v2202203171685184619
                    address: 37.120.189.232:16129
                  4TSNWIQ-NMQ7JNW-TYFAMC5-6GE2NFG-45V25C2-CW7FZJK-FYDIEJ6-OGTEDAQ:
                    time: '2023-07-04T14:49:20Z'
                    name: fluxtemplate
                    address: 188.252.157.204:16179
                  75H3SA7-OJJIJWQ-ZGOYFP4-FT4YLHS-KGJPBI6-Q7AWXOB-FEX4S3K-WTRNJAO:
                    time: '2023-04-06T02:57:06Z'
                    name: cumulus
                    address: 65.109.35.28:59860
                  AT3SK7M-GF3BQUG-PFUPQBT-RL4HZV2-E5WXI7A-UVJO77Z-ODUTNOA-2LBL5QQ:
                    time: '2023-03-30T22:30:13Z'
                    name: OMEN
                    address: 85.94.164.24:16129
                  E75JPSD-RVBAI6P-7RV2NOT-A42LQFW-7V2UO6R-3W47L57-K2OUDXE-UNJIZQB:
                    time: '2023-03-30T10:18:26Z'
                    name: flux
                    address: 146.212.107.57:16129
                  FM2B6HA-5WZAXZP-WJBTLV5-UKAE6XS-QABWK4T-OGDDODC-HMUGDR5-6MHGQAA:
                    time: '2023-03-12T21:33:07Z'
                    name: eddie-flux-dyn
                    address: 87.123.125.187:29875
                  GCZIY73-W6FB5L7-PWMU47X-6T5U62H-GWTN2BP-6VAO3ZF-7NXAW5I-FIYAUAL:
                    time: '2023-04-06T02:56:34Z'
                    name: cumulus3
                    address: 64.32.48.102:16129
                  GXLVSGJ-WT5JW67-N57PHSN-H64C5PR-27W2CKX-IAB7VMH-3ILRBGM-QUWRUAS:
                    time: '2023-03-30T22:29:43Z'
                    name: flux-4
                    address: 91.120.136.17:16149
                  IC4SX4Q-CV6WMJG-SQDI5RL-BV56YOA-2DT6DXD-OXK7QFP-Q2M5FSF-3MPX6QA:
                    time: '2023-07-04T15:02:58Z'
                    name: C01-127
                    address: 195.3.222.231:17290
                  IRP4UQQ-NHCZFZH-XRAST56-FYY6AI4-QFV4ZXS-ZRHORQL-KSGOXED-ILE37AQ:
                    time: '2023-03-30T22:29:10Z'
                    name: cumulus-2905
                    address: 31.7.195.29:43461
                  STLBJEA-MYSIFH3-H6OW5Y2-MAA5DA6-CBHZMIR-JPSI4XX-J4IZZTH-6SSNEQD:
                    time: '2023-04-06T02:56:32Z'
                    name: SodaS011
                    address: 65.108.75.210:16129
                  W5BR72X-XHANZUW-IJJQC76-M4TPZYI-2G6TTX5-7BM4WBU-CLDHY6M-GR2OTQ7:
                    time: '2023-07-04T07:04:24Z'
                    name: v2202203158183184189
                    address: 185.232.69.74:16129
                  XHZAEFI-RFF7ATI-6LXKNWK-FCSD7FF-3URL6RN-OJQMS5T-EIDFDZX-R6QGYAZ:
                    time: '2023-07-04T14:49:31Z'
                    name: f1729
                    address: 65.109.58.171:44927
    post:
      tags:
        - Syncthing
      summary: Remove records about a pending remote device which tried to connect
      description: >-
        Remove records about a pending remote device which tried to connect.
        Valid values for the device parameter are those from the corresponding
        GET /rest/cluster/pending/devices endpoint. **Admin**
      operationId: fluxSyncthingPendingDevicesPOST
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                device:
                  type: string
            example:
              device: XHZAEFI-RFF7ATI-6LXKNWK-FCSD7FF-3URL6RN-OJQMS5T-EIDFDZX-R6QGYAZ
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data: ''
  /syncthing/cluster/pending/folders:
    get:
      tags:
        - Syncthing
      summary: >-
        Lists folders which remote devices have offered to us, but are not yet
        shared from our instance to them
      description: >-
        Lists folders which remote devices have offered to us, but are not yet
        shared from our instance to them. Takes the optional ```device```
        parameter to only return folders offered by a specific remote device.
        Other offering devices are also omitted from the result. **Public**
      operationId: fluxSyncthingPendingFolders
      security: []
      parameters:
        - in: query
          name: id
          schema:
            type: string
          description: Device ID
          example: XHZAEFI-RFF7ATI-6LXKNWK-FCSD7FF-3URL6RN-OJQMS5T-EIDFDZX-R6QGYAZ
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data: ''
    post:
      tags:
        - Syncthing
      summary: Remove records about a pending folder announced from a remote device
      description: >-
        Remove records about a pending folder announced from a remote device.
        Valid values for the folde parameters are those from the corresponding
        GET /rest/cluster/pending/folders endpoint. **Admin**
      operationId: fluxSyncthingPendingFoldersPOST
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                folder:
                  type: string
            example:
              folder: new-folder2
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data: ''
  /syncthing/folder/errors:
    get:
      tags:
        - Syncthing
      summary: Returns the list of errors encountered during scanning or pulling
      description: >-
        Takes one mandatory parameter, ```folder```, and returns the list of
        errors encountered during scanning or pulling. **Public**
      operationId: fluxSyncthingFoldersError
      security: []
      parameters:
        - in: query
          name: folder
          required: true
          schema:
            type: string
          description: Folder ID
          example: new-folder2
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  errors: null
                  folder: new-folder2
                  page: 1
                  perpage: 65536
  /syncthing/folder/versions:
    get:
      tags:
        - Syncthing
      summary: Returns the list of archived files that could be recovered
      description: >-
        Takes one mandatory parameter, folder, and returns the list of archived
        files that could be recovered. How many versions are available depends
        on the File Versioning configuration. Each entry specifies when the file
        version was archived as the versionTime, the modTime when it was last
        modified before being archived, and the size in bytes. **Public**
      operationId: fluxSyncthingFolderVersions
      security: []
      parameters:
        - in: query
          name: folder
          required: true
          schema:
            type: string
          description: Folder ID
          example: new-folder2
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  dir1/dir2/bar:
                    - versionTime: '2022-02-06T20:44:12+01:00'
                      modTime: '2021-01-14T13:21:22+01:00'
                      size: 4
                  baz:
                    - versionTime: '2022-02-06T20:44:20+01:00'
                      modTime: '2021-01-14T13:23:49+01:00'
                      size: 4
                  foo:
                    - versionTime: '2022-02-06T20:55:31+01:00'
                      modTime: '2022-02-06T20:44:13+01:00'
                      size: 4
                    - versionTime: '2022-02-06T20:44:20+01:00'
                      modTime: '2021-01-14T13:21:16+01:00'
                      size: 4
  /syncthing/db/browse:
    get:
      tags:
        - Syncthing
      summary: Returns the directory tree of the global model
      description: >-
        Returns the directory tree of the global model. takes one mandatory
        ```folder``` parameter and two optional parameters ```levels``` and
        ```prefix```. **Public**
      operationId: fluxSyncthingDbBrowse
      security: []
      parameters:
        - in: query
          name: folder
          required: true
          schema:
            type: string
          description: Folder ID
          example: fluxwp_wordpress1678382606717
        - in: query
          name: levels
          schema:
            type: number
          description: Error level
          example: 2
        - in: query
          name: prefix
          schema:
            type: string
          description: Prefix
          example: DCIM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  - name: appdata
                    modTime: '2022-11-15T19:03:29Z'
                    size: 128
                    type: FILE_INFO_TYPE_DIRECTORY
                    children:
                      - name: fonts
                        modTime: '2023-06-16T11:24:27.781489818Z'
                        size: 128
                        type: FILE_INFO_TYPE_DIRECTORY
                        children:
                          - name: 3034c9a9cb98d45c15ce75575709ba4a.css
                            modTime: '2023-06-16T11:24:27.781489818Z'
                            size: 39716
                            type: FILE_INFO_TYPE_FILE
                          - name: 623245846e539bff7204e0abe9cd0ccb.css
                            modTime: '2023-06-16T11:24:27.781489818Z'
                            size: 39716
                            type: FILE_INFO_TYPE_FILE
                          - name: d77e6bad3bf8749ac77eb889583c661b.css
                            modTime: '2023-06-16T11:24:27.781489818Z'
                            size: 41916
                            type: FILE_INFO_TYPE_FILE
                          - name: ea3c06650439ad63ac32f1850e5fa7dc.css
                            modTime: '2023-06-16T11:24:27.781489818Z'
                            size: 39716
                            type: FILE_INFO_TYPE_FILE
                          - name: lato
                            modTime: '2023-06-16T11:24:27.781489818Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: montserrat
                            modTime: '2023-06-16T11:24:27.777489784Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                      - name: index.php
                        modTime: '2012-01-08T17:01:11Z'
                        size: 28
                        type: FILE_INFO_TYPE_FILE
                      - name: mu-plugins
                        modTime: '2023-06-16T11:24:27.781489818Z'
                        size: 128
                        type: FILE_INFO_TYPE_DIRECTORY
                        children:
                          - name: wp-migrate-db-pro-compatibility.php
                            modTime: '2023-06-16T11:24:27.781489818Z'
                            size: 1473
                            type: FILE_INFO_TYPE_FILE
                      - name: plugins
                        modTime: '2022-11-15T19:03:30Z'
                        size: 128
                        type: FILE_INFO_TYPE_DIRECTORY
                        children:
                          - name: akismet
                            modTime: '2022-11-15T19:03:30Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: duplicate-page
                            modTime: '2023-06-16T11:24:26.573479438Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: elementinvader
                            modTime: '2023-06-16T11:24:25.517470364Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: elementinvader-addons-for-elementor
                            modTime: '2023-06-16T11:24:27.133484251Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: elementor
                            modTime: '2023-06-16T11:24:26.521478992Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: file-manager-advanced
                            modTime: '2023-06-16T11:24:25.717472083Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: google-site-kit
                            modTime: '2023-06-16T11:24:26.573479438Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: header-footer-elementor
                            modTime: '2023-06-16T11:24:27.133484251Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: hello.php
                            modTime: '2019-03-18T17:19:50Z'
                            size: 2578
                            type: FILE_INFO_TYPE_FILE
                          - name: index.php
                            modTime: '2014-06-05T15:59:14Z'
                            size: 28
                            type: FILE_INFO_TYPE_FILE
                          - name: one-click-demo-import
                            modTime: '2023-06-16T11:24:25.657471567Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: updraftplus
                            modTime: '2023-06-16T11:03:18.678578663Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: user-role-editor
                            modTime: '2023-06-16T11:24:26.553479266Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: wdk-membership
                            modTime: '2023-06-16T11:24:27.129484216Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: wordpress-seo
                            modTime: '2023-06-16T11:24:27.10548401Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: wp-crontrol
                            modTime: '2023-06-16T11:24:26.553479266Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: wp-google-maps
                            modTime: '2023-06-16T11:24:27.10548401Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: wp-google-maps-pro
                            modTime: '2023-06-16T11:24:25.637471396Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: wp-mail-smtp
                            modTime: '2023-06-16T11:24:26.53747913Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: wpdirectorykit
                            modTime: '2023-06-16T11:24:26.541479163Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: wpforms-lite
                            modTime: '2023-06-16T11:24:25.605471121Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                      - name: themes
                        modTime: '2022-11-15T19:03:31Z'
                        size: 128
                        type: FILE_INFO_TYPE_DIRECTORY
                        children:
                          - name: index.php
                            modTime: '2014-06-05T15:59:14Z'
                            size: 28
                            type: FILE_INFO_TYPE_FILE
                          - name: nexproperty
                            modTime: '2023-06-16T11:24:27.205484869Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: twentytwentyone
                            modTime: '2022-11-15T19:03:29Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: twentytwentythree
                            modTime: '2022-11-15T19:03:29Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: twentytwentytwo
                            modTime: '2022-11-15T19:03:29Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                      - name: updraft
                        modTime: '2023-06-16T11:04:03.254962349Z'
                        size: 128
                        type: FILE_INFO_TYPE_DIRECTORY
                        children:
                          - name: .htaccess
                            modTime: '2023-06-16T11:04:00.34693732Z'
                            size: 13
                            type: FILE_INFO_TYPE_FILE
                          - name: >-
                              backup_2023-05-26-0637_Tokenized_Real_Estate_Map_and_Di_14eeef2cdfb4-db.gz
                            modTime: '2023-06-16T11:04:29.075184566Z'
                            size: 1500981
                            type: FILE_INFO_TYPE_FILE
                          - name: >-
                              backup_2023-05-26-0637_Tokenized_Real_Estate_Map_and_Di_14eeef2cdfb4-others.zip
                            modTime: '2023-06-16T11:04:29.551188662Z'
                            size: 511058
                            type: FILE_INFO_TYPE_FILE
                          - name: >-
                              backup_2023-05-26-0637_Tokenized_Real_Estate_Map_and_Di_14eeef2cdfb4-plugins.zip
                            modTime: '2023-06-16T11:24:12.109355152Z'
                            size: 31681880
                            type: FILE_INFO_TYPE_FILE
                          - name: >-
                              backup_2023-05-26-0637_Tokenized_Real_Estate_Map_and_Di_14eeef2cdfb4-plugins2.zip
                            modTime: '2023-06-16T11:23:47.589144454Z'
                            size: 25523273
                            type: FILE_INFO_TYPE_FILE
                          - name: >-
                              backup_2023-05-26-0637_Tokenized_Real_Estate_Map_and_Di_14eeef2cdfb4-plugins3.zip
                            modTime: '2023-06-16T11:23:25.672956129Z'
                            size: 19522419
                            type: FILE_INFO_TYPE_FILE
                          - name: >-
                              backup_2023-05-26-0637_Tokenized_Real_Estate_Map_and_Di_14eeef2cdfb4-themes.zip
                            modTime: '2023-06-16T11:19:59.819187165Z'
                            size: 18067249
                            type: FILE_INFO_TYPE_FILE
                          - name: >-
                              backup_2023-05-26-0637_Tokenized_Real_Estate_Map_and_Di_14eeef2cdfb4-uploads.zip
                            modTime: '2023-06-16T11:18:28.174399575Z'
                            size: 26214213
                            type: FILE_INFO_TYPE_FILE
                          - name: >-
                              backup_2023-05-26-0637_Tokenized_Real_Estate_Map_and_Di_14eeef2cdfb4-uploads2.zip
                            modTime: '2023-06-16T11:17:53.486101454Z'
                            size: 23948296
                            type: FILE_INFO_TYPE_FILE
                          - name: >-
                              backup_2023-05-26-0637_Tokenized_Real_Estate_Map_and_Di_14eeef2cdfb4-uploads3.zip
                            modTime: '2023-06-16T11:15:34.736908928Z'
                            size: 23990380
                            type: FILE_INFO_TYPE_FILE
                          - name: >-
                              backup_2023-05-26-0637_Tokenized_Real_Estate_Map_and_Di_14eeef2cdfb4-uploads4.zip
                            modTime: '2023-06-16T11:12:46.823465534Z'
                            size: 23097945
                            type: FILE_INFO_TYPE_FILE
                          - name: >-
                              backup_2023-05-26-0637_Tokenized_Real_Estate_Map_and_Di_14eeef2cdfb4-uploads5.zip
                            modTime: '2023-06-16T11:10:10.538121828Z'
                            size: 23138267
                            type: FILE_INFO_TYPE_FILE
                          - name: >-
                              backup_2023-05-26-0637_Tokenized_Real_Estate_Map_and_Di_14eeef2cdfb4-uploads6.zip
                            modTime: '2023-06-16T11:07:52.164931826Z'
                            size: 26042694
                            type: FILE_INFO_TYPE_FILE
                          - name: >-
                              backup_2023-05-26-0637_Tokenized_Real_Estate_Map_and_Di_14eeef2cdfb4-uploads7.zip
                            modTime: '2023-06-16T11:05:09.79553498Z'
                            size: 13791772
                            type: FILE_INFO_TYPE_FILE
                          - name: index.html
                            modTime: '2023-06-16T11:04:00.34693732Z'
                            size: 112
                            type: FILE_INFO_TYPE_FILE
                          - name: log.14eeef2cdfb4.txt
                            modTime: '2023-06-16T11:30:03.624375512Z'
                            size: 1082
                            type: FILE_INFO_TYPE_FILE
                          - name: log.7ace2e60af10.txt
                            modTime: '2023-06-16T11:48:04.089627252Z'
                            size: 83392
                            type: FILE_INFO_TYPE_FILE
                          - name: log.9ee33e08b594.txt
                            modTime: '2023-06-16T11:24:27.801489991Z'
                            size: 14645
                            type: FILE_INFO_TYPE_FILE
                          - name: web.config
                            modTime: '2023-06-16T11:04:00.34693732Z'
                            size: 124
                            type: FILE_INFO_TYPE_FILE
                      - name: upgrade
                        modTime: '2023-06-16T11:02:45.31429212Z'
                        size: 128
                        type: FILE_INFO_TYPE_DIRECTORY
                      - name: uploads
                        modTime: '2023-06-16T11:04:00.350937355Z'
                        size: 128
                        type: FILE_INFO_TYPE_DIRECTORY
                        children:
                          - name: '2021'
                            modTime: '2023-06-16T11:24:27.353486141Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: '2022'
                            modTime: '2023-06-16T11:24:27.353486141Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: '2023'
                            modTime: '2023-06-16T11:04:00.350937355Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: elementor
                            modTime: '2023-06-16T11:24:27.353486141Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: wp-file-manager-pro
                            modTime: '2023-06-16T11:24:27.353486141Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: wp-google-maps
                            modTime: '2023-06-16T11:24:27.353486141Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: wp-migrate-db
                            modTime: '2023-06-16T11:24:27.769489715Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                          - name: wpforms
                            modTime: '2023-06-16T11:24:27.769489715Z'
                            size: 128
                            type: FILE_INFO_TYPE_DIRECTORY
                      - name: w3tc-config
                        modTime: '2023-06-16T11:24:27.781489818Z'
                        size: 128
                        type: FILE_INFO_TYPE_DIRECTORY
                        children:
                          - name: index.html
                            modTime: '2023-06-16T11:24:27.781489818Z'
                            size: 0
                            type: FILE_INFO_TYPE_FILE
                          - name: master.php
                            modTime: '2023-06-16T11:24:27.781489818Z'
                            size: 29831
                            type: FILE_INFO_TYPE_FILE
                  - name: lost+found
                    modTime: '2023-07-24T17:18:30Z'
                    size: 128
                    type: FILE_INFO_TYPE_DIRECTORY
  /syncthing/db/completion:
    get:
      tags:
        - Syncthing
      summary: Returns the completion percentage and byte / item counts
      description: >-
        Returns the completion percentage (0 to 100) and byte / item counts.
        Takes optional ```device``` and ```folder``` parameters. **Public**
      operationId: fluxSyncthingDbCompletion
      security: []
      parameters:
        - in: query
          name: folder
          schema:
            type: string
          description: Folder ID
          example: fluxwp_wordpress1678382606717
        - in: query
          name: device
          schema:
            type: string
          description: Device ID
          example: 7IKKJI5-E34NYQT-BCVFJMH-6O5YBNH-ZXRLVCG-7HE6I5Z-V6B5SLM-TNJAFAO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  completion: 100
                  globalBytes: 669597607
                  globalItems: 14290
                  needBytes: 0
                  needDeletes: 0
                  needItems: 0
                  remoteState: unknown
                  sequence: 0
  /syncthing/db/ignores:
    get:
      tags:
        - Syncthing
      summary: Returns the content of the .stignore as the ignore field
      description: >-
        Takes one parameter, ```folder```, and returns the content of the
        .stignore as the ignore field. A second field, expanded, provides a list
        of strings which represent globbing patterns described by gobwas/glob
        (based on standard wildcards) that match the patterns in .stignore and
        all the includes. If appropriate these globs are prepended by the
        following modifiers ! to negate the glob, (?i) to do case insensitive
        matching and (?d) to enable removing of ignored files in an otherwise
        empty directory. **Public**
      operationId: fluxSyncthingDbIgnores
      security: []
      parameters:
        - in: query
          name: folder
          required: true
          schema:
            type: string
          description: Folder ID
          example: fluxwp_wordpress1678382606717
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  error: null
                  expanded: null
                  ignore: null
    post:
      tags:
        - Syncthing
      summary: Updates the content of the .stignore
      description: >-
        Expects a format similar to the output of GET /rest/db/ignores call, but
        only containing the ignore field (expanded field should be omitted). It
        takes one parameter, folder, and either updates the content of the
        .stignore echoing it back as a response, or returns an error. **Admin**
      operationId: fluxSyncthingDbIgnoresPOST
      security:
        - ZelID: []
      parameters:
        - in: query
          name: folder
          required: true
          schema:
            type: string
          description: Folder ID
          example: fluxwp_wordpress1678382606717
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data: ''
  /syncthing/db/localchanged:
    get:
      tags:
        - Syncthing
      summary: >-
        Returns the list of files which were changed locally in a receive-only
        folder
      description: >-
        Takes one mandatory parameter, ```folder```, and returns the list of
        files which were changed locally in a receive-only folder. Thus they
        differ from the global state and could be reverted by pulling from
        remote devices again. **Public**
      operationId: fluxSyncthingDbLocalChanged
      security: []
      parameters:
        - in: query
          name: folder
          required: true
          schema:
            type: string
          description: Folder ID
          example: fluxwp_wordpress1678382606717
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  files: []
                  page: 1
                  perpage: 65536
  /syncthing/db/need:
    get:
      tags:
        - Syncthing
      summary: >-
        Returns lists of files which are needed by this device in order for it
        to become in sync
      description: >-
        Takes one mandatory parameter, folder, and returns lists of files which
        are needed by this device in order for it to become in sync. **Public**
      operationId: fluxSyncthingDbNeed
      security: []
      parameters:
        - in: query
          name: folder
          required: true
          schema:
            type: string
          description: Folder ID
          example: fluxwp_wordpress1678382606717
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  page: 1
                  perpage: 65536
                  progress: []
                  queued: []
                  rest: []
  /syncthing/db/remoteneed:
    get:
      tags:
        - Syncthing
      summary: >-
        Returns the list of files which are needed by that remote device in
        order for it to become in sync with the shared folder
      description: >-
        Takes the mandatory parameters ```folder``` and ```device```, and
        returns the list of files which are needed by that remote device in
        order for it to become in sync with the shared folder. **Public**
      operationId: fluxSyncthingDbRemoteneed
      security: []
      parameters:
        - in: query
          name: folder
          required: true
          schema:
            type: string
          description: Folder ID
          example: fluxwp_wordpress1678382606717
        - in: query
          name: device
          required: true
          schema:
            type: string
          description: Device ID
          example: QOYZMHI-VRZGOOI-VA76CAS-YGYK7Q2-H74L64R-JDCAFNQ-JRKYDCZ-UFM7IAE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  files: []
                  page: 1
                  perpage: 65536
  /syncthing/db/status:
    get:
      tags:
        - Syncthing
      summary: Returns information about the current status of a folder
      description: >-
        Returns information about the current status of a folder. Parameters
        ```folder```, the ID of a folder. **Public**
      operationId: fluxSyncthingDbStatus
      security: []
      parameters:
        - in: query
          name: folder
          required: true
          schema:
            type: string
          description: Folder ID
          example: fluxwp_wordpress1678382606717
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  errors: 0
                  pullErrors: 0
                  invalid: ''
                  globalFiles: 12291
                  globalDirectories: 2016
                  globalSymlinks: 0
                  globalDeleted: 345
                  globalBytes: 669709961
                  globalTotalItems: 14652
                  localFiles: 12291
                  localDirectories: 2016
                  localSymlinks: 0
                  localDeleted: 32
                  localBytes: 669709961
                  localTotalItems: 14339
                  needFiles: 0
                  needDirectories: 0
                  needSymlinks: 0
                  needDeletes: 0
                  needBytes: 0
                  needTotalItems: 0
                  receiveOnlyChangedFiles: 0
                  receiveOnlyChangedDirectories: 0
                  receiveOnlyChangedSymlinks: 0
                  receiveOnlyChangedDeletes: 0
                  receiveOnlyChangedBytes: 0
                  receiveOnlyTotalItems: 0
                  inSyncFiles: 12291
                  inSyncBytes: 669709961
                  state: idle
                  stateChanged: '2023-07-25T10:23:15Z'
                  error: ''
                  version: 14951
                  sequence: 14951
                  ignorePatterns: false
                  watchError: ''
  /syncthing/db/scan:
    post:
      tags:
        - Syncthing
      summary: Request immediate scan
      description: >-
        Request immediate scan. Takes the optional parameters ```folder```
        (folder ID). **Admin**
      operationId: fluxSyncthingDbScan
      security:
        - ZelID: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                folder:
                  type: string
                  description: folder
            example:
              folder: fluxwp_wordpress1678382606717
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data: ''
  /syncthing/db/revert:
    post:
      tags:
        - Syncthing
      summary: Request revert of a receive only folder
      description: >-
        Request revert of a receive only folder. Reverting a folder means to
        undo all local changes. **Admin**
      operationId: fluxSyncthingDbRevert
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                folder:
                  type: string
                  description: folder
            example:
              folder: fluxwp_wordpress1678382606717
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data: ''
  /syncthing/db/prio:
    post:
      tags:
        - Syncthing
      summary: Moves the file to the top of the download queue
      description: >-
        Moves the file to the top of the download queue ```folder``` and
        ```file``` params are mandatory. **Admin**
      operationId: fluxSyncthingDbPrio
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                folder:
                  type: string
                  description: folder
                file:
                  type: string
                  description: folder
            example:
              folder: fluxwp_wordpress1678382606717
              file: /
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  page: 1
                  perpage: 65536
                  progress: []
                  queued: []
                  rest: []
  /syncthing/db/override:
    post:
      tags:
        - Syncthing
      summary: Request override of a send only folder
      description: >-
        Request override of a send only folder. Override means to make the local
        version latest, overriding changes made on other devices. This API call
        does nothing if the folder is not a send only folder. Takes the
        mandatory parameter ```folder``` (folder ID). **Admin**
      operationId: fluxSyncthingDbOverride
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                folder:
                  type: string
                  description: folder
            example:
              folder: fluxwp_wordpress1678382606717
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data: ''
  /syncthing/events:
    get:
      tags:
        - Syncthing
      summary: Returns events
      description: >-
        To filter the event list, in effect creating a specific subscription for
        only the desired event types, add a parameter
        events=EventTypeA,EventTypeB,... where the event types are any of the
        Event Types. If no filter is specified, all events except
        LocalChangeDetected and RemoteChangeDetected are included. The optional
        parameter since=`lastSeenID` sets the ID of the last event you've
        already seen. Syncthing returns a JSON encoded array of event objects,
        starting at the event just after the one with this last seen ID. The
        default value is 0, which returns all events. There is a limit to the
        number of events buffered, so if the rate of events is high or the time
        between polling calls is long some events might be missed. This can be
        detected by noting a discontinuity in the event IDs. If no new events
        are produced since `lastSeenID`, the HTTP call blocks and waits for new
        events to happen before returning. By default it times out after 60
        seconds returning an empty array. The time out duration can be
        customized with the optional parameter timeout=`seconds`. To receive
        only a limited number of events, add the limit=`n` parameter with a
        suitable value for n and only the last n events will be returned. This
        can be used to catch up with the latest event ID after a disconnection.
        **Public**
      operationId: fluxSyncthingEvents
      security: []
      parameters:
        - in: query
          name: events
          required: true
          schema:
            type: string
          description: Event Type
          example: ConfigSaved
        - in: query
          name: since
          schema:
            type: string
          description: Show events since specyfic time
          example: '2023-07-25T15:09:45.220376293Z'
        - in: query
          name: limit
          schema:
            type: number
          description: >-
            Parameter with a suitable value for n and only the last n events
            will be returned
          example: 2
        - in: query
          name: timeout
          schema:
            type: number
          description: The time out duration
          example: 65
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  - id: 2
                    globalID: 1186
                    time: '2023-07-26T10:36:55.907388683+02:00'
                    type: ConfigSaved
                    data:
                      version: 37
                      folders: []
                      devices:
                        - deviceID: >-
                            KTBDKFS-VZK4XTM-IU4QC2Y-Y37475A-6HPJF5V-CEARZHL-ILE4NKK-QNYYNQZ
                          name: flux-stratus
                          addresses:
                            - dynamic
                          compression: metadata
                          certName: ''
                          introducer: false
                          skipIntroductionRemovals: false
                          introducedBy: ''
                          paused: false
                          allowedNetworks: []
                          autoAcceptFolders: false
                          maxSendKbps: 0
                          maxRecvKbps: 0
                          ignoredFolders: []
                          maxRequestKiB: 0
                          untrusted: false
                          remoteGUIPort: 0
                      gui:
                        enabled: true
                        address: 127.0.0.1:8384
                        unixSocketPermissions: ''
                        user: ''
                        password: ''
                        authMode: static
                        useTLS: false
                        apiKey: h29YjFEG72cPhUwxnhssR7NjN4rhxp
                        insecureAdminAccess: false
                        theme: default
                        debugging: false
                        insecureSkipHostcheck: false
                        insecureAllowFrameLoading: false
                      ldap:
                        address: ''
                        bindDN: ''
                        transport: plain
                        insecureSkipVerify: false
                        searchBaseDN: ''
                        searchFilter: ''
                      options:
                        listenAddresses:
                          - tcp://:16129
                          - quic://:16129
                        globalAnnounceServers:
                          - default
                        globalAnnounceEnabled: false
                        localAnnounceEnabled: false
                        localAnnouncePort: 21027
                        localAnnounceMCAddr: '[ff12::8384]:21027'
                        maxSendKbps: 0
                        maxRecvKbps: 0
                        reconnectionIntervalS: 60
                        relaysEnabled: true
                        relayReconnectIntervalM: 10
                        startBrowser: true
                        natEnabled: false
                        natLeaseMinutes: 60
                        natRenewalMinutes: 30
                        natTimeoutSeconds: 10
                        urAccepted: 0
                        urSeen: 0
                        urUniqueId: ''
                        urURL: https://data.syncthing.net/newdata
                        urPostInsecurely: false
                        urInitialDelayS: 1800
                        autoUpgradeIntervalH: 12
                        upgradeToPreReleases: false
                        keepTemporariesH: 24
                        cacheIgnoredFiles: false
                        progressUpdateIntervalS: 5
                        limitBandwidthInLan: false
                        minHomeDiskFree:
                          value: 1
                          unit: '%'
                        releasesURL: https://upgrades.syncthing.net/meta.json
                        alwaysLocalNets: []
                        overwriteRemoteDeviceNamesOnConnect: false
                        tempIndexMinBlocks: 10
                        unackedNotificationIDs:
                          - authenticationUserAndPassword
                        trafficClass: 0
                        setLowPriority: true
                        maxFolderConcurrency: 0
                        crURL: https://crash.syncthing.net/newcrash
                        crashReportingEnabled: true
                        stunKeepaliveStartS: 180
                        stunKeepaliveMinS: 20
                        stunServers:
                          - default
                        databaseTuning: auto
                        maxConcurrentIncomingRequestKiB: 0
                        announceLANAddresses: true
                        sendFullIndexOnUpgrade: false
                        featureFlags: []
                        connectionLimitEnough: 0
                        connectionLimitMax: 0
                        insecureAllowOldTLSVersions: false
                        connectionPriorityTcpLan: 10
                        connectionPriorityQuicLan: 20
                        connectionPriorityTcpWan: 30
                        connectionPriorityQuicWan: 40
                        connectionPriorityRelay: 50
                        connectionPriorityUpgradeThreshold: 0
                      remoteIgnoredDevices: []
                      defaults:
                        folder:
                          id: ''
                          label: ''
                          filesystemType: basic
                          path: '~'
                          type: sendreceive
                          devices:
                            - deviceID: >-
                                KTBDKFS-VZK4XTM-IU4QC2Y-Y37475A-6HPJF5V-CEARZHL-ILE4NKK-QNYYNQZ
                              introducedBy: ''
                              encryptionPassword: ''
                          rescanIntervalS: 3600
                          fsWatcherEnabled: true
                          fsWatcherDelayS: 10
                          ignorePerms: false
                          autoNormalize: true
                          minDiskFree:
                            value: 1
                            unit: '%'
                          versioning:
                            type: ''
                            params: {}
                            cleanupIntervalS: 3600
                            fsPath: ''
                            fsType: basic
                          copiers: 0
                          pullerMaxPendingKiB: 0
                          hashers: 0
                          order: random
                          ignoreDelete: false
                          scanProgressIntervalS: 0
                          pullerPauseS: 0
                          maxConflicts: 10
                          disableSparseFiles: false
                          disableTempIndexes: false
                          paused: false
                          weakHashThresholdPct: 25
                          markerName: .stfolder
                          copyOwnershipFromParent: false
                          modTimeWindowS: 0
                          maxConcurrentWrites: 2
                          disableFsync: false
                          blockPullOrder: standard
                          copyRangeMethod: standard
                          caseSensitiveFS: false
                          junctionsAsDirs: false
                          syncOwnership: true
                          sendOwnership: true
                          syncXattrs: true
                          sendXattrs: true
                          xattrFilter:
                            entries: []
                            maxSingleEntrySize: 1024
                            maxTotalSize: 4096
                        device:
                          deviceID: ''
                          name: ''
                          addresses:
                            - dynamic
                          compression: metadata
                          certName: ''
                          introducer: false
                          skipIntroductionRemovals: false
                          introducedBy: ''
                          paused: false
                          allowedNetworks: []
                          autoAcceptFolders: false
                          maxSendKbps: 0
                          maxRecvKbps: 0
                          ignoredFolders: []
                          maxRequestKiB: 0
                          untrusted: false
                          remoteGUIPort: 0
                        ignores:
                          lines: []
  /syncthing/events/disk:
    get:
      tags:
        - Syncthing
      summary: Returns events
      description: >-
        To filter the event list, in effect creating a specific subscription for
        only the desired event types, add a parameter
        events=EventTypeA,EventTypeB,... where the event types are any of the
        Event Types. If no filter is specified, all events except
        LocalChangeDetected and RemoteChangeDetected are included. The optional
        parameter since=`lastSeenID` sets the ID of the last event you've
        already seen. Syncthing returns a JSON encoded array of event objects,
        starting at the event just after the one with this last seen ID. The
        default value is 0, which returns all events. There is a limit to the
        number of events buffered, so if the rate of events is high or the time
        between polling calls is long some events might be missed. This can be
        detected by noting a discontinuity in the event IDs. If no new events
        are produced since `lastSeenID`, the HTTP call blocks and waits for new
        events to happen before returning. By default it times out after 60
        seconds returning an empty array. The time out duration can be
        customized with the optional parameter timeout=`seconds`. To receive
        only a limited number of events, add the limit=`n` parameter with a
        suitable value for n and only the last n events will be returned. This
        can be used to catch up with the latest event ID after a disconnection.
        **Public**
      operationId: fluxSyncthingEventsDisk
      security: []
      parameters:
        - in: query
          name: events
          required: true
          schema:
            type: string
          description: Event Type
          example: LocalChangeDetected
        - in: query
          name: since
          schema:
            type: string
          description: Show events since specyfic time
          example: '2023-07-25T15:09:45.220376293Z'
        - in: query
          name: limit
          schema:
            type: number
          description: >-
            Parameter with a suitable value for n and only the last n events
            will be returned
          example: 2
        - in: query
          name: timeout
          schema:
            type: number
          description: The time out duration
          example: 65
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  - id: 3
                    globalID: 118
                    time: '2023-07-26T14:15:15.727649939Z'
                    type: LocalChangeDetected
                    data:
                      action: deleted
                      folder: fluxwp_wordpress1678382606717
                      folderID: fluxwp_wordpress1678382606717
                      label: fluxwp_wordpress1678382606717
                      modifiedBy: 7IKKJI5
                      path: appdata/updraft/log.9ee33e08b594.txt
                      type: file
  /syncthing/svc/report:
    get:
      tags:
        - Syncthing
      summary: Returns the data sent in the anonymous usage report
      description: Returns the data sent in the anonymous usage report. **Admin**
      operationId: fluxSyncthingSvcReport
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  version: v1.23.0
                  longVersion: >-
                    syncthing v1.23.0 "Fermium Flea" (go1.19.4 linux-amd64)
                    deb@build.syncthing.net 2023-01-02 03:45:30 UTC [noupgrade]
                  platform: linux-amd64
                  numDevices: 1
                  memoryUsageMiB: 36
                  sha256Perf: 1242.06
                  hashPerf: 810.43
                  memorySize: 32092
                  urVersion: 3
                  numCPU: 10
                  folderUses: {}
                  deviceUses:
                    compressMetadata: 1
                    dynamicAddr: 1
                  announce:
                    defaultServersDNS: 1
                  relays:
                    enabled: true
                  uptime: 227155
                  natType: unknown
                  progressEmitterEnabled: true
                  customReleaseURL: true
                  folderUsesV3: {}
                  deviceUsesV3: {}
                  guiStats:
                    enabled: 1
                    debugging: 1
                    listenLocal: 1
                    theme:
                      default: 1
                  blockStats: {}
                  ignoreStats: {}
  /syncthing/svc/random/string:
    get:
      tags:
        - Syncthing
      summary: Returns a strong random generated string
      description: >-
        Returns a strong random generated string (alphanumeric) of the specified
        length. Takes the ``length`` parameter. **Public**
      operationId: fluxSyncthingSvcRandom
      security: []
      parameters:
        - in: query
          name: length
          schema:
            type: number
          description: String length
          example: 10
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  random: 994bHhYZmPQvjTqT6uu3DtGna95gNS2w
  /syncthing/svc:
    get:
      tags:
        - Syncthing
      summary: Verifies and formats a device ID.
      description: >-
        Verifies and formats a device ID. Accepts all currently valid formats
        (52 or 56 characters with or without separators, upper or lower case,
        with trivial substitutions). Takes one parameter, id, and returns either
        a valid device ID in modern format, or an error. **Public**
      operationId: fluxSyncthingSvc
      security: []
      parameters:
        - in: query
          name: id
          schema:
            type: string
          description: DeviceID
          example: 7IKKJI5-E34NYQT-BCVFJMH-6O5YBNH-ZXRLVCG-7HE6I5Z-V6B5SLM-TNJAFA0
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  id: >-
                    7IKKJI5-E34NYQT-BCVFJMH-6O5YBNH-ZXRLVCG-7HE6I5Z-V6B5SLM-TNJAFAO
  /syncthing/debug/httpmetrics:
    get:
      tags:
        - Syncthing
      summary: Returns statistics about each served REST API endpoint
      description: >-
        Returns statistics about each served REST API endpoint, to diagnose how
        much time was spent generating the responses. **Admin**
      operationId: fluxSyncthingDebugHttpmetrics
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  /rest/config/defaults/folder:
                    count: 41
                    percentilesMs:
                      - 0.081747
                      - 0.13653569999999995
                      - 0.249129
                    ratesPerS:
                      - 0.0024077873096041928
                      - 0.008126751652794733
                      - 0.009189160600814487
                    sumMs: 3
                  /rest/config/devices:
                    count: 82
                    percentilesMs:
                      - 1.070644
                      - 3.4636683999999995
                      - 3174.9828
                    ratesPerS:
                      - 0.009644400918918532
                      - 0.015149540657175966
                      - 0.01765572275421185
                    sumMs: 3289
                  /rest/config/folders:
                    count: 123
                    percentilesMs:
                      - 0.0465
                      - 2.574938
                      - 11.41372156000005
                    ratesPerS:
                      - 0.012052188228522718
                      - 0.023276263607732522
                      - 0.025182701327237548
                    sumMs: 102
                  /rest/config/options:
                    count: 41
                    percentilesMs:
                      - 0.08319
                      - 0.16757329999999995
                      - 0.256904
                    ratesPerS:
                      - 0.0024077873096041928
                      - 0.008126751652794733
                      - 0.009189160600814487
                    sumMs: 3
                  /rest/config/restart-required:
                    count: 82
                    percentilesMs:
                      - 0.021982
                      - 0.04056509999999996
                      - 0.092217
                    ratesPerS:
                      - 0.007229987769068415
                      - 0.01570167143603979
                      - 0.01718648857330656
                    sumMs: 1
                  /rest/debug/httpmetrics:
                    count: 0
                    percentilesMs:
                      - 0
                      - 0
                      - 0
                    ratesPerS:
                      - 0
                      - 0
                      - 0
                    sumMs: 0
                  /rest/noauth/health:
                    count: 82
                    percentilesMs:
                      - 0.030058
                      - 0.0394005
                      - 0.068722
                    ratesPerS:
                      - 0.0067433623570156975
                      - 0.015598982459903765
                      - 0.017158508132714405
                    sumMs: 2
                  /rest/system/ping:
                    count: 82
                    percentilesMs:
                      - 0.0293715
                      - 0.050884249999999985
                      - 0.082078
                    ratesPerS:
                      - 0.007229987769058508
                      - 0.01570134360258227
                      - 0.017180870175045167
                    sumMs: 2
  /syncthing/debug/peercompletion:
    get:
      tags:
        - Syncthing
      summary: Summarizes the completion percentage for each remote device
      description: >-
        Summarizes the completion percentage for each remote device. Returns an
        object with device IDs as keys and an integer percentage as values.
        **Admin**
      operationId: fluxSyncthingDebugpeercompletion
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  672TY5T-STUHPCU-WOFKGMG-RF4X4NT-BL5PPUC-FDQRCU5-UMLUDCS-D7JKKAS: 0
                  7IKKJI5-E34NYQT-BCVFJMH-6O5YBNH-ZXRLVCG-7HE6I5Z-V6B5SLM-TNJAFAO: 0
                  7UGAOED-U2TQ7WK-CT3EQX6-JSSEW76-AXFLYZ5-GDQP6AS-OC55FVS-JUMAFAM: 0
                  FZXG2P5-UVWZPMC-4INTLQN-TWPSHQ4-KPJAG6J-XLTX34Y-EYDSJB2-LECDRA2: 0
                  HDO5HCG-SBELWW5-MBXEC7D-O4VJQ2I-C5MYFKG-C6RYJ7Z-EES4AZK-FZORTQF: 0
                  IFH27MK-JKOWPNY-NSWEAKG-ZQ4Q6FI-7L4LR7P-N3DVWZE-QW4BBWA-BVXCJQN: 0
                  QOYZMHI-VRZGOOI-VA76CAS-YGYK7Q2-H74L64R-JDCAFNQ-JRKYDCZ-UFM7IAE: 0
  /syncthing/debug/cpuprof:
    get:
      tags:
        - Syncthing
      summary: Used to capture a profile of what Syncthing is doing on the CPU
      description: >-
        The profiling starts when the page is requested and takes 30 seconds.
        During this time it will seem like nothing is happening and the browser
        is just waiting, hung, or “spinning”. Don’t worry - leave it be and have
        patience. Once done the profiling will result in a download called
        something like syncthing-cpu-windows-amd64-v0.14.4-112233.pprof. This is
        the file to keep and send in, without modifying the file name as it
        tells us information necessary to interpret it. **Public**
      operationId: fluxSyncthingDebugCpuprof
      security: []
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
  /syncthing/debug/heapprof:
    get:
      tags:
        - Syncthing
      summary: >-
        Used to capture a profile of what Syncthing is doing with the heap
        memory
      description: >-
        The profiling will result in a download called something like
        syncthing-heap-windows-amd64-v0.14.4-112233.pprof. This is the file to
        keep and send in, without modifying the file name as it tells us
        information necessary to interpret it. **Public**
      operationId: fluxSyncthingDebugHeapprof
      security: []
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
  /syncthing/debug/support:
    get:
      tags:
        - Syncthing
      summary: >-
        Collects information about the running instance for troubleshooting
        purposes
      description: >-
        Returns a “support bundle” as a zipped archive, which should be sent to
        the developers after verifying it contains no sensitive personal
        information. Credentials for the web GUI and the API key are
        automatically redacted already. **Public**
      operationId: fluxSyncthingDebugSupport
      security: []
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
  /syncthing/debug/file:
    get:
      tags:
        - Syncthing
      summary: Shows diagnostics about a certain file in a shared folder
      description: >-
        Shows diagnostics about a certain file in a shared folder. Takes the
        folder (folder ID) and file (folder relative path) parameters. **Admin**
      operationId: fluxSyncthingDebugFile
      security:
        - ZelID: []
      parameters:
        - in: query
          name: folder
          required: true
          schema:
            type: string
          description: folder ID
          example: fluxwp_wordpress1678382606717
        - in: query
          name: file
          required: true
          schema:
            type: string
          description: folder relative path
          example: /
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  availability: null
                  global:
                    deleted: false
                    ignored: false
                    inodeChange: '1970-01-01T00:00:00Z'
                    invalid: false
                    localFlags: 0
                    modified: '1970-01-01T00:00:00Z'
                    modifiedBy: ''
                    mustRescan: false
                    name: ''
                    noPermissions: false
                    numBlocks: 0
                    permissions: '0'
                    platform:
                      unix: null
                      windows: null
                      linux: null
                      darwin: null
                      freebsd: null
                      netbsd: null
                    sequence: 0
                    size: 0
                    type: FILE_INFO_TYPE_FILE
                    version: []
                  globalVersions: '{}'
                  local:
                    deleted: false
                    ignored: false
                    inodeChange: '1970-01-01T00:00:00Z'
                    invalid: false
                    localFlags: 0
                    modified: '1970-01-01T00:00:00Z'
                    modifiedBy: ''
                    mustRescan: false
                    name: ''
                    noPermissions: false
                    numBlocks: 0
                    permissions: '0'
                    platform:
                      unix: null
                      windows: null
                      linux: null
                      darwin: null
                      freebsd: null
                      netbsd: null
                    sequence: 0
                    size: 0
                    type: FILE_INFO_TYPE_FILE
                    version: []
                  mtime:
                    err: null
                    value:
                      real: '0001-01-01T00:00:00Z'
                      virtual: '0001-01-01T00:00:00Z'
  /syncthing/deviceid:
    get:
      tags:
        - Syncthing
      summary: Display deviceid
      description: Returns deviceid. **Public**
      operationId: fluxSyncthingDeviceID
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data: >-
                  P56IOI7-MZJNU2Y-IQGDREY-DM2MGTI-MGL3BXN-PQ6W5BM-TBBZ4TJ-XZWICQ2
  /syncthing/meta:
    get:
      tags:
        - Syncthing
      summary: Display metadata information
      description: Returns metadata variable. **Public**
      operationId: fluxSyncthingMeta
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
              example:
                status: success
                data: >-
                  var metadata =
                  {"deviceID":"7IKKJI5-E34NYQT-BCVFJMH-6O5WBNH-ZXRLVCG-7HE6I5Z-V6B8SLM-TNJAFAO"};
  /syncthing/health:
    get:
      tags:
        - Syncthing
      summary: Check health status
      description: Returns health status object. **Public**
      operationId: fluxSyncthingHealth
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      status:
                        type: string
              example:
                status: success
                data:
                  status: OK
  /apps/fluxshare/getfile:
    get:
      tags:
        - Fluxshare
      summary: Share files
      description: Call to retrieve share file. **Admin**
      operationId: fluxShareFile
      security:
        - ZelID: []
      parameters:
        - in: query
          name: file
          required: true
          schema:
            type: string
          description: >-
            File name of share file to view or download. Can be nested in
            additional folder.
          example: 5688d73c4e136d1e0ef33b600
        - in: query
          name: token
          required: true
          schema:
            type: string
          description: token
          example: d52e40a6559facb74ecc97d9284b8eba75bcb16c4349ccedc4dfb29f9c41d2c0
      responses:
        '200':
          description: Share file to view/download
          content:
            application/file:
              schema:
                type: string
                format: binary
              example: Hello world
  /apps/fluxshare/getfolder:
    get:
      tags:
        - Fluxshare
      summary: FluxShare - Get folder content
      description: Call to get content of folder in fluxshare. **Admin**
      operationId: GetFolder
      security:
        - ZelID: []
      parameters:
        - in: query
          name: folder
          required: true
          schema:
            type: string
          description: The name of the folder that content will be display
          example: test
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                          description: Name of file
                        size:
                          type: integer
                          description: Size of file
                        isDirectory:
                          type: boolean
                          description: True if item is directory
                        isFile:
                          type: boolean
                          description: True if item is file
                        isSymbolicLink:
                          type: boolean
                          description: True if item is symbolic link
                        createdAt:
                          type: string
                          description: Create date of item
                        modifiedAt:
                          type: string
                          description: Modifi date of item
                        shareToken:
                          type: string
                          description: Share token when file is share
                        shareFile:
                          type: string
                          description: Path if file is shared
              example:
                status: success
                data:
                  name: b1fcb9da0a941468f2c8cde01.txt
                  size: 119273
                  isDirectory: false
                  isFile: true
                  isSymbolicLink: false
                  createdAt: '2022-04-09T10:38:18.482Z'
                  modifiedAt: '2022-04-09T10:38:18.562Z'
                  shareToken: >-
                    acb55e162ce245bd7cf78a0a2fa00eba7d960ac3312f3cb441a4e3884966c6c3
                  shareFile: test%2Fb1fcb9da0a941468f2c8cde01.txt
  /apps/fluxshare/createfolder:
    get:
      tags:
        - Fluxshare
      summary: FluxShare - Create folder
      description: Call to create folder in fluxshare. **Admin**
      operationId: CreateFolder
      security:
        - ZelID: []
      parameters:
        - in: query
          name: folder
          required: true
          schema:
            type: string
          description: The name of the folder that will be created in fluxshare
          example: test
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Explanation of status
              example:
                status: success
                data:
                  message: Folder Created
  /apps/fluxshare/removefile:
    get:
      tags:
        - Fluxshare
      summary: FluxShare - Remove file
      description: Call to remove file from fluxshare. **Admin**
      operationId: RemoveFile
      security:
        - ZelID: []
      parameters:
        - in: query
          name: file
          required: true
          schema:
            type: string
          description: The name of the file that will be removed in fluxshare
          example: test
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Explanation of status
              example:
                status: success
                data:
                  message: File Removed
  /apps/fluxshare/removefolder:
    get:
      tags:
        - Fluxshare
      summary: FluxShare - Remove folder
      description: Call to remove folder from fluxshare. **Admin**
      operationId: RemoveFolder
      security:
        - ZelID: []
      parameters:
        - in: query
          name: folder
          required: true
          schema:
            type: string
          description: The name of the folder that will be removed in fluxshare
          example: test
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Explanation of status
              example:
                status: success
                data:
                  message: Folder Removed
  /apps/fluxshare/fileexists:
    get:
      tags:
        - Fluxshare
      summary: FluxShare - File exists
      description: Call to check if file exist. **Admin**
      operationId: FileExists
      security:
        - ZelID: []
      parameters:
        - in: query
          name: file
          required: true
          schema:
            type: string
          description: File name to check if exists
          example: message.txt
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      fileexists:
                        type: boolean
                        description: Explanation of file status
              example:
                status: success
                data:
                  fileExists: true
  /apps/fluxshare/stats:
    get:
      tags:
        - Fluxshare
      summary: FluxShare - Stats
      description: Call to check stats of fluxshare. **Admin**
      operationId: Stats
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      available:
                        type: number
                        description: Available space in fluxshare
                      used:
                        type: number
                        description: Used space in fluxshare
                      total:
                        type: number
                        description: Total space in fluxshare
              example:
                status: success
                data:
                  available: 1.999761
                  used: 0.000239
                  total: 2
  /apps/fluxshare/sharefile:
    get:
      tags:
        - Fluxshare
      summary: FluxShare - Share file
      description: Call to share file in fluxshare. **Admin**
      operationId: ShareFile
      security:
        - ZelID: []
      parameters:
        - in: query
          name: file
          required: true
          schema:
            type: string
          description: File name that will be share
          example: message.txt
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      name:
                        type: string
                        description: File name
                      token:
                        type: string
                        description: Token for share file
                      _id:
                        type: string
                        description: Id of file
              example:
                status: success
                data:
                  name: 3481a25d24702b2ff3cefed00.txt
                  token: >-
                    8e889d99cb46b3ce7e75a008ed2feaeaa03a0d203c47a3bdd5a068c3fee837d3
                  _id: 6276251c61d22f58c2902d32
  /apps/fluxshare/unsharefile:
    get:
      tags:
        - Fluxshare
      summary: FluxShare - Unshare file
      description: Call to unshare file in fluxshare. **Admin**
      operationId: UnshareFile
      security:
        - ZelID: []
      parameters:
        - in: query
          name: file
          required: true
          schema:
            type: string
          description: File name that will be unshare
          example: message.txt
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Explanation of status
              example:
                status: success
                data:
                  message: File sharing disabled
  /apps/fluxshare/sharedfiles:
    get:
      tags:
        - Fluxshare
      summary: FluxShare - Shared files
      description: Call to display shared files. **Admin**
      operationId: SharedFiles
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                          description: File name
                        token:
                          type: string
                          description: Token for share file
              example:
                status: success
                data:
                  name: test%2Fb1fcb9da0a941468f2c8cde01.txt
                  token: >-
                    acb55e162ce245bd7cf78a0a2fa00eba7d960ac3312f3cb441a4e3884966c6c3
  /apps/fluxshare/rename:
    get:
      tags:
        - Fluxshare
      summary: FluxShare - Rename file
      description: Call to rename file in fluxshare. **Admin**
      operationId: RenameFile
      security:
        - ZelID: []
      parameters:
        - in: query
          name: oldpath
          required: true
          schema:
            type: string
          description: Path to file
          example: test%2Fb1fcb9da0a941468f2c8cde01.txt
        - in: query
          name: newname
          required: true
          schema:
            type: string
          description: New name for file
          example: 2Fb1fcb9da0a941468f2c8cde02.txt
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Explanation of status
              example:
                status: success
                data:
                  message: Rename successful
  /apps/fluxshare/downloadfolder:
    get:
      tags:
        - Fluxshare
      summary: FluxShare - Download folder
      description: Call to download content of folder in fluxshare. **Admin**
      operationId: FluxDownloadFolder
      security:
        - ZelID: []
      parameters:
        - in: query
          name: folder
          required: true
          schema:
            type: string
          description: The name of the folder
          example: test
      responses:
        '200':
          description: Share file to view/download
          content:
            application/file:
              schema:
                type: string
                format: binary
              example: Hello world
  /apps/fluxshare/upload:
    post:
      tags:
        - Fluxshare
      summary: Fluxshare - Upload file
      description: Uploads a file. **Admin**
      operationId: fileUploadFluxshare
      security:
        - ZelID: []
      parameters:
        - in: query
          name: folder
          required: false
          schema:
            type: string
          description: path inside fluxshare
          example: ddd/ccc
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
      responses:
        '200':
          description: OK
  /apps/listrunningapps:
    get:
      tags:
        - Apps
      summary: list running apps
      description: List and info of running apps. **Public**
      operationId: listRunningApps
      security: []
      x-codeSamples:
        - lang: curl
          source: |
            curl -X GET "https://api.runonflux.io/apps/listrunningapps"
        - lang: JavaScript
          source: >
            const response = await
            fetch('https://api.runonflux.io/apps/listrunningapps');

            const apps = await response.json();


            // Display running apps

            apps.data.forEach(app => {
              console.log(`App: ${app.Names[0]} - Status: ${app.State}`);
            });
        - lang: Python
          source: >
            import requests


            response =
            requests.get('https://api.runonflux.io/apps/listrunningapps')

            apps_data = response.json()


            for app in apps_data['data']:
                print(f"App: {app['Names'][0]} - Status: {app['State']}")
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/containerinfo'
              example:
                status: success
                data:
                  - Id: >-
                      9a1369a96d82e74173476d30b12ac70c7261c253433b1303737d0461c5cbedee
                    Names:
                      - /fluxFoldingAtHome
                    Image: yurinnick/folding-at-home:latest
                    ImageID: >-
                      sha256:278b92c12d772dcfd77878fbb86714fd31d1c3e651b4f81761cc10b660cdb1d6
                    Command: /opt/fahclient/entrypoint.sh --allow 0/0 --web-allow 0/0
                    Created: 1587928808
                    Ports:
                      - PrivatePort: 36330
                        Type: tcp
                      - IP: 0.0.0.0
                        PrivatePort: 7396
                        PublicPort: 30000
                        Type: tcp
                    Labels:
                      description: Unofficial Folding@Home image for CPU compute
                      maintainer: yurinnick
                      repository: https://github.com/yurinnick/folding-at-home-docker
                      version: 7.6
                    State: running
                    Status: Up 5 days
                    HostConfig:
                      NetworkMode: fluxDockerNetwork
                    NetworkSettings:
                      Networks:
                        fluxDockerNetwork:
                          IPAMConfig: null
                          Links: null
                          Aliases: null
                          NetworkID: >-
                            58358cee5a53dc4a089fb2f6341662cfb8aec702c5c16066ed3fd4c7570e330e
                          EndpointID: >-
                            f170fc599a65132a82fc6217cddc2ba40ade43263042dae0be8ab8ef4fadbec7
                          Gateway: 172.16.0.1
                          IPAddress: 172.16.0.2
                          IPPrefixLen: 16
                          IPv6Gateway: ''
                          GlobalIPv6Address: ''
                          GlobalIPv6PrefixLen: 0
                          MacAddress: 02:42:ac:10:00:02
                          DriverOpts: null
                    Mounts:
                      - Type: bind
                        Source: /home/user/flux/ZelApps/fluxFoldingAtHome
                        Destination: /config
                        Mode: ''
                        RW: true
                        Propagation: rprivate
  /apps/listallapps:
    get:
      tags:
        - Apps
      summary: list all apps
      description: List and info of all apps. **Public**
      operationId: listAllApps
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/containerinfo'
              example:
                status: success
                data:
                  - Id: >-
                      9a1369a96d82e74173476d30b12ac70c7261c253433b1303737d0461c5cbedee
                    Names:
                      - /fluxFoldingAtHome
                    Image: yurinnick/folding-at-home:latest
                    ImageID: >-
                      sha256:278b92c12d772dcfd77878fbb86714fd31d1c3e651b4f81761cc10b660cdb1d6
                    Command: /opt/fahclient/entrypoint.sh --allow 0/0 --web-allow 0/0
                    Created: 1587928808
                    Ports:
                      - PrivatePort: 36330
                        Type: tcp
                      - IP: 0.0.0.0
                        PrivatePort: 7396
                        PublicPort: 30000
                        Type: tcp
                    Labels:
                      description: Unofficial Folding@Home image for CPU compute
                      maintainer: yurinnick
                      repository: https://github.com/yurinnick/folding-at-home-docker
                      version: 7.6
                    State: running
                    Status: Up 5 days
                    HostConfig:
                      NetworkMode: fluxDockerNetwork
                    NetworkSettings:
                      Networks:
                        fluxDockerNetwork:
                          IPAMConfig: null
                          Links: null
                          Aliases: null
                          NetworkID: >-
                            58358cee5a53dc4a089fb2f6341662cfb8aec702c5c16066ed3fd4c7570e330e
                          EndpointID: >-
                            f170fc599a65132a82fc6217cddc2ba40ade43263042dae0be8ab8ef4fadbec7
                          Gateway: 172.16.0.1
                          IPAddress: 172.16.0.2
                          IPPrefixLen: 16
                          IPv6Gateway: ''
                          GlobalIPv6Address: ''
                          GlobalIPv6PrefixLen: 0
                          MacAddress: 02:42:ac:10:00:02
                          DriverOpts: null
                    Mounts:
                      - Type: bind
                        Source: /home/user/flux/ZelApps/fluxFoldingAtHome
                        Destination: /config
                        Mode: ''
                        RW: true
                        Propagation: rprivate
  /apps/listappsimages:
    get:
      tags:
        - Apps
      summary: List of images
      description: List of apps images installed. **Public**
      operationId: listAppsImages
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        Containers:
                          type: integer
                          description: Container number
                        Created:
                          type: integer
                          description: Time created in epoch time
                        Id:
                          type: string
                          description: Hash of image
                        Labels:
                          type: object
                          description: User-defined key/value metadata
                          properties:
                            description:
                              type: string
                              description: Description of image
                            maintainer:
                              type: string
                              description: Name of maintainer
                            repository:
                              type: string
                              description: Url of repository
                            version:
                              type: number
                              description: Version number
                        ParentId:
                          type: string
                          description: Parent Id if available
                        RepoDigests:
                          type: array
                          items:
                            type: string
                            description: Content addressable identifier
                        RepoTags:
                          type: array
                          items:
                            type: string
                            description: Repo tag name
                        SharedSize:
                          type: integer
                          description: Number of shared size
                        Size:
                          type: integer
                          description: Size in bytes
                        VirtualSize:
                          type: integer
                          description: Size in bytes
              example:
                status: success
                data:
                  - Containers: -1
                    Created: 1588224617
                    Id: >-
                      sha256:8bd1fb3dd2de02f8d4403c657da6a19efeef9286981537b30d2a107079018402
                    Labels:
                      description: Unofficial Folding@Home image for CPU compute
                      maintainer: yurinnick
                      repository: https://github.com/yurinnick/folding-at-home-docker
                      version: 7.6
                  - ParentId: ''
                    RepoDigests:
                      - >-
                        yurinnick/folding-at-home@sha256:da4a32a257883ce5b796482d0f82ec1d1f191056600eb490e1195a65f6100d6d
                    RepoTags:
                      - yurinnick/folding-at-home:latest
                    SharedSize: -1
                    Size: 85515870
                    VirtualSize: 85515870
  /apps/installedapps:
    get:
      tags:
        - Apps
      summary: installed apps
      description: Info of installed apps. **Public**
      operationId: installedApps
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        _id:
                          type: string
                          description: App id
                        repotag:
                          type: string
                          description: Repository tag
                        name:
                          type: string
                          description: Name of app
                        port:
                          type: integer
                          description: Port number
                        cpu:
                          type: number
                          description: CPU usage
                        ram:
                          type: integer
                          description: Ram usage
                        hdd:
                          type: integer
                          description: Disk usage
                        enviromentParameters:
                          type: array
                          items:
                            type: string
                            description: Parameters
                        commands:
                          type: array
                          items:
                            type: string
                            description: Parameters
                        containerPort:
                          type: integer
                          description: Port number
                        containerData:
                          type: string
                          description: Dir of container
              example:
                status: success
                data:
                  - _id: 5ea5ded34640e92141c6ce35
                    repotag: yurinnick/folding-at-home:latest
                    name: fluxFoldingAtHome
                    port: 30000
                    cpu: 0.5
                    ram: 500
                    hdd: 15
                    enviromentParameters:
                      - USERS=1MQetQGLuSmf6QVvYJFwuSR66WrU47G6NG
                      - TEAM=262156
                      - ENABLE_GPU=false
                      - ENABLE_SMP=true
                    commands:
                      - '--allow'
                      - 0/0
                      - '--web-allow'
                      - 0/0
                    containerPort: 7396
                    containerData: /config
  /apps/availableapps:
    get:
      tags:
        - Apps
      summary: available apps
      description: Info of available apps. **Public**
      operationId: availableApps
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                          description: App name/id
                        repotag:
                          type: string
                          description: Repository tag
                        owner:
                          type: string
                          description: User's id
                        timestamp:
                          type: integer
                          description: Time stamp in epoch time
                        validTill:
                          type: integer
                          description: Valid time in epoch time
                        tiered:
                          type: boolean
                          description: Tier option
                        port:
                          type: integer
                          description: Port number
                        cpu:
                          type: number
                          description: CPU usage
                        ram:
                          type: integer
                          description: Ram usage
                        hdd:
                          type: integer
                          description: Disk usage
                        cpubasic:
                          type: string
                          description: CPU usage
                        cpusuper:
                          type: string
                          description: CPU usage
                        cpubamf:
                          type: string
                          description: CPU usage
                        rambasic:
                          type: integer
                          description: Ram usage
                        ramsuper:
                          type: integer
                          description: Ram usage
                        rambamf:
                          type: integer
                          description: Ram usage
                        hddbasic:
                          type: integer
                          description: Disk usage
                        hddsuper:
                          type: integer
                          description: Disk usage
                        hddbamf:
                          type: integer
                          description: Disk usage
                        enviromentParameters:
                          type: array
                          items:
                            type: string
                            description: Parameters
                        commands:
                          type: array
                          items:
                            type: string
                            description: Parameters
                        containerPort:
                          type: integer
                          description: Port number
                        containerData:
                          type: string
                          description: Dir of container
                        signature:
                          type: string
                          description: Signature
                        txid:
                          type: string
                          description: Txid
              example:
                status: success
                data:
                  - name: fluxFoldingAtHome
                    repotag: yurinnick/folding-at-home:latest
                    owner: 1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC
                    timestamp: 1587181519000
                    validTill: 1608263119000
                    tiered: true
                    port: 30000
                    cpu: 0.5
                    ram: 500
                    hdd: 15
                    cpubasic: 0.5
                    cpusuper: 1
                    cpubamf: 2
                    rambasic: 500
                    ramsuper: 1000
                    rambamf: 4000
                    hddbasic: 15
                    hddsuper: 15
                    hddbamf: 15
                    enviromentParameters:
                      - USERS=1MQetQGLuSmf6QVvYJFwuSR66WrU47G6NG
                      - TEAM=262156
                      - ENABLE_GPU=false
                      - ENABLE_SMP=true
                    commands:
                      - '--allow'
                      - 0/0
                      - '--web-allow'
                      - 0/0
                    containerPort: 7396
                    containerData: /config
                    signature: todo
                    txid: todo
  /apps/fluxusage:
    get:
      tags:
        - Apps
      summary: Flux's usage
      description: Will return amount of cpu resource flux is using. **Public**
      operationId: FluxUsage
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: number
                    description: Amount of cpu resource using
              example:
                status: success
                data: 0.20717773
  /apps/appsresources:
    get:
      tags:
        - Apps
      summary: Flux's usage of resources
      description: Will return data of resource flux is using. **Public**
      operationId: appsResources
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/appsresources'
              example:
                status: success
                data:
                  appsCpusLocked: 0
                  appsRamLocked: 0
                  appsHddLocked: 0
  /apps/registrationinformation:
    get:
      tags:
        - Apps
      summary: Registration Info
      description: Apps registration info. **Public**
      operationId: registrationInformation
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      price:
                        type: object
                        description: Price guide
                        properties:
                          cpu:
                            type: integer
                            description: FLUX amount per 0.1 cpu core
                          ram:
                            type: integer
                            description: FLUX amount per 100 mb
                          hdd:
                            type: number
                            description: FLUX amount per 1 gb
                      address:
                        type: string
                        description: Apps registration address
                      epochstart:
                        type: integer
                        description: Fluxapps epoch blockheight start
                      portMin:
                        type: integer
                        description: Min number in port range
                      portMax:
                        type: integer
                        description: Max number in port range
                      maxImageSize:
                        type: integer
                        description: Max number of image size allowed in bytes
                      installation:
                        type: object
                        properties:
                          probability:
                            type: integer
                            description: Instances it will spawn this round
                          delay:
                            type: integer
                            description: Delay time in seconds
                      removal:
                        type: object
                        properties:
                          probability:
                            type: integer
                            description: >-
                              Instances it will remove if amount of apps exceed
                              limit at a 1 out of 20 rate.
                          delay:
                            type: integer
                            description: Delay time in seconds
                      blocksLasting:
                        type: integer
                        description: >-
                          Amount of time registered app is live in blocks. 22000
                          blocks = 1 month
              example:
                status: success
                data:
                  price:
                    cpu: 15
                    ram: 5
                    hdd: 2.5
                  address: t1...
                  epochstart: 690000
                  portMin: 31000
                  portMax: 39999
                  maxImageSize: 300000000
                  installation:
                    probability: 2
                    delay: 120
                  removal:
                    probability: 20
                    delay: 300
                  blocksLasting: 22000
  /apps/temporarymessages:
    get:
      tags:
        - Apps
      summary: Temporary registration info
      description: Temporary registration info that will expire after 1 hour. **Public**
      operationId: getAppsTemporaryMessages
      security: []
      parameters:
        - in: query
          name: hash
          required: false
          schema:
            type: string
          description: Aplication hash
          example: e9293e7eebc51586e7b90557f924b70a766ab970c91a6c923520577021424cb9
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        appSpecifications:
                          $ref: '#/components/schemas/appspecification'
                        type:
                          type: string
                          description: Message type
                        version:
                          type: integer
                          description: Message version
                        hash:
                          type: string
                          description: Message hash
                        timestamp:
                          type: integer
                          description: Timestamp of message in epoch/unix
                        signature:
                          type: string
                          description: Signature from signed message
                        receivedAt:
                          type: string
                          description: Date and time of received message
                        expiredAt:
                          type: string
                          description: Date and time when message expires
              example:
                status: success
                data:
                  - appSpecifications:
                      version: 7
                      name: mexcdnxbot
                      description: DNX trading bot
                      owner: 1DSBszWHPNs4MXwRdtV7wDLKDXRefzVYVi
                      compose:
                        - name: mexcdnxbot
                          description: DNX trading bot
                          repotag: botinflux/mexc-dnx-bot:latest
                          ports: []
                          domains: []
                          environmentParameters:
                            - api_key=mx0vddeecVubo
                            - secret_key=b5c0433de7b2c1105222667871
                            - email_sender=cla23lans@gmail.com
                            - email_receiver=clas23xclans@gmail.com
                            - email_password=cjpv23pnjmuhl
                          commands: []
                          containerPorts: []
                          containerData: /tmp
                          cpu: 1
                          ram: 1000
                          hdd: 5
                          tiered: false
                          secrets: ''
                          repoauth: ''
                      instances: 3
                      contacts:
                        - >-
                          F_S_CONTACTS=https://storage.runonflux.io/v1/contacts/375596725336268
                      geolocation:
                        - a!cAS_ID
                      expire: 22000
                      nodes: []
                      staticip: false
                    type: fluxappregister
                    version: 1
                    hash: >-
                      11287d6b41cc35657d34e882678fbe8494a820e05eb006ef886512872fe28c98
                    timestamp: 1692715746982
                    signature: >-
                      Hw4G1u4APaVaw+ZX6qnpYJmHLZrQG/xK3w5WJ2efqTYSYUQUQdW2g6xsr1imi7F/YLybyOj3LQiByxVc7i40Ljk=
                    receivedAt: '2023-08-22T14:50:33.485Z'
                    expireAt: '2023-08-22T15:50:33.485Z'
  /apps/permanentmessages:
    get:
      tags:
        - Apps
      summary: Permanent registration info
      description: >-
        Registration info of apps that have been stored to the database.
        **Public**
      operationId: getAppsPermanentMessages
      security: []
      parameters:
        - in: query
          name: hash
          required: false
          schema:
            type: string
          description: Application hash
          example: e9293e7eebc51586e7b90557f924b70a766ab970c91a6c923520577021424cb9
        - in: query
          name: owner
          required: false
          schema:
            type: string
          description: Application ZelID
          example: 15Mt8ctAFTVVzsx9UynnqxgM5JJuiwMPhs
        - in: query
          name: appname
          required: false
          schema:
            type: string
          description: Application name
          example: FoldingAtFluxCloud1693167320638
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        type:
                          type: string
                          description: >-
                            Message type ```fluxappregister``` or
                            ```fluxappupdate```
                        version:
                          type: integer
                          description: Application specification message version, current 1
                        appSpecifications:
                          $ref: '#/components/schemas/appspecification'
                        hash:
                          type: string
                          description: Message hash
                        timestamp:
                          type: integer
                          description: Timestamp of message in epoch/unix
                        signature:
                          type: string
                          description: Signature from signed message
                        txid:
                          type: string
                          description: Transction ID of app payment
                        height:
                          type: integer
                          description: Block height of transaction
                        valueSat:
                          type: integer
                          description: Flux sat value of payment amount
              example:
                status: success
                data:
                  - type: fluxappupdate
                    version: 1
                    appSpecifications:
                      version: 7
                      name: HH1u
                      description: HH1u
                      owner: 1xw845H9vKEjvcghMiYFy3htnBay7KpN9
                      compose:
                        - name: brit
                          description: brit
                          repotag: sandmanshiri/uni:2.0
                          ports:
                            - 38151
                            - 37234
                          domains:
                            - ''
                            - ''
                          environmentParameters:
                            - RP=Mhskap0737
                            - RUP=Mhskap0737
                            - NPU=40
                            - prefix=MHssh20
                            - udport=37234
                            - limit=1
                            - IP=2
                            - SIN=1357
                          commands: []
                          containerPorts:
                            - 22
                            - 37234
                          containerData: s:/home
                          cpu: 0.1
                          ram: 100
                          hdd: 3
                          tiered: false
                          secrets: ''
                          repoauth: ''
                      instances: 3
                      contacts: []
                      geolocation:
                        - acEU_PT
                      expire: 22000
                      nodes: []
                      staticip: false
                    hash: >-
                      bab9b6d419316bebbe2a98d8b585377c8a10177f59e3032a3dafa536490ae46c
                    timestamp: 1693123992018
                    signature: >-
                      IJ3NFgmxOgsnTfYNLR7u/FlNmUKAaIdto6BmPCuse9p3cVUrNJA9Oj0xJmuMZJsawWv2t7Wv6hWQBQC2DHFRDeg=
                    txid: >-
                      0f2512106561e096193787d1fd35d97114ac85beb84fdf6b11cc7cb32bd85048
                    height: 1456168
                    valueSat: 3000000
                  - type: fluxappregister
                    version: 1
                    appSpecifications:
                      version: 4
                      name: StreamrNode1693128754201
                      description: The Streamr Broker Node hosted via the Flux Cloud
                      owner: 14N5LBR23NBxJVR4QLgyWnvSb2QmLHAjbL
                      compose:
                        - name: streamrbroker
                          description: The Streamr Broker Node Container
                          repotag: streamr/broker-node:latest
                          ports:
                            - 31111
                            - 31112
                            - 31113
                          domains:
                            - ''
                            - ''
                            - ''
                          environmentParameters:
                            - >-
                              STREAMR__BROKER__PLUGINS__BRUBECK_MINER__BENEFICIARY_ADDRESS=0x11D482E93b08cC46493BC88cf1770Cb91ec59A98
                          commands: []
                          containerPorts:
                            - 1883
                            - 7170
                            - 7171
                          containerData: /home/streamr/.streamr
                          cpu: 1
                          ram: 1000
                          hdd: 1
                          tiered: false
                      instances: 3
                    hash: >-
                      e33205dcd24eed1957e6fd0a5913c7cc6972097f6a00ae72b929f9ffbe4c05c3
                    timestamp: 1693128755202
                    signature: >-
                      IE/O0HPxxuHKrKz/M6MF+MpVRZ6JyjFQzCSaubyMsjngSGRwuXdQvesauavlD4pWJE3HC0KAdEB0n/MT7h7fN7g=
                    txid: >-
                      8087dfb4a99d9c6984ded97a3ea2b500833f981b8fc35d96ed339363c2bd77be
                    height: 1456206
                    valueSat: 599000000
  /apps/globalappsspecifications:
    get:
      tags:
        - Apps
      summary: Global app specs
      description: List of global app specifications. **Public**
      operationId: getGlobalAppsSpecifications
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
              example:
                status: success
                data:
                  - name: FoldingAtFluxCloud1692691337989
                    compose:
                      - name: FoldingAtHome
                        description: Folding @ Home for AMD64 Devices.
                        repotag: yurinnick/folding-at-home:latest
                        ports:
                          - 35555
                        domains:
                          - ''
                        environmentParameters:
                          - TEAM=222256
                          - USER=stam342kara
                        commands: []
                        containerPorts:
                          - 7396
                        containerData: /config
                        cpu: 1
                        ram: 700
                        hdd: 3
                        tiered: false
                    description: >-
                      PoUW at Flux layer 2 network. Folding@home is a project
                      focused on disease research. Client Visit was disabled, to
                      check Run On Flux team stats go to
                      https://stats.foldingathome.org/team/262156
                    hash: >-
                      05477aab02112b1db73a83ecee18d04a6933efddff80433c1ac10abf611ec9f1
                    height: 1452583
                    instances: 3
                    owner: 1CS3fDTSkyJhsAST6xoeG4VG8ReWtuYhju
                    version: 4
                  - name: StreamrNode1692696525963
                    compose:
                      - name: streamrbroker
                        description: The Streamr Broker Node Container
                        repotag: streamr/broker-node:latest
                        ports:
                          - 31111
                          - 31112
                          - 31113
                        domains:
                          - ''
                          - ''
                          - ''
                        environmentParameters:
                          - >-
                            STREAMR__BROKER__PLUGINS__BRUBECK_MINER__BENEFICIARY_ADDRESS=0xc60FA67aFd5A4332214D483b4Ff8E2993C8e3999
                        commands: []
                        containerPorts:
                          - 1883
                          - 7170
                          - 7171
                        containerData: /home/streamr/.streamr
                        cpu: 1
                        ram: 1000
                        hdd: 1
                        tiered: false
                    description: The Streamr Broker Node hosted via the Flux Cloud
                    hash: >-
                      f647632c17c17a8feb7b8f39cc33eb9d0cde448d93ca8a251dab54dbee970638
                    height: 1452619
                    instances: 3
                    owner: 1MhgaXdkNTqxvxxMBBWqmxvWTCRZ1kBYUQ
                    version: 4
                  - name: mexcdnxbot
                    compose:
                      - name: mexcdnxbot
                        description: DNX trading bot
                        repotag: botinflux/mexc-dnx-bot:latest
                        ports: []
                        domains: []
                        environmentParameters:
                          - >-
                            F_S_ENV=https://storage.runonflux.io/v1/env/920423489107913
                        commands: []
                        containerPorts: []
                        containerData: /tmp
                        cpu: 1
                        ram: 1000
                        hdd: 5
                        tiered: false
                        secrets: ''
                        repoauth: ''
                    contacts:
                      - >-
                        F_S_CONTACTS=https://storage.runonflux.io/v1/contacts/375596725336268
                    description: DNX trading bot
                    expire: 22000
                    geolocation:
                      - a!cAS_ID_NONE
                    hash: >-
                      b9f3040c63ba8820acddcff5e503e8047a5c603ed734bb9bac953dcdc04ee33c
                    height: 1452806
                    instances: 3
                    nodes: []
                    owner: 1DSBszWHPNs4MXwRdtV7wDLKDXRefzVYVi
                    staticip: false
                    version: 7
  /apps/appspecifications:
    get:
      tags:
        - Apps
      summary: Global app specs of app specified
      description: This will return app specifications of the queried app. **Public**
      operationId: getApplicationSpecificationAPI
      security: []
      parameters:
        - in: query
          name: appname
          required: true
          schema:
            type: string
          description: Appname
          example: mexcdnxbot
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/appname'
              example:
                status: success
                data:
                  name: mexcdnxbot
                  compose:
                    - name: mexcdnxbot
                      description: DNX trading bot
                      repotag: botinflux/mexc-dnx-bot:latest
                      ports: []
                      domains: []
                      environmentParameters:
                        - >-
                          F_S_ENV=https://storage.runonflux.io/v1/env/920423489107913
                      commands: []
                      containerPorts: []
                      containerData: /tmp
                      cpu: 1
                      ram: 1000
                      hdd: 5
                      tiered: false
                      secrets: ''
                      repoauth: ''
                  contacts:
                    - >-
                      F_S_CONTACTS=https://storage.runonflux.io/v1/contacts/375596725336268
                  description: DNX trading bot
                  expire: 22000
                  geolocation:
                    - a!cAS_ID_NONE
                  hash: >-
                    b9f3040c63ba8820acddcff5e503e8047a5c603ed734bb9bac953dcdc04ee33c
                  height: 1452806
                  instances: 3
                  nodes: []
                  owner: 1DSBszWHPNs4MXwRdtV7wDLKDXRefzVYVi
                  staticip: false
                  version: 7
  /apps/appowner:
    get:
      tags:
        - Apps
      summary: App owner's ZelID
      description: This will return the ZelID of the owner of the app specified. **Public**
      operationId: getApplicationOwnerAPI
      security: []
      parameters:
        - in: query
          name: appname
          required: true
          schema:
            type: string
          description: Appname
          example: CryptPadOnFlux
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: App owner's ZelID
              example:
                status: success
                data: 1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC
  /apps/hashes:
    get:
      tags:
        - Apps
      summary: Application Hash info
      description: Get list of app hashes and related info. **Public**
      operationId: getAppHashes
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        txid:
                          type: string
                          description: Transaction ID of app payment
                        height:
                          type: integer
                          description: Block height of transaction
                        hash:
                          type: string
                          description: Hash of app registration
                        value:
                          type: integer
                          description: Payment of Flux value in sats
                        message:
                          type: boolean
                          description: If message is stored or not.
              example:
                status: success
                data:
                  - txid: >-
                      885f11f8a44cf1ac9673fb5c745688a95715295e3c3d0d69517a17ab652f8780
                    height: 645719
                    hash: >-
                      b44f1efe7bffc48b62d230f57341ce7fa193b71780491c1bc53c53e502e08d23
                    value: 2800000000
                    message: true
                  - txid: >-
                      91b36e75d0d08640656448de469ff10876dbad3923860b47c1f57a10ab99359f
                    height: 645757
                    hash: >-
                      c9a1a06bc0ff4786607dff32df4b820aedd5e3ca9803fbb29bb0ffb10e170e42
                    value: 4500000000
                    message: true
  /apps/location:
    get:
      tags:
        - Apps
      summary: Info regarding app location
      description: >-
        This will return data regarding the location of app specified.
        **Public**
      operationId: getAppsLocation
      security: []
      parameters:
        - in: query
          name: appname
          required: true
          schema:
            type: string
          description: Appname
          example: electrumxtest
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/appslocation'
              example:
                status: success
                data:
                  - ip: 62.171.163.150
                    name: electrumxtest
                    broadcastedAt: 020-09-19T09:04:56.638Z
                    expireAt: '2020-09-19T10:09:56.638Z'
                    hash: >-
                      6055e9bef2fbd01c3561c4c1f87ba816921b51b6012d76a2f2b78efe8d3a0f8e
                  - ip: 116.203.253.186
                    name: electrumxtest
                    broadcastedAt: '2020-09-19T09:05:09.069Z'
                    expireAt: '2020-09-19T10:10:09.069Z'
                    hash: >-
                      6055e9bef2fbd01c3561c4c1f87ba816921b51b6012d76a2f2b78efe8d3a0f8e
  /apps/locations:
    get:
      tags:
        - Apps
      summary: List of app locations
      description: >-
        This will return a list of known apps on the network and it's locations
        data. **Public**
      operationId: getAppsLocations
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/appslocation'
              example:
                status: success
                data:
                  - ip: 62.171.163.150
                    name: electrumxtest
                    broadcastedAt: 020-09-19T09:04:56.638Z
                    expireAt: '2020-09-19T10:09:56.638Z'
                    hash: >-
                      6055e9bef2fbd01c3561c4c1f87ba816921b51b6012d76a2f2b78efe8d3a0f8e
                  - ip: 116.203.253.186
                    name: dibi-UND
                    broadcastedAt: '2020-09-19T09:24:50.590Z'
                    expireAt: '2020-09-19T10:29:50.590Z'
                    hash: ahashofappmessage
                  - ip: 62.171.163.150
                    name: PacMan
                    broadcastedAt: '2020-09-19T09:25:02.568Z'
                    expireAt: '2020-09-19T10:30:02.568Z'
                    hash: >-
                      818da1ce6a32ed85d02a3e784fbbd0fd21709a4108bdc5d1f6cbc474559cfa7c
                  - ip: 161.35.41.11
                    name: FoldingAtHomeB
                    broadcastedAt: '2020-09-19T09:24:12.428Z'
                    expireAt: '2020-09-19T10:29:12.428Z'
                    hash: ahashofappmessage
  /apps/calculateprice:
    post:
      tags:
        - Apps
      summary: Calculate price of app
      description: >-
        **DEPRECATED**: To get app price. Should be used getAppFiatAndFluxPrice
        method instead. Calculate price by sending request with specs required
        for app you are registering. **Public**

        Note: If tiered value is set to true you will also need to add the
        following key/value pairs

        - `cpubasic: <n value of cpu core>`, `cpusuper: <n value of cpu core>`,
        `cpubamf: <n value of cpu core>`, `rambasic: <n value in mb>`,
        `ramsuper: <n value in mb>`, `rambamf: <n value in mb>`, `hddbasic: <n
        value in gb>`, `hddsuper: <n value in gb>`, `hddbamf: <n value in gb>`
      operationId: getAppPrice
      security: []
      deprecated: true
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                version:
                  type: integer
                  description: Version of message which is 7
                name:
                  type: string
                  description: Name of app
                description:
                  type: string
                  description: Description of app
                owner:
                  type: string
                  description: Your ZelID
                compose:
                  type: array
                  items:
                    type: object
                    description: component specification
                    properties:
                      name:
                        type: string
                        description: Name of app
                      description:
                        type: string
                        description: Description of component
                      repotag:
                        type: string
                        description: >-
                          Repotag of docker image in this format
                          `namespace/repository:tag`
                      ports:
                        type: array
                        items:
                          type: integer
                          description: Ports list
                      domains:
                        type: array
                        items:
                          type: string
                          description: Domain list
                      enviromentParameters:
                        type: array
                        items:
                          type: string
                          description: Environment variables
                      commands:
                        type: array
                        items:
                          type: string
                          description: Execution list
                      containerPorts:
                        type: array
                        items:
                          type: integer
                          description: Container ports
                      containerData:
                        type: string
                        description: >-
                          Directory the data is stored and what dir is tied to
                          the system folder
                      cpu:
                        type: number
                        description: CPU amount requesting
                      ram:
                        type: integer
                        description: Ram amount requesting in MB
                      hdd:
                        type: integer
                        description: Storage space requesting in GB
                      tiered:
                        type: boolean
                        description: >-
                          If set to true you will also need following key/value
                          pairs to provide tiered info. If false do not add the
                          following key/value pairs.
                      cpubasic:
                        type: number
                        description: CPU amount
                      cpusuper:
                        type: number
                        description: CPU amount
                      cpubamf:
                        type: number
                        description: CPU amount
                      rambasic:
                        type: integer
                        description: Ram amount in MB
                      ramsuper:
                        type: integer
                        description: Ram amount in MB
                      rambamf:
                        type: integer
                        description: Ram amount in MB
                      hddbasic:
                        type: integer
                        description: Storage space in GB
                      hddsuper:
                        type: integer
                        description: Storage space in GB
                      hddbamf:
                        type: integer
                        description: Storage space in GB
                      secrets:
                        type: string
                        description: >-
                          Array of strings of Secret Environmental Parameters.
                          This will be encrypted and accessible to selected
                          Enterprise Nodes only.
                      repoauth:
                        type: string
                        description: >-
                          Docker image authentication for private images in the
                          format of username:apikey. This field will be
                          encrypted and accessible to selected Enterprise Nodes
                          only.
                instances:
                  type: integer
                  description: Instances number
                contacts:
                  type: array
                  items:
                    type: string
                    description: Mail list
                geolocation:
                  type: array
                  items:
                    type: string
                    description: Geolocation symbols
                expire:
                  type: integer
                  description: Number of blocks after apps expire
                nodes:
                  type: array
                  items:
                    type: string
                    description: Enterprise Nodes IP list
                staticip:
                  type: boolean
                  description: >-
                    If set to true apps will be installed of nodes with static
                    IP only.
            example:
              version: 7
              name: blockbookneurai
              description: Blockbook for Neurai
              owner: 1XcNTEsgVND4eb3bsVa2bjktnZZSruVct
              compose:
                - name: blockbookneurai
                  description: Blockbook for Neurai
                  repotag: runonflux/blockbook-docker:latest
                  ports:
                    - 38382
                    - 38383
                  domains:
                    - ''
                    - ''
                  environmentParameters: []
                  commands: []
                  containerPorts:
                    - 9199
                    - 1337
                  containerData: /root
                  cpu: 2.5
                  ram: 5000
                  hdd: 40
                  tiered: false
                  secrets: ''
                  repoauth: ''
              instances: 3
              contacts: []
              geolocation: []
              expire: 22000
              nodes: []
              staticip: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: FLUX amount
              example:
                status: success
                data: 1.6
  /apps/calculatefiatandfluxprice:
    post:
      tags:
        - Apps
      summary: Calculate price of app
      description: >-
        Calculate price by sending request with specs required for app you are
        registering. **Public**

        Note: If tiered value is set to true you will also need to add the
        following key/value pairs

        - `cpubasic: <n value of cpu core>`, `cpusuper: <n value of cpu core>`,
        `cpubamf: <n value of cpu core>`, `rambasic: <n value in mb>`,
        `ramsuper: <n value in mb>`, `rambamf: <n value in mb>`, `hddbasic: <n
        value in gb>`, `hddsuper: <n value in gb>`, `hddbamf: <n value in gb>`
      operationId: getAppPriceNew
      security: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                version:
                  type: integer
                  description: Version of message which is 7
                name:
                  type: string
                  description: Name of app
                description:
                  type: string
                  description: Description of app
                owner:
                  type: string
                  description: Your ZelID
                compose:
                  type: array
                  items:
                    type: object
                    description: component specification
                    properties:
                      name:
                        type: string
                        description: Name of app
                      description:
                        type: string
                        description: Description of component
                      repotag:
                        type: string
                        description: >-
                          Repotag of docker image in this format
                          `namespace/repository:tag`
                      ports:
                        type: array
                        items:
                          type: integer
                          description: Ports list
                      domains:
                        type: array
                        items:
                          type: string
                          description: Domain list
                      enviromentParameters:
                        type: array
                        items:
                          type: string
                          description: Environment variables
                      commands:
                        type: array
                        items:
                          type: string
                          description: Execution list
                      containerPorts:
                        type: array
                        items:
                          type: integer
                          description: Container ports
                      containerData:
                        type: string
                        description: >-
                          Directory the data is stored and what dir is tied to
                          the system folder
                      cpu:
                        type: number
                        description: CPU amount requesting
                      ram:
                        type: integer
                        description: Ram amount requesting in MB
                      hdd:
                        type: integer
                        description: Storage space requesting in GB
                      tiered:
                        type: boolean
                        description: >-
                          If set to true you will also need following key/value
                          pairs to provide tiered info. If false do not add the
                          following key/value pairs.
                      cpubasic:
                        type: number
                        description: CPU amount
                      cpusuper:
                        type: number
                        description: CPU amount
                      cpubamf:
                        type: number
                        description: CPU amount
                      rambasic:
                        type: integer
                        description: Ram amount in MB
                      ramsuper:
                        type: integer
                        description: Ram amount in MB
                      rambamf:
                        type: integer
                        description: Ram amount in MB
                      hddbasic:
                        type: integer
                        description: Storage space in GB
                      hddsuper:
                        type: integer
                        description: Storage space in GB
                      hddbamf:
                        type: integer
                        description: Storage space in GB
                      secrets:
                        type: string
                        description: >-
                          Array of strings of Secret Environmental Parameters.
                          This will be encrypted and accessible to selected
                          Enterprise Nodes only.
                      repoauth:
                        type: string
                        description: >-
                          Docker image authentication for private images in the
                          format of username:apikey. This field will be
                          encrypted and accessible to selected Enterprise Nodes
                          only.
                instances:
                  type: integer
                  description: Instances number
                contacts:
                  type: array
                  items:
                    type: string
                    description: Mail list
                geolocation:
                  type: array
                  items:
                    type: string
                    description: Geolocation symbols
                expire:
                  type: integer
                  description: Number of blocks after apps expire
                nodes:
                  type: array
                  items:
                    type: string
                    description: Enterprise Nodes IP list
                staticip:
                  type: boolean
                  description: >-
                    If set to true apps will be installed of nodes with static
                    IP only.
            example:
              version: 7
              name: blockbookneurai
              description: Blockbook for Neurai
              owner: 1XcNTEsgVND4eb3bsVa2bjktnZZSruVct
              compose:
                - name: blockbookneurai
                  description: Blockbook for Neurai
                  repotag: runonflux/blockbook-docker:latest
                  ports:
                    - 38382
                    - 38383
                  domains:
                    - ''
                    - ''
                  environmentParameters: []
                  commands: []
                  containerPorts:
                    - 9199
                    - 1337
                  containerData: /root
                  cpu: 2.5
                  ram: 5000
                  hdd: 40
                  tiered: false
                  secrets: ''
                  repoauth: ''
              instances: 3
              contacts: []
              geolocation: []
              expire: 22000
              nodes: []
              staticip: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: FLUX amount
              example:
                status: success
                data:
                  usd: 7.05
                  flux: 4.73
                  fluxDiscount: 10
  /apps/appstart:
    get:
      tags:
        - Apps
      summary: Starts app
      description: This will start the fluxapp. **AppOwnerAbove**
      operationId: AppStart
      security:
        - ZelID: []
      parameters:
        - in: query
          name: container
          required: true
          schema:
            type: string
          description: Name/Id of app
          example: fluxFoldingAtHome
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Explanation of status
              example:
                status: success
                data: Flux App fluxFoldingAtHome successfully started.
  /apps/appstop:
    get:
      tags:
        - Apps
      summary: Stops app
      description: This will stop the Flux application. **AppOwnerAbove**
      operationId: AppStop
      security:
        - ZelID: []
      parameters:
        - in: query
          name: container
          required: true
          schema:
            type: string
          description: Name/Id of app
          example: fluxFoldingAtHome
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Explanation of status
              example:
                status: success
                data: Flux App fluxFoldingAtHome successfully stopped.
  /apps/apprestart:
    get:
      tags:
        - Apps
      summary: Restarts app
      description: This will restart the Flux application. **AppOwnerAbove**
      operationId: AppRestart
      security:
        - ZelID: []
      parameters:
        - in: query
          name: container
          required: true
          schema:
            type: string
          description: Name/Id of app
          example: fluxFoldingAtHome
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Explanation of status
              example:
                status: success
                data: Flux App fluxFoldingAtHome successfully restarted.
  /apps/apppause:
    get:
      tags:
        - Apps
      summary: Pause app
      description: This will pause the fluxapp. **AppOwnerAbove**
      operationId: appsAppPause
      security:
        - ZelID: []
      parameters:
        - in: query
          name: container
          required: true
          schema:
            type: string
          description: Name/Id of app
          example: fluxFoldingAtHome
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Explanation of status
              example:
                status: success
                data: Flux App fluxFoldingAtHome successfully paused.
  /apps/appunpause:
    get:
      tags:
        - Apps
      summary: Unpause app
      description: This will unpause the Flux application. **AppOwnerAbove**
      operationId: AppUnpause
      security:
        - ZelID: []
      parameters:
        - in: query
          name: container
          required: true
          schema:
            type: string
          description: Name/Id of app
          example: fluxFoldingAtHome
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Explanation of status
              example:
                status: success
                data: Flux App fluxFoldingAtHome successfully unpaused.
  /apps/apptop:
    get:
      tags:
        - Apps
      summary: List of running processes
      description: Display the running processes of a container. **AppOwnerAbove**
      operationId: AppTop
      security:
        - ZelID: []
      parameters:
        - in: query
          name: container
          required: true
          schema:
            type: string
          description: Name/Id of app
          example: fluxFoldingAtHome
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      processes:
                        type: array
                        items:
                          type: string
                          description: >-
                            Each process running in the container, where each is
                            process is an array of values corresponding to the
                            titles
                      Titles:
                        type: array
                        items:
                          type: string
                          description: The ps column titles
              example:
                status: success
                data:
                  Processes:
                    - - 999
                      - 22001
                      - 21971
                      - 0
                      - 1123
                      - '?'
                      - '00:00:00'
                      - >-
                        /bin/bash /opt/fahclient/entrypoint.sh --allow 0/0
                        --web-allow 0/0
                    - - 999
                      - 22069
                      - 22001
                      - 0
                      - 1123
                      - '?'
                      - '00:00:01'
                      - >-
                        /opt/fahclient/FAHClient
                        --user=1CcoEkKQZcwUXPSps4bZJDjUM3mqe9bNXf --team=262156
                        --passkey= --gpu=false --smp=true --power=full
                        --gui-enabled=false --allow 0/0 --web-allow 0/0
                    - - 999
                      - 22085
                      - 22081
                      - 5
                      - 1123
                      - '?'
                      - >-
                        /opt/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/avx/Core_a7.fah/FahCore_a7
                        -dir 00 -suffix 01 -version 706 -lifeline 15 -checkpoint
                        15 -np 2
                  Titles:
                    - UID
                    - PID
                    - PPID
                    - C
                    - STIME
                    - TTY
                    - TIME
                    - CMD
  /apps/applog:
    get:
      tags:
        - Apps
      summary: App's log
      description: This will fetch the logs of a fluxapp. **AppOwnerAbove**
      operationId: AppLogs
      security:
        - ZelID: []
      parameters:
        - in: query
          name: appname
          required: true
          schema:
            type: string
          description: Name/Id of app
          example: fluxFoldingAtHome
        - in: query
          name: line
          required: true
          schema:
            oneOf:
              - type: integer
                description: Number of lines to return
              - type: string
                description: Use all for full log
          example: 30
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: App's log
              example:
                status: success
                data: >-
                  21:12:16:****************************** FAHClient
                  ******************************

                  21:12:16:    Version: 7.6.9

                  21:12:16:     Author: Joseph Coffland
                  <joseph@cauldrondevelopment.com>

                  21:12:16:  Copyright: 2020 foldingathome.org

                  21:12:16:   Homepage: https://foldingathome.org/

                  21:12:16:       Date: Apr 17 2020

                  21:12:16:       Time: 18:11:26

                  21:12:16:   Revision: 398c2b17fa535e0cc6c9d10856b2154c32771646

                  21:12:16:     Branch: master

                  21:12:16:   Compiler: GNU 8.3.0

                  21:12:16:    Options: -std=c++11 -ffunction-sections
                  -fdata-sections -O3 -funroll-loops

                  21:12:16:             -fno-pie

                  21:12:16:   Platform: linux2 4.19.0-5-amd64

                  21:12:16:       Bits: 64

                  21:12:16:       Mode: Release

                  21:12:16:       Args:
                  --user=1CcoEkKQZcwUXPSps4bZJDjUM3mqe9bNXf --team=262156
                  --passkey=

                  21:12:16:             --gpu=false --smp=true --power=full
                  --gui-enabled=false --allow 0/0

                  21:12:16:             --web-allow 0/0

                  21:12:16:******************************** CBang
                  ********************************

                  21:12:16:       Date: Apr 17 2020

                  21:12:16:       Time: 18:10:13

                  21:12:16:   Revision: 2fb0be7809c5e45287a122ca5fbc15b5ae859a3b

                  21:12:16:     Branch: master

                  21:12:16:   Compiler: GNU 8.3.0

                  21:12:16:    Options: -std=c++11 -ffunction-sections
                  -fdata-sections -O3 -funroll-loops

                  21:12:16:             -fno-pie -fPIC

                  21:12:16:   Platform: linux2 4.19.0-5-amd64

                  21:12:16:       Bits: 64

                  21:12:16:       Mode: Release

                  21:12:16:******************************* System
                  ********************************
  /apps/appinspect:
    get:
      tags:
        - Apps
      summary: Info of the app
      description: Displays detailed info of the container. **AppOwnerAbove**
      operationId: AppInspect
      security:
        - ZelID: []
      parameters:
        - in: query
          name: container
          required: true
          schema:
            type: string
          description: Name/Id of app
          example: fluxFoldingAtHome
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      Id:
                        type: string
                        description: ID of the container
                      Created:
                        type: string
                        description: Date and time when container was created
                      Path:
                        type: string
                        description: Script path
                      Args:
                        type: array
                        items:
                          type: string
                          description: Runtime arguments
                      State:
                        type: object
                        properties:
                          Status:
                            type: string
                            description: State/status of container
                          Running:
                            type: boolean
                            description: Is container running
                          Paused:
                            type: boolean
                            description: Is container paused
                          Restarting:
                            type: boolean
                            description: Is container restarting
                          OOMKilled:
                            type: boolean
                            description: Has memory limit exceeded on container
                          Dead:
                            type: boolean
                            description: Is container dead
                          Pid:
                            type: integer
                            description: Process id
                          ExitCode:
                            type: integer
                            description: Exitcode number
                          Error:
                            type: string
                            description: Description of errors
                          StartedAt:
                            type: string
                            description: Start date and time
                          FinishedAt:
                            type: string
                            description: Finished date and time
                      Image:
                        type: string
                        description: Image id
                      ResolvConfPath:
                        type: string
                        description: Path of containers resolv.conf
                      HostnamePath:
                        type: string
                        description: Path of containers hostname
                      HostsPath:
                        type: string
                        description: Path of hosts
                      LogPath:
                        type: string
                        description: Path of log
                      Name:
                        type: string
                        description: Container name
                      RestartCount:
                        type: integer
                        description: Number of restarts
                      Driver:
                        type: string
                        description: Storage driver type
                      Platform:
                        type: string
                        description: OS type
                      MountLabel:
                        type: string
                        description: Container mount label
                      ProcessLabel:
                        type: string
                        description: Container process label
                      AppArmorProfile:
                        type: string
                        description: Application Armor profile
                      ExecIDs:
                        type: string
                        description: Exec ids of commands
                      HostConfig:
                        type: object
                        properties:
                          Binds:
                            type: array
                            items:
                              type: string
                              description: Path to bind directory
                          ContainerIDFile:
                            type: string
                            description: File id
                          LogConfig:
                            type: object
                            properties:
                              Type:
                                type: string
                                description: Log file format type
                              Config:
                                type: object
                                description: Configuration
                          NetworkMode:
                            type: string
                            description: Network mode
                          PortBindings:
                            type: object
                            properties:
                              7396/tcp:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    HostIp:
                                      type: string
                                      description: Ip of host
                                    HostPort:
                                      type: integer
                                      description: Port number
                          RestartPolicy:
                            type: object
                            properties:
                              Name:
                                type: string
                                description: Policy name
                              MaximumRetryCount:
                                type: integer
                                description: Max numbers of restarts
                          AutoRemove:
                            type: boolean
                            description: Is autoremove feature on
                          VolumeDriver:
                            type: string
                            description: Optional volume driver for the container
                          VolumesFrom:
                            type: string
                            description: Mount volumes from the specified container
                          CapAdd:
                            type: string
                            description: Add Linux capabilities
                          CapDrop:
                            type: string
                            description: Drop Linux capabilities
                          Capabilities:
                            type: string
                            description: OS capabilities
                          Dns:
                            type: string
                            description: Set custom DNS servers
                          DnsOptions:
                            type: string
                            description: Set DNS options
                          DnsSearch:
                            type: string
                            description: Set custom DNS search domains
                          ExtraHosts:
                            type: string
                            description: Extra hosts
                          GroupAdd:
                            type: string
                            description: Add additional groups to join
                          IpcMode:
                            type: string
                            description: IPC mode to use
                          Cgroup:
                            type: string
                            description: Cgroup for the container
                          Links:
                            type: string
                            description: Links to another container
                          OomScoreAdj:
                            type: integer
                            description: Tune host's OOM preferences (-1000 to 1000)
                          PidMode:
                            type: string
                            description: Pid to use
                          Privileged:
                            type: boolean
                            description: Extended privileges to this container
                          PublishAllPorts:
                            type: boolean
                            description: Publish all exposed ports to random ports
                          ReadonlyRootfs:
                            type: boolean
                            description: Mount the container’s root filesystem as read only
                          SecurityOpt:
                            type: string
                            description: Security Options
                          UTSMode:
                            type: string
                            description: UTS namespace to use
                          UsernsMode:
                            type: string
                            description: >-
                              Sets the usernamespace mode for the container when
                              usernamespace remapping option is enabled
                          ShmSize:
                            type: integer
                            description: Size of /dev/shm
                          Runtime:
                            type: string
                            description: Runtime to use for this container
                          ConsoleSize:
                            type: array
                            items:
                              type: string
                              description: >-
                                Initial console size, as an [height, width]
                                array. (Windows only)
                          Isolation:
                            type: string
                            description: >-
                              Isolation technology of the container. (Windows
                              only)
                          CpuShares:
                            type: integer
                            description: Value containing the container's CPU Shares
                          Memory:
                            type: integer
                            description: Memory limit in bytes
                          NanoCpus:
                            type: integer
                            description: CPU quota in units of 10<sup>-9</sup> CPUs
                          CgroupParent:
                            type: string
                            description: >-
                              Path to cgroups under which the container's cgroup
                              is created
                          BlkioWeight:
                            type: number
                            description: Block IO weight (relative weight)
                          BlkioWeightDevice:
                            type: string
                            description: Block IO weight (relative device weight)
                          BlkioDeviceReadBps:
                            type: string
                            description: Limit read rate (bytes per second)
                          BlkioDeviceWriteBps:
                            type: string
                            description: Limit write rate (bytes per second)
                          BlkioDeviceReadIOps:
                            type: string
                            description: Limit read rate (IO per second)
                          BlkioDeviceWriteIOps:
                            type: string
                            description: Limit write rate (IO per second)
                          CpuPeriod:
                            type: integer
                            description: The length of a CPU period in microseconds
                          CpuQuota:
                            type: integer
                            description: >-
                              Microseconds of CPU time that the container can
                              get in a CPU period
                          CpuRealtimePeriod:
                            type: integer
                            description: CPU real-time period limit in microseconds
                          CpuRealtimeRuntime:
                            type: integer
                            description: CPU real-time runtime limit in microseconds
                          CpusetCpus:
                            type: string
                            description: CPUs in which to allow execution
                          CpusetMems:
                            type: string
                            description: >-
                              Memory nodes (MEMs) in which to allow execution
                              (0-3, 0,1). Only effective on NUMA systems
                          Devices:
                            type: string
                            description: A list of devices to add to the container
                          DeviceCgroupRules:
                            type: string
                            description: A list of cgroup rules to apply to the container
                          DeviceRequests:
                            type: string
                            description: >-
                              A list of requests for devices to be sent to
                              device drivers
                          KernelMemory:
                            type: integer
                            description: Kernel memory limit
                          KernelMemoryTCP:
                            type: integer
                            description: Hard limit for kernel TCP buffer memory (in bytes)
                          MemoryReservation:
                            type: integer
                            description: Memory soft limit in bytes
                          MemorySwap:
                            type: integer
                            description: >-
                              Swap limit equal to memory plus swap: -1 to enable
                              unlimited swap
                          MemorySwappiness:
                            type: string
                            description: Container's memory swappiness behavior
                          OomKillDisable:
                            type: boolean
                            description: >-
                              Whether to disable OOM Killer for the container or
                              not
                          PidsLimit:
                            type: integer
                            description: Container's pids limit. Set -1 for unlimited.
                          Ulimits:
                            type: array
                            items:
                              type: object
                              description: >-
                                A list of resource limits to set in the
                                container
                              properties:
                                Name:
                                  type: string
                                Hard:
                                  type: integer
                                Soft:
                                  type: integer
                          CpuCount:
                            type: integer
                            description: The number of usable CPUs (Windows only)
                          CpuPercent:
                            type: integer
                            description: >-
                              The usable percentage of the available CPUs
                              (Windows only)
                          IOMaximumIOps:
                            type: integer
                            description: >-
                              Maximum IOps for the container system drive
                              (Windows only)
                          IOMaximumBandwidth:
                            type: integer
                            description: >-
                              Maximum IO in bytes per second for the container
                              system drive
                          MaskedPaths:
                            type: array
                            items:
                              type: string
                              description: >-
                                The list of paths to be masked inside the
                                container
                          ReadonlyPaths:
                            type: array
                            items:
                              type: string
                              description: >-
                                The list of paths to be set as read-only inside
                                the container
                      GraphDriver:
                        type: object
                        description: Information about a container's graph driver
                        properties:
                          Data:
                            type: object
                            properties:
                              LowerDir:
                                type: string
                              MergedDir:
                                type: string
                              UpperDir:
                                type: string
                              WorkDir:
                                type: string
                          Name:
                            type: string
                      Mounts:
                        $ref: '#/components/schemas/mounts'
                      Config:
                        type: object
                        properties:
                          Hostname:
                            type: string
                            description: >-
                              The hostname to use for the container, as a valid
                              RFC 1123 hostname
                          Domainname:
                            type: string
                            description: The domain name to use for the container
                          User:
                            type: string
                            description: >-
                              The user that commands are run as inside the
                              container
                          AttachStdin:
                            type: boolean
                            description: Whether to attach to stdin
                          AttachStdout:
                            type: boolean
                            description: Whether to attach to stdout
                          AttachStderr:
                            type: boolean
                            description: Whether to attach to stderr
                          ExposedPorts:
                            type: object
                            description: An object mapping ports to an empty object
                            additionalProperties:
                              type: object
                              default: {}
                          Tty:
                            type: boolean
                            description: >-
                              Attach standard streams to a TTY, including stdin
                              if it is not closed
                          OpenStdin:
                            type: boolean
                            description: Open stdin
                          StdinOnce:
                            type: boolean
                            description: Close stdin after one attached client disconnects
                          Env:
                            type: array
                            items:
                              type: string
                              description: >-
                                A list of environment variables to set inside
                                the container
                          Cmd:
                            type: array
                            items:
                              type: string
                              description: >-
                                Command to run specified as a string or an array
                                of strings
                          Image:
                            type: string
                            description: >-
                              The name of the image to use when creating the
                              container
                          Volumes:
                            type: object
                            description: >-
                              An object mapping mount point paths inside the
                              container to empty objects
                            additionalProperties:
                              type: object
                              default: {}
                          WorkingDir:
                            type: string
                            description: The working directory for commands to run in
                          Entrypoint:
                            type: array
                            items:
                              type: string
                              description: >-
                                The entry point for the container as a string or
                                an array of strings
                          OnBuild:
                            type: string
                            description: >-
                              ONBUILD metadata that were defined in the image's
                              Dockerfile
                          Labels:
                            type: object
                            description: User-defined key/value metadata
                            properties:
                              description:
                                type: string
                              maintainer:
                                type: string
                              repository:
                                type: string
                              version:
                                type: string
                      NetworkSettings:
                        type: object
                        description: >-
                          NetworkSettings exposes the network settings in the
                          API
                        properties:
                          Bridge:
                            type: string
                            description: Name of the network's bridge
                          SandboxID:
                            type: string
                            description: >-
                              SandboxID uniquely represents a container's
                              network stack
                          HairpinMode:
                            type: boolean
                            description: >-
                              Indicates if hairpin NAT should be enabled on the
                              virtual interface
                          LinkLocalIPv6Address:
                            type: string
                            description: IPv6 unicast address using the link-local prefix
                          LinkLocalIPv6PrefixLen:
                            type: integer
                            description: Prefix length of the IPv6 unicast address
                          Ports:
                            type: object
                            description: >-
                              PortMap describes the mapping of container ports
                              to host ports, using the container's port-number
                              and protocol as key. If a container's port is
                              mapped for multiple protocols, separate entries
                              are added to the mapping table.
                            additionalProperties:
                              type: array
                              items:
                                type: object
                                properties:
                                  HostIp:
                                    type: string
                                    description: >-
                                      Host IP address that the container's port
                                      is mapped to
                                  HostPort:
                                    type: string
                                    description: >-
                                      Host port number that the container's port
                                      is mapped to
                          SandboxKey:
                            type: string
                            description: SandboxKey identifies the sandbox
                          SecondaryIPAddresses:
                            type: array
                            items:
                              type: object
                              description: Address represents an IPv4 or IPv6 IP address
                              properties:
                                Addr:
                                  type: string
                                  description: IP address
                                PrefixLen:
                                  type: integer
                                  description: Mask length of the IP address
                          SecondaryIPv6Addresses:
                            type: array
                            items:
                              type: object
                              description: Address represents an IPv4 or IPv6 IP address
                              properties:
                                Addr:
                                  type: string
                                  description: IP address
                                PrefixLen:
                                  type: integer
                                  description: Mask length of the IP address
                          EndpointID:
                            type: string
                            description: >-
                              EndpointID uniquely represents a service endpoint
                              in a Sandbox
                          Gateway:
                            type: string
                            description: Gateway address for the default "bridge" network
                          GlobalIPv6Address:
                            type: string
                            description: >-
                              Global IPv6 address for the default "bridge"
                              network
                          GlobalIPv6PrefixLen:
                            type: integer
                            description: Mask length of the global IPv6 address
                          IPAddress:
                            type: string
                            description: IPv4 address for the default "bridge" network
                          IPPrefixLen:
                            type: integer
                            description: Mask length of the IPv4 address
                          IPv6Gateway:
                            type: string
                            description: IPv6 gateway address for this network
                          MacAddress:
                            type: string
                            description: >-
                              MAC address for the container on the default
                              "bridge" network
                          Networks:
                            type: object
                            description: >-
                              Information about all networks that the container
                              is connected to
                            properties:
                              fluxDockerNetwork:
                                $ref: '#/components/schemas/fluxnetwork'
              example:
                status: success
                data:
                  Id: >-
                    3cf131c856714g2s877r711931faa6622fe5aa9345fa392cbef54e5b9483c6a1
                  Created: '2020-05-16T16:40:36.11971926Z'
                  Path: /opt/fahclient/entrypoint.sh
                  Args:
                    - '--allow'
                    - 0/0
                    - '--web-allow'
                    - 0/0
                  State:
                    Status: paused
                    Running: true
                    Paused: true
                    Restarting: false
                    OOMkilled: false
                    Dead: false
                    Pid: 22001
                    ExitCode: 0
                    Error: ''
                    StartedAt: '2020-05-16T16:43:53.607846737Z'
                    FinishedAt: '2020-05-16T16:42:21.220760109Z'
                  Image: >-
                    sha256:8bd1fb3dd2de02f8d4403c657da6a19efeef9286981537b30d2a107079018402
                  ResolvConfPath: >-
                    /var/lib/docker/containers/3cf131c856714g2s877r711931faa6622fe5aa9345fa392cbef54e5b9483c6a1/resolv.conf
                  HostnamePath: >-
                    /var/lib/docker/containers/3cf131c856714g2s877r711931faa6622fe5aa9345fa392cbef54e5b9483c6a1/hostname
                  HostsPath: >-
                    /var/lib/docker/containers/3cf131c856714g2s877r711931faa6622fe5aa9345fa392cbef54e5b9483c6a1/hosts
                  LogPath: >-
                    /var/lib/docker/containers/3cf131c856714g2s877r711931faa6622fe5aa9345fa392cbef54e5b9483c6a1/3cf131c856714g2s877r711931faa6622fe5aa9345fa392cbef54e5b9483c6a1-json.log
                  Name: /fluxFoldingAtHome
                  RestartCount: 0
                  Driver: overlay2
                  Platform: linux
                  MountLabel: ''
                  ProcessLabel: ''
                  AppArmorProfile: docker-default
                  ExecIDs: null
                  HostConfig:
                    Binds:
                      - /home/user/flux/ZelApps/fluxFoldingAtHome:/config
                    ContainerIDFile: ''
                    LogConfig:
                      Type: json-file
                      Config: {}
                    NetworkMode: fluxDockerNetwork
                    PortBindings:
                      7396/tcp:
                        - HostIp: ''
                          HostPort: 30000
                    RestartPolicy:
                      Name: unless-stopped
                      MaximumRetryCount: 0
                    AutoRemove: false
                    VolumeDriver: ''
                    VolumesFrom: null
                    CapAdd: null
                    CapDrop: null
                    Capabilities: null
                    Dns: null
                    DnsOptions: null
                    DnsSearch: null
                    ExtraHosts: null
                    GroupAdd: null
                    IpcMode: private
                    Cgroup: ''
                    Links: null
                    OomScoreAdj: 0
                    PidMode: ''
                    Privileged: false
                    PublishAllPorts: false
                    SecurityOpt: null
                    UTSMode: ''
                    UsernsMode: ''
                    ShmSize: 67108864
                    Runtime: runc
                    ConsoleSize:
                      - 0
                      - 0
                    Isolation: ''
                    CpuShares: 0
                    Memory: 524288000
                    NanoCpus: 500000000
                    CgroupParent: ''
                    BlkioWeight: null
                    BlkioWeightDevice: null
                    BlkioDeviceReadBps: null
                    BlkioDeviceWriteBps: null
                    BlkioDeviceReadIOps: null
                    BlkioDeviceWriteIOps: null
                    CpuPeriod: 0
                    CpuQuota: 0
                    CpuRealtimePeriod: 0
                    CpuRealtimeRuntime: 0
                    CpusetCpus: ''
                    CpusetMems: ''
                    Devices: null
                    DeviceCgroupRules: null
                    DeviceRequests: null
                    KernelMemory: 0
                    KernelMemoryTCP: 0
                    MemoryReservation: 0
                    MemorySwap: -1
                    MemorySwappiness: null
                    OomKillDisable: false
                    PidsLimit: null
                    Ulimits:
                      - Name: nofile
                        Hard: 16384
                        Soft: 8192
                    CpuCount: 0
                    CpuPercent: 0
                    IOMaximumIOps: 0
                    IOMaximumBandwidth: 0
                    MaskedPaths:
                      - /proc/asound
                      - /proc/acpi
                      - /proc/kcore
                      - /proc/keys
                      - /proc/latency_stats
                      - /proc/timer_list
                      - /proc/timer_stats
                      - /proc/sched_debug
                      - /proc/scsi
                      - /sys/firmware
                    ReadonlyPaths:
                      - /proc/bus
                      - /proc/fs
                      - /proc/irq
                      - /proc/sys
                      - /proc/sysrq-trigger
                  GraphDriver:
                    Data:
                      LowerDir: >-
                        /var/lib/docker/overlay2/ddd72fca4ad0e998d127g587463fed04d0927e364d3e5627cdc1860752fdf3d963-init/diff:/var/lib/docker/overlay2/37f925753b6ff671205ad58326379748c1ec9124ada87615bd18a76d7f538e9f/diff:/var/lib/docker/overlay2/f09d20a3b3010cf03adc8a99651adc3cecd33ed8bce8915f1e29c266d78801c5/diff:/var/lib/docker/overlay2/1be67c986305e14d788b8787651cd7bb90b9398adaf94fe287dbf07661eaca0d/diff:/var/lib/docker/overlay2/66d7763a8fc1b81c5c63ab187db968b74t26e3bc2a25d2d8039cac0971fdb9ed/diff
                      MergedDir: >-
                        /var/lib/docker/overlay2/ddd72fca4ad0e998f98a48463fed04d0927e364d3e5627cdc1860752fdf3d963/merged
                      UpperDir: >-
                        /var/lib/docker/overlay2/ddd72fca4ad0e998d127g587463fed04d0927e364d3e5627cdc1860752fdf3d963/diff
                      WorkDir: >-
                        /var/lib/docker/overlay2/ddd72fca4ad0e998d127g587463fed04d0927e364d3e5627cdc1860752fdf3d963/work
                    Name: overlay2
                  Mounts:
                    - Type: bind
                      Source: /home/user/flux/ZelApps/fluxFoldingAtHome
                      Destination: /config
                      Mode: ''
                      RW: true
                      Propagation: rprivate
                  Config:
                    Hostname: 3cf131c85671
                    Domainname: ''
                    User: folding
                    AttachStdin: true
                    AttachStdout: true
                    AttachStderr: true
                    ExposedPorts:
                      36330/tcp: {}
                      7396/tcp: {}
                    Tty: false
                    OpenStdin: false
                    StdinOnce: false
                    Env:
                      - USER=1CcoEkKQZcwUXPSps4bZJDjUM3mqe9bNXf
                      - TEAM=262156
                      - ENABLE_GPU=false
                      - ENABLE_SMP=true
                      - >-
                        PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                      - POWER=full
                    Cmd:
                      - '--allow'
                      - 0/0
                      - '--web-allow'
                      - 0/0
                    Image: yurinnick/folding-at-home:latest
                    Volumes: null
                    WorkingDir: /opt/fahclient
                    Entrypoint:
                      - /opt/fahclient/entrypoint.sh
                    OnBuild: null
                    Labels:
                      description: Unofficial Folding@Home image for CPU compute
                      maintainer: yurinnick
                      repository: https://github.com/yurinnick/folding-at-home-docker
                      version: 7.6
                  NetworkSettings:
                    Bridge: ''
                    SandboxID: asdf1234hjkl5678
                    HairpinMode: false
                    LinkLocalIPv6Address: ''
                    LinkLocalIPv6PrefixLen: 0
                    Ports:
                      36330/tcp: null
                      7396/tcp:
                        - HostIp: 0.0.0.0
                          HostPort: 30000
                    SandboxKey: /var/run/docker/netns/asdf1234hjkl
                    SecondaryIPAddresses: null
                    SecondaryIPv6Addresses: null
                    EndpointID: ''
                    Gateway: ''
                    GlobalIPv6Address: ''
                    GlobalIPv6PrefixLen: ''
                    IPAddress: ''
                    IPPrefixLen: 0
                    IPv6Gateway: ''
                    MacAddress: ''
                    Networks:
                      fluxDockerNetwork:
                        IPAMConfig: null
                        Links: null
                        Aliases:
                          - 1278j8c85671
                        NetworkID: >-
                          1aae1cddff7c12875a99b0c0be79835d74f5e23cdafdaf3fb20addb782795c4
                        EndpointID: >-
                          a94a5e37af12398fce10312e2060891d026231e1270d5f4163d2bfb06fe32137
                        Gateway: 143.17.0.1
                        IPAddress: 143.17.0.1
                        IPPrefixLen: 16
                        IPv6Gateway: ''
                        GlobalIPv6Address: ''
                        GlobalIPv6PrefixLen: 0
                        MacAddress: 02.34:ac:11:01:06
                        DriverOpts: null
  /apps/appstats:
    get:
      tags:
        - Apps
      summary: App stats based on resource usage
      description: Returns containers resource usage. **AppOwnerAbove**
      externalDocs:
        url: https://docs.docker.com/engine/api/v1.40/#operation/ContainerStats
      operationId: AppStats
      security:
        - ZelID: []
      parameters:
        - in: query
          name: appname
          required: true
          schema:
            type: string
          description: App name
          example: fluxdibi-UND
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                data:
                  read: '2020-09-18T00:35:37.306888517Z'
                  preread: '2020-09-18T00:35:36.072193466Z'
                pids_stats: {}
                blkio_stats:
                  io_service_bytes_recursive: []
                  io_serviced_recursive: []
                  io_queue_recursive: []
                  io_service_time_recursive: []
                  io_wait_time_recursive: []
                  io_merged_recursive: []
                  io_time_recursive: []
                  sectors_recursive: []
                num_procs: 0
                storage_stats: {}
                cpu_stats:
                  cpu_usage:
                    total_usage: 7296404247
                    percpu_usage:
                      - 3217120277
                      - 4079283970
                    usage_in_kernelmode: 570000000
                    usage_in_usermode: 6550000000
                  system_cpu_usage: 516655370000000
                  online_cpus: 2
                  throttling_data:
                    periods: 842
                    throttled_periods: 179
                    throttled_time: 8202758092
                precpu_stats:
                  cpu_usage:
                    total_usage: 7296404247
                    percpu_usage:
                      - 3217120277
                      - 4079283970
                    usage_in_kernelmode: 570000000
                    usage_in_usermode: 6550000000
                  system_cpu_usage: 516653230000000
                  online_cpus: 2
                  throttling_data:
                    periods: 842
                    throttled_periods: 179
                    throttled_time: 8202758092
                memory_stats:
                  usage: 15024128
                  max_usage: 82767872
                  stats:
                    active_anon: 3551232
                    active_file: 1179648
                    cache: 1392640
                    dirty: 0
                    hierarchical_memory_limit: 209715200
                    hierarchical_memsw_limit: 0
                    inactive_anon: 3555328
                    inactive_file: 126976
                    mapped_file: 1388544
                    pgfault: 17858
                    pgmajfault: 194
                    pgpgin: 23417
                    pgpgout: 21363
                    rss: 7020544
                    rss_huge: 0
                    total_active_anon: 3551232
                    total_active_file: 1179648
                    total_cache: 1392640
                    total_dirty: 0
                    total_inactive_anon: 3555328
                    total_inactive_file: 126976
                    total_mapped_file: 1388544
                    total_pgfault: 17858
                    total_pgmajfault: 194
                    total_pgpgin: 23417
                    total_pgpgout: 21363
                    total_rss: 7020544
                    total_rss_huge: 0
                    total_unevictable: 0
                    total_writeback: 0
                    unevictable: 0
                    writeback: 0
                  limit: 209715200
                name: /fluxdibi-UND
                id: >-
                  1e2f681c8a356c0af561bcefb3a85b8dbe690487598a004fef1c4a65001e0078
                networks:
                  eth0:
                    rx_bytes: 4191270113
                    rx_packets: 3346216
                    rx_errors: 0
                    rx_dropped: 0
                    tx_bytes: 300477601
                    tx_packets: 2264232
                    tx_errors: 0
                    tx_dropped: 0
  /apps/appchanges:
    get:
      tags:
        - Apps
      summary: Container changes
      description: >-
        Data of changes made to container. If no changes it will return a null
        response which is usually the case. **AppOwnerAbove**


        Kind values:

        - `0 = Modified`

        - `1 = Added`

        - `2 = Deleted`
      operationId: AppChanges
      security:
        - ZelID: []
      parameters:
        - in: query
          name: appname
          required: true
          schema:
            type: string
          description: App name
          example: fluxdibi-UND
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                          description: Path to changed file
                        kind:
                          type: integer
                          enum:
                            - 0
                            - 1
                            - 2
                          description: Change type
              example:
                status: success
                data:
                  - null
  /apps/appexec:
    post:
      tags:
        - Apps
      summary: Run a command in the container
      description: Run new commands inside running containers. **AppOwner**
      operationId: AppExec
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                appname:
                  type: string
                  description: App name
                cmd:
                  type: array
                  items:
                    type: string
                    description: Command to run
                env:
                  type: array
                  items:
                    type: string
                    description: New list of environment variables(optional)
            example:
              appname: dibi-UND
              cmd:
                - date
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: string
                description: Output depends on the command
              example: Sun Sep 20 10:18:38 UTC 2020
  /apps/appremove:
    get:
      tags:
        - Apps
      summary: Uninstall application
      description: >-
        This will stop, clean data, close port, and remove the container.
        **AdminAndFluxTeam**
      operationId: Appremove
      security:
        - ZelID: []
      parameters:
        - in: query
          name: appname
          required: true
          schema:
            type: string
          description: Name of the app
          example: fluxFoldingAtHome
        - in: query
          name: force
          required: false
          schema:
            type: boolean
            default: false
          description: >-
            Defaults to false. If true, forces removal without checking if the
            app exists.
        - in: query
          name: global
          required: false
          schema:
            type: boolean
            default: false
          description: >-
            Defaults to false (local removal). If true, removes the app from all
            nodes in the network.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Status of the cleanup in progress
              example:
                status: success
                data: App fluxFoldingAtHome was successfully removed
  /apps/installtemporarylocalapp:
    get:
      tags:
        - Apps
      summary: Install local app
      description: >-
        Register, install, and run app specified in query param.
        **AdminAndFluxTeam**


        _Note: Below example of response is last bit of a continuous stream of
        data_ 
      operationId: installTemporaryLocalApplication
      security:
        - ZelID: []
      parameters:
        - in: query
          name: appname
          required: true
          schema:
            type: string
          description: App name
          example: FoldingAtHomeB
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/streamdata'
              example:
                status: success
                data: App fluxFoldingAtHomeB successfully started.
  /apps/createfluxnetwork:
    get:
      tags:
        - Apps
      summary: Create flux network
      description: This will create flux network if none is detected. **AdminAndFluxTeam**
      operationId: createFluxNetwork
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Explanation of status
              example:
                status: success
                data: Flux Network already exists.
  /apps/rescanglobalappsinformation:
    get:
      tags:
        - Apps
      summary: Rescan and update global FluxApps info database
      description: >-
        Rescans global apps permanent messages since selected blockheight and
        updates global apps information database. **AdminAndFluxTeam**
      operationId: rescanGlobalAppsInformationAPI
      security:
        - ZelID: []
      parameters:
        - in: query
          name: blockheight
          required: true
          schema:
            type: integer
          description: Block height to rescan from
          example: '680000'
        - in: query
          name: removelastinformation
          schema:
            type: boolean
            default: false
            enum:
              - true
              - false
          description: >-
            If set to true then before the actual rescan happens all global
            information specifications will be removed.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Rescan successful
  /apps/reindexglobalappsinformation:
    get:
      tags:
        - Apps
      summary: Reindex appsinformation collection and rebuild
      description: >-
        This will drop appslocations collection, recreate indexes, and rebuild
        incoming messages. **AdminAndFluxTeam**
      operationId: reindexGlobalAppsInformationAPI
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Reindex successful
  /apps/reindexglobalappslocation:
    get:
      tags:
        - Apps
      summary: Reindex appslocations collection and rebuild
      description: >-
        Function that drops information about running apps and rebuilds indexes.
        **AdminAndFluxTeam**
      operationId: reindexGlobalAppsLocationAPI
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Reindex successful
  /apps/checkdockerexistance:
    post:
      tags:
        - Apps
      summary: Checks Docker Hub for image
      description: This will check Docker Hub and verify image is available. **User**
      operationId: checkDockerAccessibility
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                repotag:
                  type: string
                  description: >-
                    Repotag of docker image in this format
                    `namespace/repository:tag`
            example:
              repotag: bharathshetty4/supermario:latest
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    $ref: '#/components/schemas/statusmessage'
              example:
                status: success
                data:
                  message: Repotag is accessible
  /apps/appregister:
    post:
      tags:
        - Apps
      summary: App registration
      description: >-
        This call is to provide required info to register app on Flux. **User**


        Note: Signature is following message signed in the format shown below

        - `this.updatetype + this.version + JSON.stringify(fluxAppSpecFormatted)
        + this.timestamp`


        Example:

        -
        `fluxappregister1{"version":7,"name":"blockbookneurai","description":"Blockbook
        for
        Neurai","owner":"1XcNTEsgVND4eb3bsVa2bjktnZZSruVct","compose":[{"name":"blockbookneurai","description":"Blockbook
        for
        Neurai","repotag":"runonflux/blockbook-docker:latest","ports":[38382,38383],"domains":["",""],"environmentParameters":["COIN=neurai","BLOCKBOOK_PORT=9168","BLOCKBOOKGIT_URL=https://github.com/NeuraiProject/blockbook"],"commands":[],"containerPorts":[9168,1337],"containerData":"/root","cpu":2.5,"ram":5000,"hdd":40,"tiered":false,"secrets":"","repoauth":""}],"instances":3,"contacts":[],"geolocation":[],"expire":22000,"nodes":[],"staticip":false}1692605469050`
      operationId: Appregister
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                type:
                  type: string
                  description: Message type
                version:
                  type: integer
                  description: Message version
                appSpecifications:
                  $ref: '#/components/schemas/appspecification'
                timestamp:
                  type: integer
                  description: Current timestamp in epoch/unix
                signature:
                  type: object
                  description: Signature of data message you signed with ZelID.
            example:
              type: fluxappregister
              version: 1
              appSpecifications:
                version: 7
                name: blockbookneurai
                description: Blockbook for Neurai
                owner: 1XcNTEsgVND4eb3bsVa2bjktnZZSruVct
                compose:
                  - name: blockbookneurai
                    description: Blockbook for Neurai
                    repotag: runonflux/blockbook-docker:latest
                    ports:
                      - 38382
                      - 38383
                    domains:
                      - ''
                      - ''
                    environmentParameters: []
                    commands: []
                    containerPorts:
                      - 9199
                      - 1337
                    containerData: /root
                    cpu: 2.5
                    ram: 5000
                    hdd: 40
                    tiered: false
                    secrets: ''
                    repoauth: ''
                instances: 3
                contacts: []
                geolocation: []
                expire: 22000
                nodes: []
                staticip: false
              timestamp: 1692605469050
              signature: >-
                II3DdnuO5j6qPVAjid4zac3QRUpvdwwSwCGYoHTQqozveFPnSAueeYW3oPN1+oN2pJSFnXgxeT/odisfGRF5uu0=
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Hash of entire message and will be stored for 1 hour
              example:
                status: success
                data: >-
                  a7a5b90b25ccc0a8379ec960c103103390369d1d6d18f88281372b944531dc23
        '400':
          $ref: '#/components/responses/ValidationError'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '403':
          description: Insufficient funds or permission denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                status: error
                data:
                  name: InsufficientFunds
                  message: Insufficient Flux balance for app registration
                  code: INSUFFICIENT_FUNDS
        '409':
          description: App already exists
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                status: error
                data:
                  name: AppExists
                  message: Application with this name already exists
                  code: APP_EXISTS
        '500':
          $ref: '#/components/responses/InternalServerError'
        '503':
          $ref: '#/components/responses/ServiceUnavailableError'
  /apps/appupdate:
    post:
      tags:
        - Apps
      summary: App update
      description: >-
        This call is to provide required info to update app on Flux. **User**


        Note: Signature is following message signed in the format shown below

        - `this.updatetype + this.version + JSON.stringify(fluxAppSpecFormatted)
        + this.timestamp`


        Example:

        -
        `fluxappupdate1{"version":7,"name":"blockbookneurai","description":"Blockbook
        for
        Neurai","owner":"1HWjQ9S3MyzV6EbtDMEkpHm31parya412N","compose":[{"name":"blockbookneurai","description":"Blockbook
        for
        Neurai","repotag":"runonflux/blockbook-docker:latest","ports":[38382,38383],"domains":["",""],"environmentParameters":["COIN=neurai","BLOCKBOOK_PORT=9168","BLOCKBOOKGIT_URL=https://github.com/NeuraiProject/blockbook"],"commands":[],"containerPorts":[9168,1337],"containerData":"/root","cpu":2.5,"ram":5000,"hdd":40,"tiered":false,"secrets":"","repoauth":""}],"instances":3,"contacts":[],"geolocation":[],"expire":22000,"nodes":[],"staticip":false}1692697789387`
      operationId: updateAppGlobalyApi
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: object
              properties:
                appSpecifications:
                  $ref: '#/components/schemas/appspecification'
                timestamp:
                  type: integer
                  description: Current timestamp in epoch/unix
                signature:
                  type: object
                  description: Signature of data message you signed with ZelID.
                type:
                  type: string
                  description: Message type
                version:
                  type: integer
                  description: Message version
            example:
              type: fluxappupdate
              version: 1
              appSpecifications:
                version: 7
                name: blockbookneurai
                description: Blockbook for Neurai
                owner: 1HWjQ9S3MyzV6EbtDMEkpHm31parya412N
                compose:
                  - name: blockbookneurai
                    description: Blockbook for Neurai
                    repotag: runonflux/blockbook-docker:latest
                    ports:
                      - 38382
                      - 38383
                    domains:
                      - ''
                      - ''
                    environmentParameters:
                      - COIN=neurai
                      - BLOCKBOOK_PORT=9168
                      - >-
                        BLOCKBOOKGIT_URL=https://github.com/NeuraiProject/blockbook
                    commands: []
                    containerPorts:
                      - 9168
                      - 1337
                    containerData: /root
                    cpu: 2.5
                    ram: 5000
                    hdd: 40
                    tiered: false
                    secrets: ''
                    repoauth: ''
                instances: 3
                contacts: []
                geolocation: []
                expire: 22000
                nodes: []
                staticip: false
              timestamp: 1692697789387
              signature: >-
                HxtjvY3/CSoKxlaAZ4seno5qNYSZLVQ30IEqC1pw8644YjtN0H5IC131XaPkTrptUmxTHCVxE/gIQZsld4lWX54=
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Hash of entire message and will be stored for 1 hour
              example:
                status: success
                data: >-
                  a7a5b90b25ccc0a8379ec960c103103390369d1d6d18f88281372b944531dc23
  /apps/deploymentinformation:
    get:
      tags:
        - Apps
      summary: Deployment information
      description: This will return deployment information. **Public**
      operationId: getDeploymentInformatio
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  price:
                    - height: -1
                      cpu: 3
                      ram: 1
                      hdd: 0.5
                      minPrice: 1
                      port: 2
                      scope: 6
                      staticip: 3
                    - height: 983000
                      cpu: 0.3
                      ram: 0.1
                      hdd: 0.05
                      minPrice: 0.1
                      port: 2
                      scope: 6
                      staticip: 3
                    - height: 1004000
                      cpu: 0.06
                      ram: 0.02
                      hdd: 0.01
                      minPrice: 0.01
                      port: 2
                      scope: 6
                      staticip: 3
                    - height: 1288000
                      cpu: 0.15
                      ram: 0.05
                      hdd: 0.02
                      minPrice: 0.01
                      port: 2
                      scope: 6
                      staticip: 3
                  appSpecsEnforcementHeights:
                    '1': 0
                    '2': 0
                    '3': 983000
                    '4': 1004000
                    '5': 1142000
                    '6': 1300000
                    '7': 1420000
                  address: t3aGJvdtd8NR6GrnqnRuVEzH6MbrXuJFLUX
                  portMin: 1
                  portMax: 65535
                  enterprisePorts:
                    - 0-1023
                    - 8080
                    - 8081
                    - 8443
                    - 25565
                    - 6667
                  bannedPorts:
                    - 16100-16299
                    - 26100-26299
                    - 30000-30099
                    - 8384
                    - 27017
                    - 22
                    - 23
                    - 25
                    - 3389
                    - 5900
                    - 5800
                    - 161
                    - 512
                    - 513
                    - 5901
                    - 3388
                    - 4444
                    - 123
                  maxImageSize: 2000000000
                  minimumInstances: 3
                  maximumInstances: 100
                  blocksLasting: 22000
                  minBlocksAllowance: 5000
                  maxBlocksAllowance: 264000
                  blocksAllowanceInterval: 1000
  /apps/enterprisenodes:
    get:
      tags:
        - Apps
      summary: List of enterprise nodes
      description: This will return a list of enterprise nodes. **Public**
      operationId: getEnterpriseNodes
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  - tier: STRATUS
                    payment_address: t3c4EfxLoXXSRZCRnPRF3RpjPi9mBzF5yoJ
                    txhash: >-
                      9c271f03885a58b91b0529e3c59744397898b91a36bc129395244dd714a49247
                    outidx: 0
                    pubkey: >-
                      045bd4f81d7bda582141793463edb58e0f3228a873bd6b6680b78586db2969f51dfeda672eae65e64ca814316f77557012d02c73db7876764f5eddb6b6d9d02b5b
                    ip: 65.21.76.151
                    collateralPoints: 30
                    maturityPoints: 500
                    pubKeyPoints: 500
                    enterprisePoints: 2000
                    enterpriseApps: 0
                    score: 3030
                  - tier: STRATUS
                    payment_address: t3c4EfxLoXXSRZCRnPRF3RpjPi9mBzF5yoJ
                    txhash: >-
                      2b9f7c3f9d537c931345a095de6083fc4d90abdaeafad4920aa7efa61a046a03
                    outidx: 0
                    pubkey: >-
                      045bd4f81d7bda582141793463edb58e0f3228a873bd6b6680b78586db2969f51dfeda672eae65e64ca814316f77557012d02c73db7876764f5eddb6b6d9d02b5b
                    ip: 135.181.62.100
                    collateralPoints: 30
                    maturityPoints: 500
                    pubKeyPoints: 500
                    enterprisePoints: 2000
                    enterpriseApps: 0
                    score: 3030
                  - tier: CUMULUS
                    payment_address: t1dQ3eY9fk2VyLKMsMSRDsKhV6vQGuozvtU
                    txhash: >-
                      00eac3603342d31a57aa37a64bd4204ecc3ea0abd82e6d848b7d6e30c0c54af0
                    outidx: 0
                    pubkey: >-
                      043b7284fe091ce9fc5bfc2e4e898a944d116ec3bbd1cb1669f6a4ade792175216e348c48afb300d01e2d9e0ced10ad934341a11d4cc866ca2f8839a558ca558ad
                    ip: 71.203.179.136
                    collateralPoints: 2
                    maturityPoints: 0
                    pubKeyPoints: 2
                    enterprisePoints: 0
                    enterpriseApps: 0
                    score: 4
  /apps/requestmessage:
    get:
      tags:
        - Apps
      summary: Request application message hash.
      description: This will request application message hash. **AdminAndFluxTeam**
      operationId: getRequestmessage
      security:
        - ZelID: []
      parameters:
        - in: query
          name: hash
          required: true
          schema:
            type: string
          description: Application hash
          example: bf3d860a1d5d0379519afc7da441fb56c688f83e528162d5f6825c05f6c27e7a
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  message: >-
                    Application hash
                    bf3d860a1d5d0379519afc7da441fb56c688f83e528162d5f6825c05f6c27e7a
                    requested from the network
  /apps/checkhashes:
    get:
      tags:
        - Apps
      summary: Request check for missing application message.
      description: >-
        This will tigger check for misssing application messages.
        **AdminAndFluxTeam**
      operationId: getCheckhashes
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
              example:
                status: success
                data:
                  message: Running check on missing application messages
  /apps/latestspecificationversion:
    get:
      tags:
        - Apps
      summary: Get latest application specification version
      description: >-
        Get the latest version of application specifications available.
        **Public**
      operationId: getLatestApplicationSpecificationAPI
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      version:
                        type: number
                        description: Latest specification version
              example:
                status: success
                data:
                  version: 4
  /apps/updatetolatestspecs/{appname}:
    get:
      tags:
        - Apps
      summary: Update app to latest specifications
      description: Update application to use latest specification format. **AppOwnerAbove**
      operationId: updateApplicationSpecificationAPI
      security:
        - ZelID: []
      parameters:
        - name: appname
          in: path
          required: true
          schema:
            type: string
          description: Name of the application to update
          example: electrumxtest
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Update status message
              example:
                status: success
                data:
                  message: Application specifications updated successfully
  /apps/apporiginalowner/{appname}:
    get:
      tags:
        - Apps
      summary: Get application original owner
      description: Get the original owner of a specific application. **Public**
      operationId: getApplicationOriginalOwner
      security: []
      parameters:
        - name: appname
          in: path
          required: false
          schema:
            type: string
          description: Name of the application
          example: electrumxtest
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Original owner ZelID/address
              example:
                status: success
                data: 1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC
  /apps/installinglocation/{appname}:
    get:
      tags:
        - Apps
      summary: Get app installing location
      description: >-
        Get the location where a specific app is currently being installed.
        **Public**
      operationId: getAppInstallingLocation
      security: []
      parameters:
        - name: appname
          in: path
          required: false
          schema:
            type: string
          description: Name of the application
          example: electrumxtest
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        ip:
                          type: string
                          description: IP address of node installing the app
                        name:
                          type: string
                          description: Application name
                        broadcastedAt:
                          type: string
                          format: date-time
                          description: When installation started
                        expireAt:
                          type: string
                          format: date-time
                          description: When installation expires
                        hash:
                          type: string
                          description: Installation hash
              example:
                status: success
                data:
                  - ip: 192.168.1.100
                    name: electrumxtest
                    broadcastedAt: '2023-11-15T10:00:00.000Z'
                    expireAt: '2023-11-15T11:00:00.000Z'
                    hash: abc123def456
  /apps/installinglocations:
    get:
      tags:
        - Apps
      summary: Get all apps installing locations
      description: Get locations where all apps are currently being installed. **Public**
      operationId: getAppsInstallingLocations
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        ip:
                          type: string
                          description: IP address of node
                        name:
                          type: string
                          description: Application name
                        broadcastedAt:
                          type: string
                          format: date-time
                        expireAt:
                          type: string
                          format: date-time
                        hash:
                          type: string
              example:
                status: success
                data:
                  - ip: 192.168.1.100
                    name: app1
                    broadcastedAt: '2023-11-15T10:00:00.000Z'
                    expireAt: '2023-11-15T11:00:00.000Z'
                    hash: abc123
  /apps/installingerrorslocation/{appname}:
    get:
      tags:
        - Apps
      summary: Get app installation errors location
      description: >-
        Get the location where a specific app had installation errors.
        **Public**
      operationId: getAppInstallingErrorsLocation
      security: []
      parameters:
        - name: appname
          in: path
          required: false
          schema:
            type: string
          description: Name of the application
          example: electrumxtest
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        ip:
                          type: string
                          description: IP address of node with errors
                        name:
                          type: string
                          description: Application name
                        broadcastedAt:
                          type: string
                          format: date-time
                        expireAt:
                          type: string
                          format: date-time
                        hash:
                          type: string
                          description: Error hash
                        error:
                          type: string
                          description: Error message
              example:
                status: success
                data:
                  - ip: 192.168.1.100
                    name: electrumxtest
                    error: Failed to pull Docker image
  /apps/installingerrorslocations:
    get:
      tags:
        - Apps
      summary: Get all apps installation errors locations
      description: Get locations where all apps had installation errors. **Public**
      operationId: getAppsInstallingErrorsLocations
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        ip:
                          type: string
                        name:
                          type: string
                        error:
                          type: string
                        broadcastedAt:
                          type: string
                          format: date-time
                        expireAt:
                          type: string
                          format: date-time
                        hash:
                          type: string
              example:
                status: success
                data:
                  - ip: 192.168.1.100
                    name: app1
                    error: Installation timeout
  /apps/whitelistedrepositories:
    get:
      tags:
        - Apps
      summary: Get whitelisted repositories
      description: >-
        Get list of whitelisted Docker repositories for app deployment.
        **Public**
      operationId: whitelistedRepositories
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: string
                      description: Whitelisted repository URL
              example:
                status: success
                data:
                  - docker.io
                  - quay.io
                  - gcr.io
  /apps/verifyappregistrationspecifications:
    post:
      tags:
        - Apps
      summary: Verify app registration specifications
      description: Verify and format application registration specifications. **Public**
      operationId: verifyAppRegistrationParameters
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                appname:
                  type: string
                  description: Application name
                version:
                  type: integer
                  description: Application version
                description:
                  type: string
                  description: Application description
                owner:
                  type: string
                  description: Application owner ZelID
                port:
                  type: integer
                  description: Application port
                containerPort:
                  type: integer
                  description: Container port
                cpu:
                  type: number
                  description: CPU requirements
                ram:
                  type: integer
                  description: RAM requirements in MB
                hdd:
                  type: integer
                  description: Storage requirements in GB
                tiered:
                  type: boolean
                  description: Whether app is tiered
                cpubasic:
                  type: number
                  description: Basic tier CPU
                rambasic:
                  type: integer
                  description: Basic tier RAM
                hddbasic:
                  type: integer
                  description: Basic tier storage
                cpusuper:
                  type: number
                  description: Super tier CPU
                ramsuper:
                  type: integer
                  description: Super tier RAM
                hddsuper:
                  type: integer
                  description: Super tier storage
                cpubamf:
                  type: number
                  description: BAMF tier CPU
                rambambf:
                  type: integer
                  description: BAMF tier RAM
                hddbamf:
                  type: integer
                  description: BAMF tier storage
                repotag:
                  type: string
                  description: Docker repository tag
                enviromentParameters:
                  type: array
                  description: Environment variables
                commands:
                  type: array
                  description: Container commands
                domains:
                  type: array
                  description: Custom domains
                compose:
                  type: array
                  description: Docker compose configuration
              required:
                - appname
                - description
                - owner
                - port
                - containerPort
                - cpu
                - ram
                - hdd
                - repotag
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    description: Formatted and verified app specifications
              example:
                status: success
                data:
                  version: 4
                  name: myapp
                  description: My application
                  owner: 1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC
  /apps/verifyappupdatespecifications:
    post:
      tags:
        - Apps
      summary: Verify app update specifications
      description: Verify and format application update specifications. **Public**
      operationId: verifyAppUpdateParameters
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                appname:
                  type: string
                  description: Application name
                version:
                  type: integer
                  description: New application version
                description:
                  type: string
                  description: Updated application description
                port:
                  type: integer
                  description: Application port
                containerPort:
                  type: integer
                  description: Container port
                cpu:
                  type: number
                  description: CPU requirements
                ram:
                  type: integer
                  description: RAM requirements in MB
                hdd:
                  type: integer
                  description: Storage requirements in GB
                repotag:
                  type: string
                  description: Docker repository tag
                enviromentParameters:
                  type: array
                  description: Environment variables
                commands:
                  type: array
                  description: Container commands
                domains:
                  type: array
                  description: Custom domains
                compose:
                  type: array
                  description: Docker compose configuration
              required:
                - appname
                - version
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    description: Formatted and verified app update specifications
              example:
                status: success
                data:
                  version: 5
                  name: myapp
                  description: Updated application
  /apps/getappspecsusdprice:
    get:
      tags:
        - Apps
      summary: Get application specifications USD price
      description: >-
        Get the USD price for application specifications and resource usage.
        **Public**
      operationId: getAppSpecsUSDPrice
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      fluxUsdPrice:
                        type: number
                        description: Current Flux price in USD
                      cpuPricePerMonth:
                        type: number
                        description: CPU price per month in USD
                      ramPricePerMonth:
                        type: number
                        description: RAM price per GB per month in USD
                      hddPricePerMonth:
                        type: number
                        description: Storage price per GB per month in USD
              example:
                status: success
                data:
                  fluxUsdPrice: 0.85
                  cpuPricePerMonth: 2.5
                  ramPricePerMonth: 1.2
                  hddPricePerMonth: 0.1
  /apps/applogpolling/{appname}:
    get:
      tags:
        - Apps
      summary: Poll application logs
      description: Poll application logs with real-time updates. **AppOwnerAbove**
      operationId: appLogPolling
      security:
        - ZelID: []
      parameters:
        - name: appname
          in: path
          required: true
          schema:
            type: string
          description: Name of the application
          example: electrumxtest
        - name: lines
          in: query
          required: false
          schema:
            type: integer
            default: 100
          description: Number of log lines to return
        - name: since
          in: query
          required: false
          schema:
            type: string
          description: Return logs since timestamp
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      logs:
                        type: string
                        description: Application log output
              example:
                status: success
                data:
                  logs: >-
                    2023-11-15 10:00:00 Application started\n2023-11-15 10:00:01
                    Connected to database
  /apps/appmonitorstream/{appname}:
    get:
      tags:
        - Apps
      summary: Stream application monitoring data
      description: >-
        Get real-time streaming monitoring data for an application.
        **AppOwnerAbove**
      operationId: appMonitorStream
      security:
        - ZelID: []
      parameters:
        - name: appname
          in: path
          required: true
          schema:
            type: string
          description: Name of the application
          example: electrumxtest
      responses:
        '200':
          description: OK - Server-Sent Events stream
          content:
            text/event-stream:
              schema:
                type: string
                description: Streaming monitoring data
  /apps/testappinstall/{appname}:
    get:
      tags:
        - Apps
      summary: Test application installation
      description: >-
        Test if an application can be installed without actually installing it.
        **AppOwnerAbove**
      operationId: testAppInstall
      security:
        - ZelID: []
      parameters:
        - name: appname
          in: path
          required: true
          schema:
            type: string
          description: Name of the application to test
          example: electrumxtest
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Test result message
                      canInstall:
                        type: boolean
                        description: Whether app can be installed
              example:
                status: success
                data:
                  message: Application can be installed successfully
                  canInstall: true
  /apps/installapplocally/{appname}:
    get:
      tags:
        - Apps
      summary: Install application locally
      description: Install a specific application locally on this node. **AppOwnerAbove**
      operationId: installAppLocally
      security:
        - ZelID: []
      parameters:
        - name: appname
          in: path
          required: true
          schema:
            type: string
          description: Name of the application to install
          example: electrumxtest
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Installation status message
              example:
                status: success
                data:
                  message: Application installation initiated
  /apps/redeploy/{appname}:
    get:
      tags:
        - Apps
      summary: Redeploy application
      description: Redeploy an existing application. **AppOwnerAbove**
      operationId: redeployAPI
      security:
        - ZelID: []
      parameters:
        - name: appname
          in: path
          required: true
          schema:
            type: string
          description: Name of the application to redeploy
        - name: force
          in: query
          required: false
          schema:
            type: boolean
            default: false
          description: Force redeployment even if running
        - name: global
          in: query
          required: false
          schema:
            type: boolean
            default: false
          description: Redeploy globally across network
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Redeployment status
              example:
                status: success
                data:
                  message: Application redeployment initiated
  /apps/reconstructhashes:
    get:
      tags:
        - Apps
      summary: Reconstruct application message hashes
      description: >-
        Reconstruct the application message hash collection.
        **AdminAndFluxTeam**
      operationId: reconstructAppMessagesHashCollectionAPI
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Reconstruction status
              example:
                status: success
                data:
                  message: Hash collection reconstruction initiated
  /apps/startmonitoring/{appname}:
    get:
      tags:
        - Apps
      summary: Start application monitoring
      description: Start monitoring for a specific application. **AppOwnerAbove**
      operationId: startAppMonitoringAPI
      security:
        - ZelID: []
      parameters:
        - name: appname
          in: path
          required: true
          schema:
            type: string
          description: Name of the application to monitor
          example: electrumxtest
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Monitoring status
              example:
                status: success
                data:
                  message: Application monitoring started
  /apps/stopmonitoring/{appname}:
    get:
      tags:
        - Apps
      summary: Stop application monitoring
      description: Stop monitoring for a specific application. **AppOwnerAbove**
      operationId: stopAppMonitoringAPI
      security:
        - ZelID: []
      parameters:
        - name: appname
          in: path
          required: true
          schema:
            type: string
          description: Name of the application
          example: electrumxtest
        - name: deletedata
          in: query
          required: false
          schema:
            type: boolean
            default: false
          description: Whether to delete monitoring data
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Stop monitoring status
              example:
                status: success
                data:
                  message: Application monitoring stopped
  /apps/getpublickey:
    post:
      tags:
        - Apps
      summary: Get public key for app operations
      description: Get the public key used for application operations. **User**
      operationId: getPublicKey
      security:
        - ZelID: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                message:
                  type: string
                  description: Message to sign
                signature:
                  type: string
                  description: Signature of the message
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      publickey:
                        type: string
                        description: Public key in hex format
              example:
                status: success
                data:
                  publickey: 0x1234567890abcdef...
  /explorer/fluxtxs:
    get:
      tags:
        - Explorer
      summary: View FluxNode transactions
      description: View a filtered list of the FluxNode's transactions. **Public**
      operationId: getFilteredFluxNodeTxs
      security: []
      parameters:
        - in: query
          name: filter
          required: true
          schema:
            type: string
          description: Filter using Ip, Flux address, or Collateral hash
          example: 47.22.47.180
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      txid:
                        type: string
                        description: The transaction id
                      version:
                        type: integer
                        description: Version number
                      type:
                        type: string
                        description: Type of transaction
                      updateType:
                        type: integer
                        description: Update type number
                      ip:
                        type: string
                        description: Ip of fluxnode's server
                      benchTier:
                        type: string
                        description: Fluxnode tier
                      collateralHash:
                        type: string
                        description: Collateral tx hash
                      collateralIndex:
                        type: integer
                        description: Collateral tx output index
                      fluxAddress:
                        type: string
                        description: Flux address
                      lockedAmount:
                        type: integer
                        description: Locked amount in satoshi value
                      height:
                        type: integer
                        description: Block height tx was included in
              example:
                status: success
                data:
                  txid: >-
                    793dc163a52f445ebeaa838d8d23b22ebd7c1b1d990c450a52f00ff1825c1368
                  version: 5
                  type: Confirming a fluxnode
                  updateType: 1
                  ip: 47.22.47.180
                  benchTier: NIMMBUS
                  collateralHash: >-
                    1216fd06c889aa3c559739f0ad6756a6a03700dd0590749a58868ad90a116f13
                  collateralIndex: 0
                  fluxAddress: t1YVyS1StV318tubSwiwMtfw9BLLo8RGwK2
                  lockedAmount: 2500000000000
                  height: 575023
  /explorer/utxo:
    get:
      tags:
        - Explorer
      summary: View utxo history
      description: View unspent transaction outputs of selected address. **Public**
      operationId: explorerGetAddressUtxos
      security: []
      parameters:
        - in: query
          name: address
          required: true
          schema:
            type: string
          description: Flux address to look up utxo's
          example: t1edbnsYnGXxyYNt4kJJPhZktDWNaKwkznY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        txid:
                          type: string
                          description: The transaction id
                        voutIndex:
                          type: integer
                          description: Vout index of the transaction
                        height:
                          type: integer
                          description: Block height of transaction
                        address:
                          type: string
                          description: Flux address
                        satoshis:
                          type: integer
                          description: Value of Flux in satoshi
                        scriptPubKey:
                          type: string
                          description: Script public key
                        coinbase:
                          type: boolean
                          description: If coinbase or not
              example:
                status: success
                data:
                  - txid: >-
                      dc7113577d1ccf539032c4e0155a3099fdc227d8c26ee0191628735c2b4cf4dc
                    voutIndex: 2
                    height: 288132
                    address: t1edbnsYnGXxyYNt4kJJPhZktDWNaKwkznY
                    satoshis: 10011373238
                    scriptPubKey: 76a914e3b4a37c811d29cead34b20a67baeed714b415e388ac
                    coinbase: false
                  - txid: >-
                      f9315e66c62bd356973d3fd63ace4d6327dbcf26a4d084d50ff3ec0441577196
                    voutIndex: 0
                    height: 288287
                    address: t1edbnsYnGXxyYNt4kJJPhZktDWNaKwkznY
                    satoshis: 10315062273
                    scriptPubKey: 76a914e3b4a37c811d29cead34b20a67baeed714b415e388ac
                    coinbase: false
  /explorer/transactions:
    get:
      tags:
        - Explorer
      summary: View transaction history
      description: View transaction history of selected address. **Public**
      operationId: getAddressTransactions
      security: []
      parameters:
        - in: query
          name: address
          required: true
          schema:
            type: string
          description: Flux address to look up tx history
          example: t1edbnsYnGXxyYNt4kJJPhZktDWNaKwkznY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      address:
                        type: string
                        description: Flux address
                      transactions:
                        type: array
                        items:
                          type: object
                          properties:
                            txid:
                              type: string
                              description: The transaction id
                            height:
                              type: integer
                              description: Block height of transaction
              example:
                status: success
                data:
                  address: t1edbnsYnGXxyYNt4kJJPhZktDWNaKwkznY
                  transactions:
                    - txid: >-
                        5120e5e0a4129f26ccd630710697219f482148aabddf47f2e0ebc212e3e18cbd
                      height: 253301
                    - txid: >-
                        1ffe6f5b8b15fbcbd5dfc6b9f0f1d6fc02aae4434bbf45705fa96ad56c47d6e1
                      height: 253302
                    - txid: >-
                        2dbd48d70af588b3781acc2763fab1d2515b3d508d89e4cd20e34f911cd9085a
                      height: 253828
  /explorer/balance:
    get:
      tags:
        - Explorer
      summary: View balance
      description: View balance of selected address. **Public**
      operationId: explorerGetAddressBalance
      security: []
      parameters:
        - in: query
          name: address
          required: true
          schema:
            type: string
          description: Flux address to look up balance
          example: t1edbnsYnGXxyYNt4kJJPhZktDWNaKwkznY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: integer
                    description: Flux balance in satoshi value
              example:
                status: success
                data: 7089180145154
  /explorer/scannedheight:
    get:
      tags:
        - Explorer
      summary: View scanned block height
      description: View scanned block height on the explorer that it has synced. **Public**
      operationId: getScannedHeight
      security: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      generalScannedHeight:
                        type: integer
                        description: Block height
              example:
                status: success
                data:
                  generalScannedHeight: 593977
  /explorer/issynced:
    get:
      tags:
        - Explorer
      summary: Check if explorer is synced
      description: >-
        Check if the explorer is fully synchronized with the blockchain.
        **User**
      operationId: isExplorerSynced
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: object
                    properties:
                      synced:
                        type: boolean
                        description: Whether explorer is synced
                      explorerHeight:
                        type: integer
                        description: Current explorer height
                      daemonHeight:
                        type: integer
                        description: Current daemon height
                      heightDifference:
                        type: integer
                        description: Difference between daemon and explorer height
              example:
                status: success
                data:
                  synced: true
                  explorerHeight: 593977
                  daemonHeight: 593977
                  heightDifference: 0
  /explorer/reindex:
    get:
      tags:
        - Explorer
      summary: Reindex collection
      description: Drop Flux collection and recreate it. **AdminAndFluxTeam**
      operationId: reindexExplorer
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Explanation of status
              example:
                status: success
                data: Explorer database reindex initiated
  /explorer/restart:
    get:
      tags:
        - Explorer
      summary: Restart block processing
      description: Restarts Flux collection. **AdminAndFluxTeam**
      operationId: restartBlockProcessing
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Explanation of status
              example:
                status: success
                data: Block processing initiated
  /explorer/stop:
    get:
      tags:
        - Explorer
      summary: Stops block processing
      description: Stops Flux collection. **AdminAndFluxTeam**
      operationId: stopBlockProcessing
      security:
        - ZelID: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Explanation of status
              example:
                status: success
                data: Block processing is stopped
  /explorer/rescan:
    get:
      tags:
        - Explorer
      summary: Rescan explorer
      description: Rescan explorer from selected block height. **AdminAndFluxTeam**
      operationId: rescanExplorer
      security:
        - ZelID: []
      parameters:
        - in: query
          name: blockheight
          required: true
          schema:
            type: integer
          description: Block height to start rescan from
          example: 585000
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    $ref: '#/components/schemas/status'
                  data:
                    type: string
                    description: Explanation of status
              example:
                status: success
                data: Explorer rescan from blockheight 585000 initiated
components:
  schemas:
    signature:
      description: Signature of signed loginPhrase with zelid.
      type: string
      example: >-
        H+ZB3oSrsw6XkBxxlbwk33LEBJYvqtbMIm2kL9JzuoXMC6pSZd0lBHdnhJYzMTXv81zZQ7G/pkK1NvYN7cNF0GE=
    ZelIDLogin:
      type: object
      properties:
        loginPhrase:
          description: Login Phrase. Provided by GET /id/loginphrase.
          type: string
          minLength: 40
          example: 1574991374806spbcvsuwerl52tppx9dw5khuz8rew13mkq86gg8r2c
        zelid:
          description: ZelID or any P2PKH bitcoin address or ethereum address
          type: string
          minLength: 26
          maxLength: 35
          example: 1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC
        signature:
          $ref: '#/components/schemas/signature'
    status:
      type: string
      description: Explanation of status
      enum:
        - success
        - error
    nullmessage:
      type: string
      description: Null. Status will return with success if call/command was successful.
    statusmessage:
      type: object
      properties:
        message:
          type: string
          description: Explanation of status
    streamdata:
      type: object
      properties:
        status:
          type: string
          description: Status of installation
        progressDetail:
          type: object
          properties:
            current:
              type: integer
              description: Progress in bytes
            total:
              type: integer
              description: Total byte size of download
        progress:
          type: string
          description: Progress bar animation to the download
        id:
          type: string
          description: Operation Id
        data:
          oneOf:
            - type: object
              properties:
                message:
                  type: string
                  description: Message of volume creation being completed
            - type: string
              description: Message of app successfully being started
    benchstatus:
      type: object
      properties:
        status:
          type: string
          description: Status of server
        benchmarking:
          type: string
          description: Tier server passed for CUMULUS/NIMMBUS/STRATUS
        zelback:
          type: string
          description: Status of Flux backend
    benchinfo:
      type: object
      properties:
        version:
          type: string
          description: Version number
        rpcport:
          type: integer
          description: Rpc port number
    createmultisig:
      type: object
      properties:
        address:
          type: string
          description: The value of the new multisig address
        redeemScript:
          type: string
          description: The string value of the hex-encoded redemption script
    decodescript:
      type: object
      properties:
        asm:
          type: string
          description: Script public key
        reqSigs:
          type: integer
          description: The required signatures
        type:
          type: string
          description: The output type
        addresses:
          type: array
          items:
            type: string
            description: Flux address
        p2sh:
          type: string
          description: Script address
    decoderawtransaction:
      type: object
      properties:
        txid:
          type: string
          description: The transaction id
        version:
          type: integer
          description: The version
        overwintered:
          type: boolean
          description: The Overwintered flag
        versiongroupid:
          type: string
          description: The version group id
        locktime:
          type: integer
          description: The lock time
        expiryheight:
          type: integer
          description: Last valid block height for mining transaction
        vin:
          type: array
          items:
            type: object
            properties:
              txid:
                type: string
                description: The transaction id
              vout:
                type: integer
                description: The output index
              scriptSig:
                type: object
                properties:
                  asm:
                    type: string
                    description: Script public key
                  hex:
                    type: string
                    description: The hex
              sequence:
                type: integer
                description: The script sequence number
        vout:
          $ref: '#/components/schemas/vout'
        vJoinSplit:
          $ref: '#/components/schemas/joinsplit'
        valueBalance:
          type: number
          description: The balance value of FLUX
        valueBalanceZat:
          type: number
          description: The balance value of FLUX
        vShieldedSpend:
          $ref: '#/components/schemas/shieldedspend'
        vShieldedOutput:
          $ref: '#/components/schemas/shieldedoutput'
    fundrawtransaction:
      type: object
      properties:
        hex:
          type: string
          description: The resulting raw transaction
        changepos:
          type: integer
          description: The position of the added change output, or -1
        fee:
          type: number
          description: The fee added to the transaction
    getbenchmarks:
      type: object
      properties:
        ipaddress:
          type: string
          description: Ip address of FluxNode server
        architecture:
          type: string
          description: System architecture
        armboard:
          type: string
          description: ARM board model
        status:
          type: string
          description: CUMULUS/NIMMBUS/STRATUS
        time:
          type: integer
          description: Time of bench in epoch time
        real_cores:
          type: string
          description: The amount of physical cores detected
        cores:
          type: integer
          description: The amount of vcores detected
        ram:
          type: number
          description: The amount of ram detected
        ssd:
          type: number
          description: The amount of ssd space detected
        hdd:
          type: number
          description: The amount of hdd space detected
        dd_write:
          type: number
          description: The amount of write speed detected
        totalstorage:
          type: number
          description: The amount of hdd and ssd space detected
        disksinfo:
          type: array
          items:
            type: object
            description: Disks information
            properties:
              disk:
                type: string
                description: Disk name
              size:
                type: number
                description: The amount of space detected
              writespeed:
                type: number
                description: The amount of write speed detected
        eps:
          type: number
          description: The amount of cpu speed detected
        ping:
          type: number
          description: Ping number in ms
        download_speed:
          type: number
          description: Download speed
        upload_speed:
          type: number
          description: Upload speed
        bench_version:
          type: string
          description: Benchmark version
        speed_version:
          type: string
          description: Speedtest version
        thunder:
          type: boolean
          description: True if fractus mode enabled
        error:
          type: string
          description: Error message
    joinsplit:
      type: array
      items:
        type: object
        description: This is related to sprout tx's
        properties:
          vpub_old:
            type: number
            description: Public input value of FLUX
          vpub_oldZat:
            type: integer
            description: Public input value of FLUX in satoshis
          vpub_new:
            type: number
            description: Public output of FLUX
          vpub_newZat:
            type: integer
            description: Public output of FLUX in satoshis
          anchor:
            type: string
            description: Merkle root of note commitment tree
          nullifiers:
            type: array
            items:
              type: string
              description: Input note nullifier
          commitments:
            type: array
            items:
              type: string
              description: Output note commitment
          onetimePubKey:
            type: string
            description: The onetime public key used to encrypt the cipertexts
          randomSeed:
            type: string
            description: The random seed
          macs:
            type: array
            items:
              type: string
              description: Input note MAC
          proof:
            type: string
            description: The zero-knowledge proof
          ciphertexts:
            type: array
            items:
              type: string
              description: Output note ciphertext
    listtransactions:
      type: array
      items:
        type: object
        properties:
          account:
            type: string
            description: >-
              The account name associated with the transaction. Will be "" for
              the default account
          address:
            type: string
            description: >-
              The Flux address of the transaction. Not present for move
              transactions (category = move)
          category:
            type: string
            description: >-
              The transaction category. 'send' has negative amounts, 'receive'
              has positive amounts
          amount:
            type: number
            description: >-
              The amount in FLUX. This is negative for the 'send' category, and
              for the 'move' category for moves outbound. It is positive for the
              'receive' category, and for the 'move' category for inbound funds.
          vout:
            type: integer
            description: Vout value
          fee:
            type: number
            description: >-
              The number of confirmations for the transaction. Available for
              'send' and 'receive' category of transactions
          confirmations:
            type: integer
            description: >-
              The number of confirmations for the transaction. Available for
              'send' and 'receive' category of transactions
          blockhash:
            type: string
            description: >-
              The block hash containing the transaction. Available for 'send'
              and 'receive' category of transactions
          blockindex:
            type: integer
            description: >-
              The block index containing the transaction. Available for 'send'
              and 'receive' category of transactions
          blocktime:
            type: integer
            description: The block time in seconds since epoch (1 Jan 1970 GMT)
          expiryheight:
            type: integer
            description: Expiry height of transaction
          txid:
            type: string
            description: >-
              The transaction id. Available for 'send' and 'receive' category of
              transactions
          walletconflicts:
            $ref: '#/components/schemas/walletconflicts'
          time:
            type: integer
            description: The transaction time in seconds since epoch (Jan 1 1970 GMT)
          timereceived:
            type: integer
            description: The time received in seconds since epoch (Jan 1 1970 GMT)
          vJoinSplit:
            $ref: '#/components/schemas/joinsplit'
          size:
            type: integer
            description: Size in bytes
    shieldedoutput:
      type: array
      items:
        type: object
        properties:
          cv:
            type: string
            description: Output cv note
          cmu:
            type: string
            description: Output cmu note
          ephemeralKey:
            type: string
            description: The ephemeral key
          encCiphertext:
            type: string
            description: The encrypted ciphertext
          outCiphertext:
            type: string
            description: Output note ciphertext
          proof:
            type: string
            description: The zero-knowledge proof
    shieldedspend:
      type: array
      items:
        type: object
        properties:
          cv:
            type: string
            description: The cv note encryption
          anchor:
            type: string
            description: Merkle root of note commitment tree
          nullifier:
            type: string
            description: The nullifier
          rk:
            type: string
            description: The prover key
          proof:
            type: string
            description: The proof
          spendAuthSig:
            type: string
            description: The spend signature
    signrawtransaction:
      type: object
      properties:
        hex:
          type: string
          description: The hex-encoded raw transaction with signatures
        complete:
          type: boolean
          description: If the transaction has a complete set of signatures
        errors:
          type: object
          description: Script verification errors (if there are any)
          properties:
            txid:
              type: string
              description: The hash of the referenced, previous transaction
            vout:
              type: integer
              description: The index of the output to spent and used as input
            scriptSig:
              type: string
              description: The hex-encoded signature script
            sequence:
              type: integer
              description: Script sequence number
            error:
              type: string
              description: Verification or signing error related to the input
    signfluxnodetransaction:
      type: object
      properties:
        status:
          type: string
          description: Explanation of status
        tier:
          type: string
          description: Tier of FluxNode
        hex:
          type: string
          description: Hex encoded info of the transaction
    startfluxnode:
      type: object
      properties:
        overall:
          type: string
          description: Overall status messge
        detail:
          type: array
          items:
            type: object
            properties:
              node:
                type: string
                description: Node name or alias
              result:
                type: string
                description: Success or failed
              error:
                type: string
                description: Error message if failed
    vout:
      type: array
      items:
        type: object
        properties:
          value:
            type: number
            description: The value in FLUX
          valueZat:
            type: integer
            description: The value in FLUX
          valueSat:
            type: integer
            description: The value in FLUX
          'n':
            type: integer
            description: Index
          scriptPubKey:
            type: object
            properties:
              asm:
                type: string
                description: Script public key
              hex:
                type: string
                description: The hex
              reqSigs:
                type: integer
                description: The required sigs
              type:
                type: string
                description: The type, eg pubkeyhash
              addresses:
                type: array
                items:
                  type: string
                  description: FLUX addresses
    walletconflicts:
      type: array
      items:
        type: object
        description: If conflicts array of objects will return.
    appslocation:
      type: array
      items:
        type: object
        properties:
          ip:
            type: string
            description: IP address of app
          name:
            type: string
            description: App name
          broadcastedAt:
            type: string
            description: Start date and timestamp of app
          expireAt:
            type: string
            description: Expiration date and timestamp of app
          hash:
            type: string
            description: App hash
    appname:
      type: object
      properties:
        name:
          type: string
          description: Name of app
        compose:
          type: array
          items:
            type: object
            description: component specification
            properties:
              name:
                type: string
                description: Name of app
              description:
                type: string
                description: Description of component
              repotag:
                type: string
                description: >-
                  Repotag of docker image in this format
                  `namespace/repository:tag`
              ports:
                type: array
                items:
                  type: integer
                  description: Ports list
              domains:
                type: array
                items:
                  type: string
                  description: Domain list
              enviromentParameters:
                type: array
                items:
                  type: string
                  description: Environment variables
              commands:
                type: array
                items:
                  type: string
                  description: Execution list
              containerPorts:
                type: array
                items:
                  type: integer
                  description: Container ports
              containerData:
                type: string
                description: >-
                  Directory the data is stored and what dir is tied to the
                  system folder
              cpu:
                type: number
                description: CPU amount requesting
              ram:
                type: integer
                description: Ram amount requesting in MB
              hdd:
                type: integer
                description: Storage space requesting in GB
              tiered:
                type: boolean
                description: >-
                  If set to true you will also need following key/value pairs to
                  provide tiered info. If false do not add the following
                  key/value pairs.
              cpubasic:
                type: number
                description: CPU amount
              cpusuper:
                type: number
                description: CPU amount
              cpubamf:
                type: number
                description: CPU amount
              rambasic:
                type: integer
                description: Ram amount in MB
              ramsuper:
                type: integer
                description: Ram amount in MB
              rambamf:
                type: integer
                description: Ram amount in MB
              hddbasic:
                type: integer
                description: Storage space in GB
              hddsuper:
                type: integer
                description: Storage space in GB
              hddbamf:
                type: integer
                description: Storage space in GB
              secrets:
                type: string
                description: >-
                  Encrypted environmental accessible to selected Enterprise
                  Nodes only.
              repoauth:
                type: string
                description: >-
                  Docker image authentication for private images in the format
                  of username:apikey. This field will be encrypted and
                  accessible to selected Enterprise Nodes only.
        contacts:
          type: array
          items:
            type: string
            description: Mail list
        description:
          type: string
          description: Description of app
        expire:
          type: integer
          description: Number of blocks after apps expire
        geolocation:
          type: array
          items:
            type: string
            description: Geolocation symbols
        hash:
          type: string
          description: Transation hash
        height:
          type: integer
          description: Block height
        instances:
          type: integer
          description: Instances number
        nodes:
          type: array
          items:
            type: string
            description: Enterprise Nodes IP list
        owner:
          type: string
          description: Your ZelID
        staticip:
          type: boolean
          enum:
            - true
            - false
          description: If set to true apps will be installed of nodes with static IP only.
        version:
          type: integer
          description: Version of message which is 7
    appsresources:
      type: object
      properties:
        appsCpusLocked:
          type: number
          description: Amount of cores app is using
        appsRamLocked:
          type: integer
          description: Amount of ram app is using
        appsHddLocked:
          type: integer
          description: Amount of disk space app is using
    appspecification:
      type: object
      properties:
        version:
          type: integer
          description: Version of message which is 7
        name:
          type: string
          description: Name of app
        description:
          type: string
          description: Description of app
        owner:
          type: string
          description: Your ZelID
        compose:
          type: array
          items:
            type: object
            description: component specification
            properties:
              name:
                type: string
                description: Name of app
              description:
                type: string
                description: Description of component
              repotag:
                type: string
                description: >-
                  Repotag of docker image in this format
                  `namespace/repository:tag`
              ports:
                type: array
                items:
                  type: integer
                  description: Ports list
              domains:
                type: array
                items:
                  type: string
                  description: Domain list
              enviromentParameters:
                type: array
                items:
                  type: string
                  description: Environment variables
              commands:
                type: array
                items:
                  type: string
                  description: Execution list
              containerPorts:
                type: array
                items:
                  type: integer
                  description: Container ports
              containerData:
                type: string
                description: >-
                  Directory the data is stored and what dir is tied to the
                  system folder
              cpu:
                type: number
                description: CPU amount requesting
              ram:
                type: integer
                description: Ram amount requesting in MB
              hdd:
                type: integer
                description: Storage space requesting in GB
              tiered:
                type: boolean
                description: >-
                  If set to true you will also need following key/value pairs to
                  provide tiered info. If false do not add the following
                  key/value pairs.
              cpubasic:
                type: number
                description: CPU amount
              cpusuper:
                type: number
                description: CPU amount
              cpubamf:
                type: number
                description: CPU amount
              rambasic:
                type: integer
                description: Ram amount in MB
              ramsuper:
                type: integer
                description: Ram amount in MB
              rambamf:
                type: integer
                description: Ram amount in MB
              hddbasic:
                type: integer
                description: Storage space in GB
              hddsuper:
                type: integer
                description: Storage space in GB
              hddbamf:
                type: integer
                description: Storage space in GB
              secrets:
                type: string
                description: >-
                  Array of strings of Secret Environmental Parameters. This will
                  be encrypted and accessible to selected Enterprise Nodes only.
              repoauth:
                type: string
                description: >-
                  Docker image authentication for private images in the format
                  of username:apikey. This field will be encrypted and
                  accessible to selected Enterprise Nodes only.
        instances:
          type: integer
          description: Instances number
        contacts:
          type: array
          items:
            type: string
            description: Mail list
        geolocation:
          type: array
          items:
            type: string
            description: Geolocation symbols
        expire:
          type: integer
          description: Number of blocks after apps expire
        nodes:
          type: array
          items:
            type: string
            description: Enterprise Nodes IP list
        staticip:
          type: boolean
          description: If set to true apps will be installed of nodes with static IP only.
    daemongetinfo:
      type: object
      properties:
        version:
          type: integer
          description: The server version
        protocolversion:
          type: integer
          description: The protocol version
        walletversion:
          type: integer
          description: The wallet version
        balance:
          type: number
          description: The total Flux balance of the wallet
        blocks:
          type: integer
          description: The current number of blocks processed in the server
        timeoffset:
          type: integer
          description: The time offset
        connections:
          type: integer
          description: The number of connections
        proxy:
          type: string
          description: The proxy used by the server
        difficulty:
          type: number
          description: The current difficulty
        testnet:
          type: boolean
          description: If the server is using testnet or not
        keypoololdest:
          type: integer
          description: >-
            The timestamp (seconds since GMT epoch) of the oldest pre-generated
            key in the key pool
        keypoolsize:
          type: integer
          description: How many new keys are pre-generated
        paytxfee:
          type: number
          description: The transaction fee set at FLUX/kB
        relayfee:
          type: number
          description: Minimum relay fee for non-free transactions in FLUX/kB
        errors:
          type: string
          description: Any error messages
    geolocation:
      type: object
      properties:
        ip:
          type: string
          description: IP address
        continent:
          type: string
          description: Continent name
        continentCode:
          type: string
          description: Continent code
        country:
          type: string
          description: Country name
        countryCode:
          type: string
          description: Continent code
        region:
          type: string
          description: Region code
        regionName:
          type: string
          description: Region name
        lat:
          type: number
          description: Latitude parameter
        lon:
          type: number
          description: Longitude parameter
        org:
          type: string
          description: Organization name
    fluxnodestatus:
      type: object
      properties:
        status:
          type: string
          description: FluxNode status
        collateral:
          type: string
          description: Collateral transaction
        txhash:
          type: string
          description: Collateral transaction hash
        outidx:
          type: integer
          description: Collateral transaction output index number
        ip:
          type: string
          description: FluxNode network address
        network:
          type: string
          description: Network type (IPv4, IPv6, onion)
        added_height:
          type: integer
          description: Block height when FluxNode was added
        confirmed_height:
          type: integer
          description: Block height when FluxNode was confirmed
        last_confirmed_height:
          type: integer
          description: Last block height when FluxNode was confirmed
        last_paid_height:
          type: integer
          description: Last block height when FluxNode was paid
        tier:
          type: string
          description: Tier (CUMULUS/NIMMBUS/STRATUS)
        payment_address:
          type: string
          description: FLUX address for FluxNode payments
        pubkey:
          type: string
          description: FluxNode public key used for message broadcasting
        activesince:
          type: string
          description: >-
            The time in seconds since epoch (Jan 1 1970 GMT) FluxNode has been
            active
        lastpaid:
          type: string
          description: >-
            The time in seconds since epoch (Jan 1 1970 GMT) FluxNode was last
            paid
        amount:
          type: string
          description: Locked collateral amount
    zoperationstatus:
      type: array
      items:
        type: object
        properties:
          id:
            type: string
            description: The operation id
          status:
            type: string
            description: Explanation of status
          creation_time:
            type: integer
            description: The time in seconds since epoch (Jan 1 1970 GMT)
          result:
            type: object
            properties:
              txid:
                type: string
                description: Transaction id
          execution_secs:
            type: number
            description: Amount of time in seconds of operation
          method:
            type: string
            description: The operation method
          params:
            type: object
            properties:
              fromaddress:
                type: string
                description: Address funds sent from
              amounts:
                type: array
                items:
                  type: object
                  properties:
                    address:
                      type: string
                      description: Receiving address
                    amount:
                      type: number
                      description: Sending amount
          minconf:
            type: integer
            description: Amount of confirmations required
          fee:
            type: number
            description: Fee amount used
    containerinfo:
      type: array
      items:
        type: object
        properties:
          Id:
            type: string
            description: ID of this container
          Names:
            type: array
            items:
              type: string
              description: The names that this container has been given
          Image:
            type: string
            description: The name of the image used when creating this container
          ImageID:
            type: string
            description: The ID of the image that this container was created from
          Command:
            type: string
            description: Command to run when starting the container
          Created:
            type: integer
            description: When the container was created in epoch time
          Ports:
            type: array
            items:
              type: object
              properties:
                PrivatePort:
                  type: integer
                  description: Port on the container
                Type:
                  type: string
                  enum:
                    - tcp
                    - udp
                    - sctp
                  description: tcp, udp, sctp
                IP:
                  type: string
                  description: Host IP address that the container's port is mapped to
                PublicPort:
                  type: integer
                  description: Port exposed on the host
                HostConfig:
                  type: object
                  properties:
                    NetworkMode:
                      type: string
                      description: Network mode of container
                NetworkSettings:
                  type: object
                  description: A summary of the container's network settings
                  properties:
                    Networks:
                      type: object
                      description: Configuration for a network endpoint.
                      properties:
                        fluxDockerNetwork:
                          $ref: '#/components/schemas/fluxnetwork'
                Mounts:
                  $ref: '#/components/schemas/mounts'
          Labels:
            type: object
            description: User-defined key/value metadata
            properties:
              description:
                type: string
                description: Description of app
              maintainer:
                type: string
                description: Name/alias of creator/maintainer of app
              repository:
                type: string
                description: Url to repository
              version:
                type: number
                description: Version number
          State:
            type: string
            description: State/status of the container
          Status:
            type: string
            description: Additional human-readable status of this container
    mounts:
      type: array
      items:
        type: object
        properties:
          Type:
            type: string
            enum:
              - bind
              - volume
              - tmpfs
              - npipe
            description: Mount type
          Source:
            type: string
            description: Path of dir to mount
          Destination:
            type: string
            description: Dir of container to bind mount
          Mode:
            type: string
            description: Bind mount mode
          RW:
            type: boolean
            description: Whether the mount should be read-write
          Propagation:
            type: string
            enum:
              - private
              - rprivate
              - shared
              - rshared
              - slave
              - rslave
            description: >-
              A propagation mode with the value [r]private, [r]shared, or
              [r]slave.
    fluxnetwork:
      type: object
      properties:
        IPAMConfig:
          type: string
          description: EndpointIPAMConfig represents an endpoint's IPAM configuration
        Links:
          type: string
          description: Links
        Aliases:
          type: string
          description: Aliases
        NetworkID:
          type: string
          description: Unique ID of the network
        EndpointID:
          type: string
          description: Unique ID for the service endpoint in a Sandbox
        Gateway:
          type: string
          description: Gateway address for this network
        IPAddress:
          type: string
          description: IPv4 address
        IPPrefixLen:
          type: string
          description: Mask length of the IPv4 address
        IPv6Gateway:
          type: string
          description: IPv6 gateway address
        GlobalIPv6Address:
          type: string
          description: Global IPv6 address
        GlobalIPv6PrefixLen:
          type: string
          description: Mask length of the global IPv6 address
        MacAddress:
          type: string
          description: MAC address for the endpoint on this network
        DriverOpts:
          type: string
          description: >-
            DriverOpts is a mapping of driver options and values. These options
            are passed directly to the driver and are driver specific.
    ErrorResponse:
      type: object
      description: Standard error response format
      properties:
        status:
          type: string
          enum:
            - error
          description: Error status
        data:
          type: object
          properties:
            name:
              type: string
              description: Error name/type
            message:
              type: string
              description: Error message
            code:
              type: string
              description: Error code
      example:
        status: error
        data:
          name: ValidationError
          message: Invalid application name
          code: VALIDATION_ERROR
    UnauthorizedError:
      type: object
      description: Authentication/authorization error
      properties:
        status:
          type: string
          enum:
            - error
        data:
          type: object
          properties:
            name:
              type: string
              example: UnauthorizedAccess
            message:
              type: string
              example: Unauthorized. Invalid signature or insufficient privilege.
            code:
              type: string
              example: UNAUTHORIZED
    ValidationError:
      type: object
      description: Input validation error
      properties:
        status:
          type: string
          enum:
            - error
        data:
          type: object
          properties:
            name:
              type: string
              example: ValidationError
            message:
              type: string
              example: Invalid input parameters
            code:
              type: string
              example: VALIDATION_ERROR
            details:
              type: array
              description: Detailed validation errors
              items:
                type: object
                properties:
                  field:
                    type: string
                    description: Field name that failed validation
                  message:
                    type: string
                    description: Validation error message
    InternalServerError:
      type: object
      description: Internal server error
      properties:
        status:
          type: string
          enum:
            - error
        data:
          type: object
          properties:
            name:
              type: string
              example: InternalError
            message:
              type: string
              example: Internal server error occurred
            code:
              type: string
              example: INTERNAL_ERROR
    ServiceUnavailableError:
      type: object
      description: Service temporarily unavailable
      properties:
        status:
          type: string
          enum:
            - error
        data:
          type: object
          properties:
            name:
              type: string
              example: ServiceUnavailable
            message:
              type: string
              example: Service is temporarily unavailable
            code:
              type: string
              example: SERVICE_UNAVAILABLE
  responses:
    UnauthorizedError:
      description: Authentication failed or insufficient privileges
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UnauthorizedError'
    ValidationError:
      description: Input validation failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationError'
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/InternalServerError'
    ServiceUnavailableError:
      description: Service temporarily unavailable
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ServiceUnavailableError'
  securitySchemes:
    ZelID:
      description: >-
        ZelID is an authentication system based on Bitcoin message signing and
        Ethereum personal sign. zelidauth header consist of stringified query of
        zelid, signature, loginPhrase Please refer to Authentication workflow
        section on how to obtain correct zelidauth header. An example of a
        header is
        `zelid=1CbErtneaX2QVyUfwU7JGB7VzvPgrgc3uC&signature=%2BZB3oSrsw6XkBxxlbwk33LEBJYvqtbMIm2kL9JzuoXMC6pSZd0lBHdnhJYzMTXv81zZQ7G%2FpkK1NvYN7cNF0GE%3D&loginPhrase=1574991374806spbcvsuwerl52tppx9dw5khuz8rew13mkq86gg8r2c`
      type: apiKey
      in: header
      name: zelidauth
