Search Feed
Search Grant Feed
client.Grants.SearchFeed(ctx, body) (*ExpandedarrayListarrayNextPageTokenstringGrantSearchFeedResponse, error)
post/api/v1/grants/feed
Invokes the c1.api.app.v1.AppEntitlementUserBindingService.SearchGrantFeed method.
Parameters
bodyAfterfieldAppEntitlementRefsfieldAppRefsfieldAppUserRefsfieldBeforefieldExpandMaskfieldPageSizefieldPageTokenfieldUserRefsfieldGrantSearchFeedParams
Returns
GrantSearchFeedResponsestruct
The SearchGrantFeedResponse message contains a list of grant event results and a nextPageToken if applicable.
Request example Go
package main
import (
"context"
"fmt"
"github.com/stainless-sdks/-go"
"github.com/stainless-sdks/-go/option"
)
func main() {
client := conductoronesdk.NewClient(
option.WithAPIKey("My API Key"),
)
response, err := client.Grants.SearchFeed(context.TODO(), conductoronesdk.GrantSearchFeedParams{
})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", 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"
}