opt-cc/api/apib/base/file-resources.apib

37 lines
810 B
Plaintext
Raw Normal View History

2018-03-25 21:30:27 +02:00
The running express server instance saves entity related files like squad logos and statistic logs on the file system.
2018-03-29 21:19:33 +02:00
In the original MEAN application they are served in the `/resource` path of the application server.
2018-03-25 21:30:27 +02:00
The following examples show where those files are located, to be accessed on the cloud instance.
## Images
**Decoration Image**
`https://cc.noarch.de/resource/decoration/{decorationId}.png`
**Rank Image**
`https://cc.noarch.de/resource/rank/{rankId}.png`
**Signature Image**
`https://cc.noarch.de/resource/signature/{userId}.png`
**Squad Logo**
`https://cc.noarch.de/resource/squad/{squadId}.png`
## Log-Files
**Sanitized Log File**
`https://cc.noarch.de/resource/logs/{warId}/clean.log`
**Original Uploaded Log File**
`https://cc.noarch.de/resource/logs/{warId}/war.log`