Body
-
Minimum length is
1
, maximum length is255
. -
Minimum length is
1
, maximum length is255
. -
Minimum length is
1
. -
Minimum value is
1
. -
Minimum value is
2
.
Requires verified email; Requires one of the following permissions: ImageVotings.UpdateImageVoting; Requires the following features to be enabled: ImageVotings
Minimum length is 1
, maximum length is 255
.
Minimum length is 1
, maximum length is 255
.
Minimum length is 1
.
Minimum value is 1
.
Minimum value is 2
.
Minimum length is 1
, maximum length is 255
.
Minimum length is 1
, maximum length is 255
.
Minimum length is 1
.
Minimum value is 1
.
Minimum value is 2
.
curl \
-X PATCH https://app.lovassy.hu/Api/ImageVotings/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"string","description":"string","type":"string","aspects":[{"key":"string","name":"string","description":"string"}],"active":true,"showUploaderInfo":true,"uploaderUserGroupId":42,"bannedUserGroupId":42,"maxUploadsPerUser":42,"superIncrementAllowed":true,"superIncrementValue":42}'
curl \
-X PATCH https://app.lovassy.hu/Api/ImageVotings/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: text/json"
curl \
-X PATCH https://app.lovassy.hu/Api/ImageVotings/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/*+json"
{
"name": "string",
"description": "string",
"type": "string",
"aspects": [
{
"key": "string",
"name": "string",
"description": "string"
}
],
"active": true,
"showUploaderInfo": true,
"uploaderUserGroupId": 42,
"bannedUserGroupId": 42,
"maxUploadsPerUser": 42,
"superIncrementAllowed": true,
"superIncrementValue": 42
}
{
"name": "string",
"description": "string",
"type": "string",
"aspects": [
{
"key": "string",
"name": "string",
"description": "string"
}
],
"active": true,
"showUploaderInfo": true,
"uploaderUserGroupId": 42,
"bannedUserGroupId": 42,
"maxUploadsPerUser": 42,
"superIncrementAllowed": true,
"superIncrementValue": 42
}
{
"name": "string",
"description": "string",
"type": "string",
"aspects": [
{
"key": "string",
"name": "string",
"description": "string"
}
],
"active": true,
"showUploaderInfo": true,
"uploaderUserGroupId": 42,
"bannedUserGroupId": 42,
"maxUploadsPerUser": 42,
"superIncrementAllowed": true,
"superIncrementValue": 42
}
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}