List
List
client.Apps.Report.List(ctx, appID, query) (*ListarrayNextPageTokenstringAppReportListResponse, error)
get/api/v1/apps/{app_id}/report
Get a list of reports for the given app.
Parameters
appIDstring
The appId field.
queryPageSizefieldPageTokenfieldAppReportListParams
Returns
AppReportListResponsestruct
The AppReportServiceListResponse message contains a list of 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"),
)
reports, err := client.Apps.Report.List(
context.TODO(),
"app_id",
conductoronesdk.AppReportListParams{
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", reports.List)
}
200 Example
{
"list": [
{
"id": "id",
"appId": "appId",
"downloadUrl": "downloadUrl",
"hashes": {
"foo": "string"
},
"state": "REPORT_STATE_UNSPECIFIED"
}
],
"nextPageToken": "nextPageToken"
}