Replace quantifier in period
Path parameters
Request body
Example request
{
"currentQuantifierId": "639b178f19296ee0f2d0585d",
"newQuantifierId": "639b178f19296ee0f2d05666"
}Response
Period
Example response
{
"praises": [
{
"_id": "639b178f19296ee0f2d0585d",
"reasonRaw": "for making edits in the welcome text",
"reason": "for making edits in the welcome text",
"sourceId": "DISCORD:810180621930070088:810180622336262195",
"sourceName": "DISCORD:Token%20Engineering%20Commons:%F0%9F%99%8F%EF%BD%9Cpraise",
"score": 144,
"receiver": {
"_id": "63b428f7d9ca4f6ff5370d05",
"user": {
"_id": "5f9f1b9b9b9b9b9b9b9b9b9b",
"identityEthAddress": "0xAAB27b150451726EC7738aa1d0A94505c8729bd1",
"rewardsEthAddress": "0xAAB27b150451726EC7738aa1d0A94505c8729bd1",
"username": "darth"
},
"accountId": "098098098098098",
"name": "darth#6755",
"avatarId": "098098098087097",
"platform": "DISCORD"
},
"giver": {
"_id": "63b428f7d9ca4f6ff5370d05",
"user": {
"_id": "5f9f1b9b9b9b9b9b9b9b9b9b",
"identityEthAddress": "0xAAB27b150451726EC7738aa1d0A94505c8729bd1",
"rewardsEthAddress": "0xAAB27b150451726EC7738aa1d0A94505c8729bd1",
"username": "darth"
},
"accountId": "098098098098098",
"name": "darth#6755",
"avatarId": "098098098087097",
"platform": "DISCORD"
},
"forwarder": {
"_id": "63b428f7d9ca4f6ff5370d05",
"user": {
"_id": "5f9f1b9b9b9b9b9b9b9b9b9b",
"identityEthAddress": "0xAAB27b150451726EC7738aa1d0A94505c8729bd1",
"rewardsEthAddress": "0xAAB27b150451726EC7738aa1d0A94505c8729bd1",
"username": "darth"
},
"accountId": "098098098098098",
"name": "darth#6755",
"avatarId": "098098098087097",
"platform": "DISCORD"
},
"quantifications": [
{
"_id": "639b178f19296ee0f2d0585d",
"score": 144,
"scoreRealized": 144,
"dismissed": true,
"duplicatePraise": "639b178f19296ee0f2d0585d",
"quantifier": "639b178f19296ee0f2d0585d",
"praise": "639b178f19296ee0f2d0585d",
"createdAt": "2021-06-01T00:00:00.000Z",
"updatedAt": "2021-06-01T00:00:00.000Z"
}
]
}
],
"period": {
"_id": "621f802b813dbdba9eeaf7d7",
"name": "June 2021",
"attestationsTxHash": "0x46164b8581258eec4b4f44d626925953d0d7581514d9fd1335e3bd660d48e07c",
"quantifiers": [
{
"_id": "5f9f1b9b9b9b9b9b9b9b9b9b",
"identityEthAddress": "0xAAB27b150451726EC7738aa1d0A94505c8729bd1",
"username": "darth",
"finishedCount": 1,
"praiseCount": 1,
"quantifications": [
{
"_id": "639b178f19296ee0f2d0585d",
"score": 144,
"scoreRealized": 144,
"dismissed": true,
"duplicatePraise": "639b178f19296ee0f2d0585d",
"quantifier": "639b178f19296ee0f2d0585d",
"praise": "639b178f19296ee0f2d0585d",
"createdAt": "2021-06-01T00:00:00.000Z",
"updatedAt": "2021-06-01T00:00:00.000Z"
}
]
}
],
"givers": [
{
"_id": "63b428f7d9ca4f6ff5370d05",
"accountId": "098098098098098",
"name": "darth#6755",
"avatarId": "098098098087097",
"platform": "DISCORD",
"user": "621f802b813dbdba9eeaf7d7",
"score": 144
}
],
"receivers": [
{
"_id": "63b428f7d9ca4f6ff5370d05",
"accountId": "098098098098098",
"name": "darth#6755",
"avatarId": "098098098087097",
"platform": "DISCORD",
"user": "621f802b813dbdba9eeaf7d7",
"score": 144
}
],
"numberOfPraise": 543
}
}Changes
Changed in 18 of the 50 revisions of this API.58447
- ▲
the response property
period/allOf[PeriodDetailsDto]/attestationsTxHashbecame optional for the status200response-property-became-optional
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 56 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
period/allOf[PeriodDetailsDto]/givers/items/nameresponse property's minLength was decreased from4to2for the response status200response-property-min-length-decreased
- ▲
the
period/allOf[PeriodDetailsDto]/receivers/items/nameresponse property's minLength was decreased from4to2for the response status200response-property-min-length-decreased
- ▲
the
praises/items/forwarder/nameresponse property's minLength was decreased from4to2for the response status200response-property-min-length-decreased
- ▲
the
praises/items/giver/allOf[UserAccount]/nameresponse property's minLength was decreased from4to2for the response status200response-property-min-length-decreased
- ▲
the
praises/items/receiver/allOf[UserAccount]/nameresponse property's minLength was decreased from4to2for the response status200response-property-min-length-decreased
- ▲
- ▲
removed the required property
period/allOf[PeriodDetailsDto]/attestationsTxHashfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
period/allOf[PeriodDetailsDto]/startDatefrom the response with the200statusresponse-required-property-removed
- ▲
- ○
added the required property
period/allOf[PeriodDetailsDto]/startDateto the response with the200statusresponse-required-property-added
- ○
- ○
added the required property
period/allOf[PeriodDetailsDto]/attestationsTxHashto the response with the200statusresponse-required-property-added
- ○
- ▲
the
period/allOf[PeriodDetailsDto]/givers/items/nameresponse property's maxLength was increased from20to32for the response status200response-property-max-length-increased
- ▲
the
period/allOf[PeriodDetailsDto]/receivers/items/nameresponse property's maxLength was increased from20to32for the response status200response-property-max-length-increased
- ▲
the
praises/items/forwarder/nameresponse property's maxLength was increased from20to32for the response status200response-property-max-length-increased
- ▲
the
praises/items/giver/allOf[UserAccount]/nameresponse property's maxLength was increased from20to32for the response status200response-property-max-length-increased
- ▲
the
praises/items/receiver/allOf[UserAccount]/nameresponse property's maxLength was increased from20to32for the response status200response-property-max-length-increased
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 52 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲