The Upload configuration allows you to set up image uploading for your MDT system. You can choose between different upload methods: Discord, Imgur, FiveManage, or a custom solution.
Replace 'https://discord.com/api/webhooks/' with your full webhook URL.
Choose an encoding format ('webp' for smaller file sizes, or 'png'/'jpg' for different formats).
Example:
Imgur Upload
To set up Imgur uploading:
Create an Imgur account and register an application to get a Client ID.
Replace 'YOUR_KEY_HERE' with your Imgur Client ID.
Example:
FiveManage Upload
To set up FiveManage uploading:
Obtain an API key from FiveManage.
Replace 'YOUR_KEY_HERE' with your FiveManage API key.
Optionally, change the encoding if needed.
Example:
Custom Upload
To set up a custom upload solution:
Replace 'https://api.your_website.com/api' with your custom API endpoint.
Adjust the field and path values to match your API's requirements.
Add any necessary headers, including authorization if required.
Example:
Remember to choose your preferred upload method by setting Upload.Method to the corresponding key ('discord', 'imgur', 'fivemanage', or 'custom') and properly configure that method's settings.