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.CreateImageVoting; 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 POST https://app.lovassy.hu/Api/ImageVotings \
-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 POST https://app.lovassy.hu/Api/ImageVotings \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: text/json"
curl \
-X POST https://app.lovassy.hu/Api/ImageVotings \
-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
}
{
"id": 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,
"createdAt": "2024-05-04T09:42:00+00:00",
"updatedAt": "2024-05-04T09:42:00+00:00"
}