GET api/v1/search/products/lidvids/files/{lidvid}/{fileType}
This API method will return (as a stream) a file of a cataloged product. It can be limited by the specified file type. The default is "data". If more than one file matches the request, the first matching file will be returned, based on public URL ascending order.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| lidvid |
PDS4 product lidvid (PDS4 product lid + product version id) or a PDS4 product lid (the most recent product version will be returned) |
string |
Default value is |
| fileType |
[Optional field] The file type desired: all (the default), data, label, labelpds3, labelpds4, browse, ancillary, derived |
string |
Default value is data |
Body Parameters
None.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |