Search Feed
Search Grant Feed
client.grants.searchFeed(GrantSearchFeedParamsbody?, RequestOptionsoptions?): expandedunionlistunionnextPageTokenstringGrantSearchFeedResponse
post/api/v1/grants/feed
Invokes the c1.api.app.v1.AppEntitlementUserBindingService.SearchGrantFeed method.
Parameters
bodyafterstringappEntitlementRefsunionappRefsunionappUserRefsunionbeforestringexpandMaskAppEntitlementUserBindingExpandHistoryMaskpageSizenumberpageTokenstringuserRefsunionGrantSearchFeedParams
Returns
GrantSearchFeedResponse
The SearchGrantFeedResponse message contains a list of grant event results and a nextPageToken if applicable.
Request example TypeScript
import ConductoroneSDK from 'conductorone-sdk';
const client = new ConductoroneSDK({
apiKey: 'My API Key',
});
const response = await client.grants.searchFeed();
console.log(response.expanded);200 Example
{
"expanded": [
{
"@type": "@type"
}
],
"list": [
{
"appPath": "appPath",
"appUserPath": "appUserPath",
"entitlementPath": "entitlementPath",
"feed": {
"appEntitlementId": "appEntitlementId",
"appId": "appId",
"appUserId": "appUserId",
"date": "2019-12-27T18:11:19.117Z",
"eventType": "GRANT_EVENT_TYPE_UNSPECIFIED",
"ticketId": "ticketId"
},
"ticketPath": "ticketPath"
}
],
"nextPageToken": "nextPageToken"
}