question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to use ApiRequest in Batch

See original GitHub issue

Category

  • Feature request

Describe the feature

It would be nice if APIRequest could be added to a Batch for example when working with planner.

Describe the solution you’d like

var myBatch = context.NewBatch();
await context.Site.LoadBatchAsync(myBatch, s => s.GroupId);
var plannerRequest = new ApiRequest(ApiRequestType.Graph, $"groups/{context.Site.GroupId}/planner/plans");
await context.Group.LoadBatchAsync(myBatch, plannerRequest);
await context.ExecuteAsync(myBatch);

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jansenbecommented, May 27, 2021

yes, you’ll get the json string back

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to support batch web api request processing using ...
1 Answer 1 · Batch sender for client side, that is responsible for collecting and wrapping requests, unwrapping responses and sending them to ......
Read more >
API Batch tutorial
This tutorial introduces you to performing a batch analysis using the API. ... Use the API request to list your billing groups, as...
Read more >
Sending batch rest api request from apex
I tried getting details of multiple files using the API mentioned in the question and was able to successfully get response.
Read more >
Combine multiple requests in one HTTP call using JSON ...
A JSON batch request body consists of a single JSON object with one required property: requests. The requests property is a collection of ......
Read more >
batch-api.pdf
You can use AWS Batch to efficiently provision resources d, and work ... In a managed compute environment, AWS Batch manages the capacity...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found