Sideload multiple resources | Community
Skip to main content

Sideload multiple resources

  • November 19, 2021
  • 3 replies
  • 0 views

Hi,

When listing all tickets, is it possible to include/sideload both users and metric_sets at the same time, or do I need to make two requests to accomplish this?

Best regards,

Lisa

3 replies

Panning,
  • November 19, 2021

I think you can comma separate the two;

/api/v2/tickets.json?include=users,metric_sets

Hey Lisa and Ryan,
 
That's exactly how you would sideload both users and metric_sets in a single request to list tickets.  For context, you can sideload multiple resources separated by a comma as long as the endpoint supports the included resources.
 
Best,

  • Author
  • November 22, 2021

Thank you Ryan and Christopher, for your replies!

/Lisa