Helper
Encrypted token used to retrieve the HTML file.
HTML file retrieved successfully.
The HTML file content.
<html><body><h1>Example HTML</h1></body></html>Bad Request - Returned if the token parameter is missing or empty. Ensure that the token is provided in the query string.
Not Found - Returned if the HTML file cannot be retrieved. This may be due to an invalid token or if the file does not exist.
Internal Server Error - Returned if an unexpected error occurred on the server. Check the error details for further information.
Enter your bearer token (Firebase auth) in the format: Bearer
The HTML file to upload. Must have the content type 'text/html'.
The session ID to associate with the uploaded HTML file.
File uploaded successfully.
Bad Request - Returned if required fields are missing (e.g., no file provided, session ID missing), if the file type is invalid (only HTML files are allowed), or if the admin UID is invalid.
Not Found - Returned if the session ID does not exist in Firestore.
Unprocessable Entity - Returned if the HTML file processing (e.g., encryption) fails.
Internal Server Error - Returned if an unexpected error occurs on the server.
Enter your bearer token (Firebase auth) in the format: Bearer
Session comments retrieved successfully.
Bad Request - Error getting comments due to invalid parameters.
Unauthorized - Missing or invalid access token.
Forbidden - Admin access is required.
Not Found - Comments not found for the given session.
Internal Server Error - An unexpected error occurred.
Enter your bearer token (Firebase auth) in the format: Bearer
Comments updated successfully.
Bad Request - Error updating comments due to missing or invalid data.
Unauthorized - Missing or invalid access token.
Forbidden - Admin privileges are required.
Internal Server Error - An unexpected error occurred.
Enter your bearer token (Firebase auth) in the format: Bearer
Comments deleted successfully.
Bad Request - Error deleting comments (e.g., invalid parameters).
Unauthorized - Missing or invalid access token.
Forbidden - The user does not have admin privileges to delete report comments.
Not Found - The session or report comments were not found.
Internal Server Error - An unexpected error occurred on the server.
Last updated
Was this helpful?