curl --request POST \
--url http://localhost:8000/api/v1/bug-reports/send-message \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"first_name": "<string>",
"email": "<string>",
"brief_description": "<string>"
}
'{
"first_name": "<string>",
"email": "<string>",
"brief_description": "<string>",
"id": 123,
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"user": {
"id": 123,
"email": "[email protected]",
"profile": {
"first_name": "<string>",
"last_name": "<string>",
"phone_number": "<string>"
},
"is_google_recaptcha_response_valid": true
}
}Send us a message. This endpoint allows users to send messages without authentication.
Args: message_data (SendMessageSchema): The message details including first name, email, and brief description.
Returns: dict: Confirmation message.
curl --request POST \
--url http://localhost:8000/api/v1/bug-reports/send-message \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"first_name": "<string>",
"email": "<string>",
"brief_description": "<string>"
}
'{
"first_name": "<string>",
"email": "<string>",
"brief_description": "<string>",
"id": 123,
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"user": {
"id": 123,
"email": "[email protected]",
"profile": {
"first_name": "<string>",
"last_name": "<string>",
"phone_number": "<string>"
},
"is_google_recaptcha_response_valid": true
}
}The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
The schema for a message.
255255The schema for a user.
Show child attributes