|
29 | 29 | *
|
30 | 30 | * @method Response getText($padID, $rev = null) returns the text of a pad
|
31 | 31 | * @method Response setText($padID, $text) sets the text of a pad
|
32 |
| - * @method Response appendText($padID, $text) appends text to a pad |
33 | 32 | * @method Response getHTML($padID, $rev = null) returns the text of a pad formatted as HTML
|
34 |
| - * @method Response setHTML($padID, $html) sets the html of a pad |
35 |
| - * @method Response getAttributePool($padID) returns the attribute pool of a pad |
36 |
| - * @method Response getRevisionChangeset($padID, $revision = null) get the changeset at a given revision, or last revision if 'rev' is not defined. |
37 |
| - * @method Response createDiffHTML($padID, $startRev, $endRev) returns an object of diffs from 2 points in a pad |
38 |
| - * @method Response restoreRevision($padID, $revision) restores revision from past as new changeset |
39 | 33 | *
|
40 | 34 | * @method Response getChatHistory($padID, $start = null, $end = null) a part of the chat history, when start and end are given, the whole chat histroy, when no extra parameters are given
|
41 | 35 | * @method Response getChatHead($padID) returns the chatHead (last number of the last chat-message) of the pad
|
42 |
| - * @method Response appendChatMessage($padID, $text, $authorID, $time = null) creates a chat message, saves it to the database and sends it to all connected clients of this pad |
43 | 36 | *
|
44 | 37 | * @method Response createPad($padID, $text = null) creates a new (non-group) pad. Note that if you need to create a group Pad, you should call createGroupPad.
|
45 | 38 | * @method Response getRevisionsCount($padID) returns the number of revisions of this pad
|
46 |
| - * @method Response getSavedRevisionsCount($padID) returns the number of saved revisions of this pad |
47 |
| - * @method Response listSavedRevisions($padID) returns a list of saved revisions of this pad |
48 |
| - * @method Response saveRevision($padID, $revision = null) save a revision of a pad |
49 | 39 | * @method Response padUsersCount($padID) returns the number of user that are currently editing this pad
|
50 | 40 | * @method Response padUsers($padID) returns the list of users that are currently editing this pad
|
51 | 41 | * @method Response deletePad($padID) deletes a pad
|
52 |
| - * @method Response movePad($sourceID, $destinationID, $force = false) moves a pad. If force is true and the destination pad exists, it will be overwritten. |
53 |
| - * @method Response copyPad($sourceID, $destinationID, $force = false) copies a pad with full history and chat. If force is true and the destination pad exists, it will be overwritten. |
54 | 42 | * @method Response getReadOnlyID($padID) returns the read only link of a pad
|
55 |
| - * @method Response getPadID($readOnlyID) returns the id of a pad which is assigned to the readOnlyID |
56 | 43 | * @method Response setPublicStatus($padID, $publicStatus) sets a boolean for the public status of a pad
|
57 | 44 | * @method Response getPublicStatus($padID) return true of false
|
58 | 45 | * @method Response setPassword($padID, $password) returns ok or a error message
|
@@ -148,28 +135,17 @@ public static function getMethods(): array
|
148 | 135 | 'listSessionsOfAuthor' => ['authorID'],
|
149 | 136 | 'getText' => ['padID', 'rev'],
|
150 | 137 | 'setText' => ['padID', 'text'],
|
151 |
| - 'appendText' => ['padID', 'text'], |
152 | 138 | 'getHTML' => ['padID', 'rev'],
|
153 |
| - 'setHTML' => ['padID', 'html'], |
154 | 139 | 'getAttributePool' => ['padID'],
|
155 |
| - 'createDiffHTML' => ['padID', 'startRev', 'endRev'], |
156 |
| - 'restoreRevision' => ['padID', 'rev'], |
157 |
| - 'getRevisionChangeset' => ['padID'], |
158 | 140 | 'getChatHistory' => ['padID', 'start', 'end'],
|
159 | 141 | 'getChatHead' => ['padID'],
|
160 |
| - 'appendChatMessage' => ['padID', 'text', 'authorID'], |
161 | 142 | 'createPad' => ['padID', 'text'],
|
162 | 143 | 'getRevisionsCount' => ['padID'],
|
163 |
| - 'getSavedRevisionsCount' => ['padID'], |
164 | 144 | 'listSavedRevisions' => ['padID'],
|
165 |
| - 'saveRevision' => ['padID'], |
166 | 145 | 'padUsersCount' => ['padID'],
|
167 | 146 | 'padUsers' => ['padID'],
|
168 | 147 | 'deletePad' => ['padID'],
|
169 |
| - 'movePad' => ['sourceID', 'destinationID'], |
170 |
| - 'copyPad' => ['sourceID', 'destinationID'], |
171 | 148 | 'getReadOnlyID' => ['padID'],
|
172 |
| - 'getPadID' => ['readOnlyID'], |
173 | 149 | 'setPublicStatus' => ['padID', 'publicStatus'],
|
174 | 150 | 'getPublicStatus' => ['padID'],
|
175 | 151 | 'setPassword' => ['padID', 'password'],
|
|
0 commit comments