API Docs
Team Management
Get Approvals

Get Approvals

Example

query getApprovals {
  getApprovals(first: 10) {
    edges {
      node {
        teamId
        rowId
        createdByEmail
        createdById
        createdByFirstName
        createdByLastName
        createdAt
        approvedByEmail
        approvedByFirstName
        approvedByLastName
        approvedById
        approvedDate
        approvalStatus
        args
        updatedAt
        shortDesc
        fieldName
      }
    }
  }
}

Response

{
  "data": {
    "getApprovals": {
      "edges": [
        {
          "node": {
            "teamId": ,
            "rowId": ,
            "createdByEmail": "[email protected]",
            "createdById": ,
            "createdByFirstName": "Firstname",
            "createdByLastName": "Lastname",
            "createdAt": "2023-12-06T08:47:00.137324+00:00",
            "approvedByEmail": "[email protected]",
            "approvedByFirstName": "Firstname",
            "approvedByLastName": "Lastname",
            "approvedById": ,
            "approvedDate": "2023-12-06T08:46:03.967316+00:00",
            "approvalStatus": "APPROVED",
            "args": ,
            "updatedAt": "2023-12-06T08:47:00.137324+00:00",
            "shortDesc": ,
            "fieldName": "generateTwoFactorSecret"
          }
        }
      ]
    }
  }
}

Arguments

  • first (Int) Only read the first n values of the set.

  • last (Int) Only read the last n values of the set.