cberg
Version:
Node.js Client for the Codeberg API
34 lines (26 loc) • 1.17 kB
Markdown
# NodeInfo
NodeInfo contains standardized way of exposing metadata about a server running one of the distributed social networks
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**metadata** | **object** | | [optional] [default to undefined]
**openRegistrations** | **boolean** | | [optional] [default to undefined]
**protocols** | **Array<string>** | | [optional] [default to undefined]
**services** | [**NodeInfoServices**](NodeInfoServices.md) | | [optional] [default to undefined]
**software** | [**NodeInfoSoftware**](NodeInfoSoftware.md) | | [optional] [default to undefined]
**usage** | [**NodeInfoUsage**](NodeInfoUsage.md) | | [optional] [default to undefined]
**version** | **string** | | [optional] [default to undefined]
## Example
```typescript
import { NodeInfo } from 'berg';
const instance: NodeInfo = {
metadata,
openRegistrations,
protocols,
services,
software,
usage,
version,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)