@@ -646,6 +646,16 @@ def snapshot_get(self, uniqueId):
646646 Returns snapshot data (``snapshotData``) for the snapshot specified by ``uniqueId``.
647647
648648 API: GET /snapshot/{uniqueId}
649+
650+ Parameters
651+ ----------
652+ uniqueId : str
653+ Unique ID of the snapshot node.
654+
655+ Returns
656+ -------
657+ dict
658+ Snapshot data (``snapshotData``) as returned by the server.
649659 """
650660 method , url = self ._prepare_snapshot_get (uniqueId = uniqueId )
651661 return self .send_request (method , url )
@@ -656,6 +666,25 @@ def snapshot_add(self, parentNodeId, *, snapshotNode, snapshotData, auth=None):
656666 under the existing configuration node specified by ``parentNodeId``.
657667
658668 API: PUT /snapshot?parentNodeId={parentNodeId}
669+
670+ Parameters
671+ ----------
672+ parentNodeId : str
673+ Unique ID of the parent configuration node.
674+ snapshotNode : dict
675+ Snapshot node (``snapshotNode``) metadata. The required field is ``"name"``.
676+ snapshotData : dict
677+ Snapshot data (``snapshotData``). The required field is ``"snapshotItems"``.
678+ auth : httpx.BasicAuth, optional
679+ Object with authentication data (generated using ``auth_gen`` method). If not specified or None,
680+ then the authentication set using ``auth_set`` method is used.
681+
682+ Returns
683+ -------
684+ dict
685+ Dictionary contains snapshot node metadata and snapshot data of the node
686+ that was added. The dictionary contains two keys: ``snapshotNode`` and
687+ ``snapshotData`` as returned by the server.
659688 """
660689 method , url , params , body_json = self ._prepare_snapshot_add (
661690 parentNodeId = parentNodeId , snapshotNode = snapshotNode , snapshotData = snapshotData
@@ -668,6 +697,25 @@ def snapshot_update(self, *, snapshotNode, snapshotData, auth=None):
668697 must have valid ``uniqueId`` fields pointing to an existing node.
669698
670699 API: POST /snapshot
700+
701+ Parameters
702+ ----------
703+ snapshotNode : dict
704+ Snapshot node (``snapshotNode``) metadata. ``uniqueId`` field must point to
705+ an existing snapshot node.
706+ snapshotData : dict
707+ Snapshot data (``snapshotData``). ``uniqueId`` field must be identical to the
708+ ``uniqueId`` field in ``snapshotNode``.
709+ auth : httpx.BasicAuth, optional
710+ Object with authentication data (generated using ``auth_gen`` method). If not specified or None,
711+ then the authentication set using ``auth_set`` method is used.
712+
713+ Returns
714+ -------
715+ dict
716+ Dictionary contains snapshot node metadata and snapshot data of the node
717+ that was updated. The dictionary contains two keys: ``snapshotNode`` and
718+ ``snapshotData`` as returned by the server.
671719 """
672720 method , url , body_json = self ._prepare_snapshot_update (
673721 snapshotNode = snapshotNode , snapshotData = snapshotData
@@ -679,6 +727,12 @@ def snapshots_get(self):
679727 Returns a list of all existing snapshots (list of ``snapshotNode`` objects).
680728
681729 API: GET /snapshots
730+
731+ Returns
732+ -------
733+ list[dict]
734+ List of snapshot nodes (``snapshotNode``) as returned by the server. The list
735+ does not include snapshot data.
682736 """
683737 method , url = self ._prepare_snapshots_get ()
684738 return self .send_request (method , url )
0 commit comments