v1

latestOpenAPI 3.0.02026-07-17715665.1 KB
Periods

Fetch all Praise in a period for a given giver

get/api/periods/{periodId}/praise/giver/{giverId}

Path parameters

periodIdstring required
giverIdstring required

Response

Period Praise items

_idstring required
reasonRawstring required
reasonstring required
sourceIdstring required
sourceNamestring required
scorenumber required
createdAtstring date-time required
updatedAtstring date-time required

Example response

[
  {
    "_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": "621f802b813dbdba9eeaf7d7",
      "accountId": "098098098098098",
      "name": "darth#6755",
      "avatarId": "098098098087097",
      "platform": "DISCORD"
    },
    "giver": {
      "_id": "63b428f7d9ca4f6ff5370d05",
      "user": "621f802b813dbdba9eeaf7d7",
      "accountId": "098098098098098",
      "name": "darth#6755",
      "avatarId": "098098098087097",
      "platform": "DISCORD"
    },
    "forwarder": {
      "_id": "63b428f7d9ca4f6ff5370d05",
      "user": "621f802b813dbdba9eeaf7d7",
      "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"
      }
    ]
  }
]