Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ChiefSend2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Chiefs
ChiefSend2
Commits
8faaf5f0
Commit
8faaf5f0
authored
3 years ago
by
Lukas Böhm
Browse files
Options
Downloads
Patches
Plain Diff
cleanup
parent
b41b2ed1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+6
-0
6 additions, 0 deletions
README.md
ablauf.txt
+0
-84
0 additions, 84 deletions
ablauf.txt
with
6 additions
and
84 deletions
README.md
+
6
−
0
View file @
8faaf5f0
# ChiefSend2
## Requirements:
-
MSSQL or PostreSQL Database
-
NginX or similar webserver
## Installation:
TODO
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ablauf.txt
deleted
100644 → 0
+
0
−
84
View file @
b41b2ed1
Siehe Postman!!!!!
**********************************************
******* 1. send stuff user selected and get temporary file and share UUID
*********************************************
POST: /api/containers
req: duration=1, password, message, size, download_limit, number of files, captcha, filenames, emails
res:
{
{
"container": {
"UUID": "6e7b2e6e-5c32-43c8-a899-33225ee21f27",
"duration": "1",
"downloadLimit": "20",
"lang": "de_DE",
"source": "ST",
"WSUser": null,
"authorIP": "188.192.241.187",
"swiftVersion": "4",
"createdDate": {
"date": "2021-03-07 20:39:50.667215",
"timezone_type": 3,
"timezone": "Europe/Zurich"
},
"expiredDate": "2021-03-08 20:39:50",
"needPassword": false,
"message": "HALLO NAME",
"numberOfFile": "4"
}
}
uploadHost: ul-gp545fun.swisstransfer.com
{
"filesUUID": [
"92d11732-1fbf-4fef-b83e-aaf73e8e5a54",
"800819b7-357f-48a3-b6c0-1681421fb38c",
"8ac38609-cfcf-4fc1-9645-aa532295c8a6",
"fb4fafd6-0e92-45b2-b396-e0efdc5e72ca"
]
}
}
stat: 201 created
**********************************************
******* (repeat) send files and store them temporarily
*********************************************
OPTIONS xhr: /api/uploadChunk/6e7b2e6e-5c32-43c8-a899-33225ee21f27/800819b7-357f-48a3-b6c0-1681421fb38c/0/1
res: "{\"method\":\"OPTIONS\"}"
stat: 200ok
POST: /api/uploadChunk/6e7b2e6e-5c32-43c8-a899-33225ee21f27/800819b7-357f-48a3-b6c0-1681421fb38c/0/1
stat: 201 created
res: uploadChunksFileDone: 1
**********************************************
******* 3. send upload complete confirmation that locks the upload and moves the stuff from temporary to permanent (starts deletion timer?)
*********************************************
POST: /api/uploadComplete
req:
Content-Disposition: form-data; name="UUID" 6e7b2e6e-5c32-43c8-a899-33225ee21f27
stat: 200 ok
res:
{
"0": {
"linkUUID": "a6407fb3-3b1a-48cf-abb0-edfc043ff683",
"containerUUID": "6e7b2e6e-5c32-43c8-a899-33225ee21f27",
"userEmail": null,
"downloadCounterCredit": 20,
"createdDate": "2021-03-07 20:39:50",
"expiredDate": "2021-03-08 20:39:50",
"isDownloadOnetime": 0,
"isMailSent": 0
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment