Free Support Forum - aspose.cloud

Get PowerPoint Slide index from a URI in PHP with Aspose.Slides Cloud REST API

When I look at the href from a ResourceUri I get a string that looks like

https://api.aspose.cloud/v3.0/slides/S9.pptx/slides/3/shapes/23/shapes/1?folder=santander

Is there any function that will tell me the slide index that this refers to? (If not, I can do a explode or regex to find the field between slides/3/shapes.)

@klubar

Thanks for your inquiry. Yes, I am afraid there is no method available to get the slide index from the URI. You need to parse the URI to get the slide index.