Here are some sample URLs for retrieving file resources bound to pipes:
-
GET https://sam.spclouddave.com/SampleService/Sppid/v2/Pipes?$expand=Files
-
GET https://sam.spclouddave.com/SampleService/Sppid/v2/Pipes('302')/Files
-
GET https://sam.spclouddave.com/SampleService/Sppid/v2/Pipes('302')/Files('Primary 302')
-
GET https://sam.spclouddave.com/SampleService/Sppid/v2/Pipes('302')/Files('Primary 302')/Files
-
GET https://sam.spclouddave.com/SampleService/Sppid/V2/Pipes('302')/Files('Primary 302')/Files?$filter=Purpose eq Com.Ingr.Core.V1.FilePurpose'Markup'
Notice the Files collection is also bound to an instance of a File. If you search the metadata, you will find the relationship. Also, please note that the SampleService Smart API is a secure API.
To call the listed resources requires an access token. See Authorization - use Postman to get an access token and Authorization - use Postman to call a secured API for more information.