Update an image voting entry
Requires verified email; Requires one of the following permissions: ImageVotings.UpdateImageVotingEntry, ImageVotings.UpdateOwnImageVotingEntry; Requires the following features to be enabled: ImageVotings
Path parameters
-
id
integer(int32) Required
application/json
PATCH
/Api/ImageVotingEntries/{id}
cURL (application/json)
curl \
-X PATCH https://app.lovassy.hu/Api/ImageVotingEntries/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"title":"string","imageUrl":"string"}'
curl \
-X PATCH https://app.lovassy.hu/Api/ImageVotingEntries/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: text/json"
curl \
-X PATCH https://app.lovassy.hu/Api/ImageVotingEntries/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/*+json"
Request example
{
"title": "string",
"imageUrl": "string"
}
Request examples
{
"title": "string",
"imageUrl": "string"
}
Request examples
{
"title": "string",
"imageUrl": "string"
}
Response examples (404)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}