Praise

List praise items, paginated results

get/api/praise

Query parameters

limitnumber required
pagenumber required
sortColumnstring
sortType'asc' | 'desc'
giverstring
receiverstring

Response

Paginated praise items

totalDocsnumber required
limitnumber required
totalPagesnumber required
pagenumber
pagingCounternumber required
hasPrevPageobject required
hasNextPageobject required
prevPageobject
nextPageobject
metaobject

Example response

{
  "totalDocs": 1200,
  "limit": 10,
  "totalPages": 12,
  "page": 2,
  "pagingCounter": 1,
  "docs": [
    {
      "_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"
        }
      ]
    }
  ]
}

Changes

Changed in 14 of the 50 revisions of this API.48343

    • 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 docs/items/forwarder/name response property's minLength was decreased from 4 to 2 for the response status 200

      response-property-min-length-decreased

    • the docs/items/giver/allOf[UserAccount]/name response property's minLength was decreased from 4 to 2 for the response status 200

      response-property-min-length-decreased

    • the docs/items/receiver/allOf[UserAccount]/name response property's minLength was decreased from 4 to 2 for the response status 200

      response-property-min-length-decreased

    • the docs/items/forwarder/name response property's maxLength was increased from 20 to 32 for the response status 200

      response-property-max-length-increased

    • the docs/items/giver/allOf[UserAccount]/name response property's maxLength was increased from 20 to 32 for the response status 200

      response-property-max-length-increased

    • the docs/items/receiver/allOf[UserAccount]/name response property's maxLength was increased from 20 to 32 for the response status 200

      response-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

  • 9096b31a006d210See the full diff
    • the response property docs/items/forwarder became optional for the status 200

      response-property-became-optional

    • the docs/items/forwarder response's property type/format changed from / to object/ for status 200

      response-property-type-changed

    • added the optional property docs/items/forwarder/user to the response with the 200 status

      response-optional-property-added

    • removed UserAccount from the docs/items/forwarder response property allOf list for the response status 200

      response-property-all-of-removed

    • added the required property docs/items/forwarder/_id to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/forwarder/accountId to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/forwarder/avatarId to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/forwarder/createdAt to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/forwarder/name to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/forwarder/platform to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/forwarder/updatedAt to the response with the 200 status

      response-required-property-added

    • the response required property docs/items/forwarder became not read-only for the status 200

      response-required-property-became-not-read-only

    • 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

  • aa4804c758aa321See the full diff
    • the docs/items/forwarder/allOf[UserAccount]/user response's property type/format changed from string/ to object/ for status 200

      response-property-type-changed

    • the docs/items/giver/allOf[UserAccount]/user response's property type/format changed from string/ to object/ for status 200

      response-property-type-changed

    • the docs/items/receiver/allOf[UserAccount]/user response's property type/format changed from string/ to object/ for status 200

      response-property-type-changed

    • added the required property docs/items/forwarder/allOf[UserAccount]/user/_id to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/forwarder/allOf[UserAccount]/user/createdAt to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/forwarder/allOf[UserAccount]/user/identityEthAddress to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/forwarder/allOf[UserAccount]/user/rewardsEthAddress to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/forwarder/allOf[UserAccount]/user/roles to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/forwarder/allOf[UserAccount]/user/updatedAt to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/forwarder/allOf[UserAccount]/user/username to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/giver/allOf[UserAccount]/user/_id to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/giver/allOf[UserAccount]/user/createdAt to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/giver/allOf[UserAccount]/user/identityEthAddress to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/giver/allOf[UserAccount]/user/rewardsEthAddress to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/giver/allOf[UserAccount]/user/roles to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/giver/allOf[UserAccount]/user/updatedAt to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/giver/allOf[UserAccount]/user/username to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/receiver/allOf[UserAccount]/user/_id to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/receiver/allOf[UserAccount]/user/createdAt to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/receiver/allOf[UserAccount]/user/identityEthAddress to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/receiver/allOf[UserAccount]/user/rewardsEthAddress to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/receiver/allOf[UserAccount]/user/roles to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/receiver/allOf[UserAccount]/user/updatedAt to the response with the 200 status

      response-required-property-added

    • added the required property docs/items/receiver/allOf[UserAccount]/user/username to the response with the 200 status

      response-required-property-added