Esempio n. 1
0
        private async Task RequestContentHistoryAndStoreResponseAsync(
            string slug,
            int?limit,
            string continuationToken,
            string etag)
        {
            string resolvedSlug = SpecHelpers.ParseSpecValue <string>(this.featureContext, slug);

            ContentClient client = this.featureContext.Get <ContentClient>();
            SwaggerResponse <ContentSummariesResponse> response = await client.GetContentHistoryAsync(
                this.featureContext.GetCurrentTenantId(),
                resolvedSlug,
                limit,
                continuationToken,
                etag).ConfigureAwait(false);

            this.scenarioContext.StoreLastApiResponse(response);
        }