You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: doc/api-usage.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -36,19 +36,19 @@ If a folder is marked as encrypted all content in the folder and sub-folder are
36
36
37
37
## Upload a file
38
38
39
-
1. lock the file you want to upload (see [Lock file](https://github.com/nextcloud/end_to_end_encryption/blob/master/docs/api.md#lock-file)) you will get a e2e-token which can be used to restart the process, e.g. if the connection dropped
40
-
3. Make sure that you have the latest version of the meta-data file (see [Get meta-data file](https://github.com/nextcloud/end_to_end_encryption/blob/master/docs/api.md#get-meta-data-file))
39
+
1. lock the file you want to upload (see [Lock file](https://github.com/nextcloud/end_to_end_encryption/blob/master/doc/api.md#lock-file)) you will get a e2e-token which can be used to restart the process, e.g. if the connection dropped
40
+
3. Make sure that you have the latest version of the meta-data file (see [Get meta-data file](https://github.com/nextcloud/end_to_end_encryption/blob/master/doc/api.md#get-meta-data-file))
41
41
2. Update the meta-data file and encrypt the file
42
-
3. upload the meta-data file and the encrypted file (see [store meta-data file](https://github.com/nextcloud/end_to_end_encryption/blob/master/docs/api.md#store-meta-data-file)) and [update meta-data file](https://github.com/nextcloud/end_to_end_encryption/blob/master/docs/api.md#update-meta-data-file))
43
-
4. if everything was successful, unlock the file (see [Unlock file](https://github.com/nextcloud/end_to_end_encryption/blob/master/docs/api.md#unlock-file))
42
+
3. upload the meta-data file and the encrypted file (see [store meta-data file](https://github.com/nextcloud/end_to_end_encryption/blob/master/doc/api.md#store-meta-data-file)) and [update meta-data file](https://github.com/nextcloud/end_to_end_encryption/blob/master/doc/api.md#update-meta-data-file))
43
+
4. if everything was successful, unlock the file (see [Unlock file](https://github.com/nextcloud/end_to_end_encryption/blob/master/doc/api.md#unlock-file))
44
44
45
45
## Share a file
46
46
47
-
1. lock the file you want to update (see [Lock file](https://github.com/nextcloud/end_to_end_encryption/blob/master/docs/api.md#lock-file))
48
-
2. Make sure that you have the latest version of the meta-data file (see [get meta-data file](https://github.com/nextcloud/end_to_end_encryption/blob/master/docs/api.md#get-meta-data-file))
47
+
1. lock the file you want to update (see [Lock file](https://github.com/nextcloud/end_to_end_encryption/blob/master/doc/api.md#lock-file))
48
+
2. Make sure that you have the latest version of the meta-data file (see [get meta-data file](https://github.com/nextcloud/end_to_end_encryption/blob/master/doc/api.md#get-meta-data-file))
49
49
3. Update the meta-data file
50
-
4. upload the meta-data file (see [store meta-data file](https://github.com/nextcloud/end_to_end_encryption/blob/master/docs/api.md#store-meta-data-file) and [update meta-data file](https://github.com/nextcloud/end_to_end_encryption/blob/master/docs/api.md#update-meta-data-file))
51
-
5. unlock the file (see [Unlock file](https://github.com/nextcloud/end_to_end_encryption/blob/master/docs/api.md#unlock-file))
50
+
4. upload the meta-data file (see [store meta-data file](https://github.com/nextcloud/end_to_end_encryption/blob/master/doc/api.md#store-meta-data-file) and [update meta-data file](https://github.com/nextcloud/end_to_end_encryption/blob/master/doc/api.md#update-meta-data-file))
51
+
5. unlock the file (see [Unlock file](https://github.com/nextcloud/end_to_end_encryption/blob/master/doc/api.md#unlock-file))
0 commit comments