Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.26 KB

NodeInfo.md

File metadata and controls

36 lines (27 loc) · 1.26 KB

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]
open_registrations bool [optional]
protocols List[str] [optional]
services NodeInfoServices [optional]
software NodeInfoSoftware [optional]
usage NodeInfoUsage [optional]
version str [optional]

Example

from clientapi_forgejo.models.node_info import NodeInfo

# TODO update the JSON string below
json = "{}"
# create an instance of NodeInfo from a JSON string
node_info_instance = NodeInfo.from_json(json)
# print the JSON string representation of the object
print(NodeInfo.to_json())

# convert the object into a dict
node_info_dict = node_info_instance.to_dict()
# create an instance of NodeInfo from a dict
node_info_from_dict = NodeInfo.from_dict(node_info_dict)

[Back to Model list] [Back to API list] [Back to README]