Skip to content

Commit 246f354

Browse files
committed
docs: fix url for api.md
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1 parent 81d6c02 commit 246f354

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

doc/api-usage.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,19 @@ If a folder is marked as encrypted all content in the folder and sub-folder are
3636

3737
## Upload a file
3838

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))
4141
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))
4444

4545
## Share a file
4646

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))
4949
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))
5252

5353
## Unshare a file
5454

0 commit comments

Comments
 (0)