Skip to main content

Get all Files

GET 

https://https://euwest.api.elasticpath.com/v2/files

Retrieves all files.

Filtering

For general filtering syntax, see Filtering.

The following operators and attributes are available when filtering on this endpoint.

AttributeTypeOperatorsExample
file_namestringeq / likeeq(file_name, my_image.jpg)
widthintegergt / ge / lt / legt(width,200)
heightintegergt / ge / lt / lelt(height,500)
file_sizeintegergt / ge / lt / lele(file_size,20953)

Request

Responses

OK

Authorization: http

name: bearerAuthtype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://https://euwest.api.elasticpath.com/v2/files");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://https://euwest.api.elasticpath.com
Auth
Parameters
— query
— query
— query
ResponseClear

Click the Send API Request button above and see the response here!