Apply suggestions from code review

Co-authored-by: Jannik Stehle <50302941+JammingBen@users.noreply.github.com>
This commit is contained in:
Michael Stingl
2023-12-07 13:15:04 +01:00
committed by GitHub
parent 0ce0571a70
commit 5e21dc57f2

View File

@@ -233,7 +233,7 @@ Upload-metadata key-value pairs aren't specified in the general tus docs. The fo
| name | example.pdf | Alternate name sent by the web UI |
| type | application/pdf | MIME Type, sent by the web UI |
| filetype | application/pdf | MIME Type, sent by the web UI |
| relativePath | undefined | Sent by the web UI |
| relativePath | undefined | File path relative to the folder that is being uploaded, including the filename. Sent by the web UI |
| spaceId | 8748cddf-66b7-4b85-91a7-e6d08d8e1639$a9778d63-21e7-4d92-9b47-1b81144b9993 | Sent by the web UI |
| spaceName | Personal | Sent by the web UI |
| driveAlias | personal/admin | Sent by the web UI |
@@ -241,10 +241,10 @@ Upload-metadata key-value pairs aren't specified in the general tus docs. The fo
| currentFolder | / | Sent by the web UI |
| currentFolderId | ODc0OGNkZGYtNjZiNy00Yjg1LTkxYTctZTZkMDhkOGUxNjM5JGE5Nzc4ZDYzLTIxZTctNGQ5Mi05YjQ3LTFiODExNDRiOTk5MyFhOTc3OGQ2My0yMWU3LTRkOTItOWI0Ny0xYjgxMTQ0Yjk5OTM= | Sent by the web UI |
| uppyId | uppy-example/pdf-1e-application/pdf-238300 | Sent by the web UI |
| relativeFolder | | Key sent by the web UI, but without value |
| relativeFolder | | File path relative to the folder that is being uploaded, without filename. Sent by the web UI |
| tusEndpoint | https://ocis.ocis-traefik.latest.owncloud.works/remote.php/dav/spaces/8748cddf-66b7-4b85-91a7-e6d08d8e1639$a9778d63-21e7-4d92-9b47-1b81144b9993 | Sent by the web UI |
| uploadId | 71d5f878-a96c-4d7b-9627-658d782c93d7 | Sent by the web UI |
| topLevelFolderId | undefined | Sent by the web UI |
| routeName | files-spaces-generic | Sent by the web UI |
| routeDriveAliasAndItem | cGVyc29uYWwvYWRtaW4= | Sent by the web UI |
| routeShareId | | Key sent by the web UI, but without value |
| routeShareId | | Share ID when uploading into a received folder share. Sent by the web UI |