get_block_schematic

POST {{pgbc_server}}/cgi-bin/pgbc_api/get_block_schematic?username={{block_user}}&password={{block_user_password}}&blockchain={{blockchain}}

This endpoint allows users to send an HTTP POST request to search for block data. The request includes parameters for the username, password, and ddlSearchBlock. Upon successful execution, the server returns a JSON response with a status code of 200 and a Content-Type of application/json. The response contains an array of results, where each element includes ai_1 and count_ai fields. To document the response of this request as a JSON schema, the following schema can be used:

{
    "type": "object",
    "properties": {
        "results": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "ai_1": {
                        "type": "string"
                    },
                    "count_ai": {
                        "type": "string"
                    }
                },
                "required": ["ai_1", "count_ai"]
            }
        }
    },
    "required": ["results"]
}

Request Params

KeyDatatypeRequiredDescription
usernamestring
passwordstring
blockchainstring

HEADERS

KeyDatatypeRequiredDescription
AuthorizationstringGet the api token using getApiKey