provident 0.2.1

Unofficial client for the Provident (MeterConnex) utility metering portal: meters, usage history, and reports
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: GPL-3.0-only

//! `GET /api/internal/metertree/getchildren?groupId=<n>`: direct children of a group, used to
//! expand nodes with [`super::TreeNode::has_unloaded_children`].

mod req;
mod res;

pub use req::GetChildrenRequest;
pub use res::GetChildrenResponse;

/// Root-relative path, joined to the client base URL.
pub const PATH: &str = "api/internal/metertree/getchildren";

/// HTTP method the endpoint accepts.
pub const METHOD: reqwest::Method = reqwest::Method::GET;