HTML Files
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.
Last updated
Was this helpful?