Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spo-iitk/ras-cdn
Content delivery system for RAS portal of SPO IITK in golang
https://github.com/spo-iitk/ras-cdn
cdn go
Last synced: about 1 month ago
JSON representation
Content delivery system for RAS portal of SPO IITK in golang
- Host: GitHub
- URL: https://github.com/spo-iitk/ras-cdn
- Owner: spo-iitk
- Created: 2022-06-15T13:34:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-08T21:19:28.000Z (6 months ago)
- Last Synced: 2024-07-09T02:33:13.248Z (6 months ago)
- Topics: cdn, go
- Language: Go
- Homepage: https://placement.iitk.ac.in/cdn
- Size: 49.8 KB
- Stars: 7
- Watchers: 1
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API Documentation
```sh
[POST] /cdn/upload - Uploads a file to the server
[DELETE] /cdn/delete - Deletes a file from the server
[GET] /cdn/view/ - Views a file from the server
[GET] /cdn/view/all - List of all files on the server
[POST] /cdn/zip - Zips a list of files, returns the filename
[GET] /cdn/zip/ - Zips a list of files and downloads it
[DELETE] /cdn/zip - Deletes a zip from the server
[DELETE] /cdn/zip/all - Deletes all zip files available on the server
```---
### Body
```go
type Delete*Request struct {
Filename string `json:"filename"`
}type ZipRequest struct {
Files []string `json:"files"`
OutFile string `json:"outfile"`
}```