curl --request POST \
--url http://localhost:8787/api/v1/share/multiplayer \
--header 'Content-Type: application/json' \
--data '{
"quizId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roomId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isAnonymous": true,
"isPublic": true
}'
{
"shareId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"shareUrl": "<string>",
"isAnonymous": true,
"isPublic": true,
"type": "<string>",
"quiz": {
"quizId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
}
}
Create a shareable version of a completed multiplayer quiz
curl --request POST \
--url http://localhost:8787/api/v1/share/multiplayer \
--header 'Content-Type: application/json' \
--data '{
"quizId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roomId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isAnonymous": true,
"isPublic": true
}'
{
"shareId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"shareUrl": "<string>",
"isAnonymous": true,
"isPublic": true,
"type": "<string>",
"quiz": {
"quizId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
}
}
Share created
The response is of type object
.