Base URL: https://epicgames-api/api
.
Endpoints¶
Products¶
GET /products
¶
Get a list of all Products.
Query Parameters¶
search
¶
- Optional:
true
- Type:
string
- Example:
GET https://epicgames-api/api/products?search=Gun
Filter products by using a search query to search for Products by their Title or Description.
minPrice
¶
- Optional:
true
- Type:
number
- Minimum:
0
- Example:
GET https://epicgames-api/api/products?minPrice=100
Filter products by using a minimum price to search for Products by their Price.
maxPrice
¶
- Optional:
true
- Type:
number
- Minimum:
0
- Example:
GET https://epicgames-api/api/products?maxPrice=100
Filter products by using a maximum price to search for Products by their Price.
minDiscount
¶
- Optional:
true
- Type:
number
- Minimum:
0
- Example:
GET https://epicgames-api/api/products?minDiscount=100
Filter products by using a minimum discount to search for Products by their Discount.
maxDiscount
¶
- Optional:
true
- Type:
number
- Minimum:
0
- Example:
GET https://epicgames-api/api/products?maxDiscount=100
Filter products by using a maximum discount to search for Products by their Discount.
tagIds
¶
- Optional:
true
- Type:
string
. Comma-separated list of Tag IDs (IDs with minimum value of1
). - Example:
GET https://epicgames-api/api/products?tagIds=1,2,3
Filter products by using a comma-separated list of Tag IDs to search for Products by their Tags.
start
¶
- Optional:
true
- Type:
number
- Default:
0
- Minimum:
0
- Example:
GET https://epicgames-api/api/products?start=10
Start the search at a specific index.
limit
¶
- Optional:
true
- Type:
number
- Default:
10
- Minimum:
1
- Maximum:
100
- Example:
GET https://epicgames-api/api/products?limit=10
Limit the number of results to be returned.
Response¶
- Body:
Products
- Status:
200
Example¶
GET https://epicgames-api/api/products
Errors¶
400 Bad Request¶
- Body:
string
- Status:
400
- Status Text:
"Bad Request"
Response¶
- Body:
Product
- Status:
200
Example¶
GET https://epicgames-api/api/products/id/1
Errors¶
404 Not Found¶
- Body:
"Product Not Found"
- Status:
404
- Status Text:
"Not Found"
400 Bad Request¶
- Body:
string
- Status:
400
- Status Text:
"Bad Request"
Response¶
- Body:
Product
- Status:
200
Example¶
GET https://epicgames-api/api/products/slug/blasphemous-2
Errors¶
404 Not Found¶
- Body:
"Product Not Found"
- Status:
404
- Status Text:
"Not Found"
400 Bad Request¶
- Body:
string
- Status:
400
- Status Text:
"Bad Request"
Query Parameters¶
search
¶
- Optional:
true
- Type:
string
- Example:
GET https://epicgames-api/api/tags?search=Action
Filter tags by using a search query to search for Tags by their Name.
groupNames
¶
- Optional:
true
- Type:
string
- Example:
GET https://epicgames-api/api/tags?groupNames=genre,feature,platform
Search for Tags by a spesific group name. Example: "genre"
, "platform"
.
Response¶
- Body:
Tags
- Status:
200
Example¶
GET https://epicgames-api/api/tags
Errors¶
400 Bad Request¶
- Body:
string
- Status:
400
- Status Text:
"Bad Request"
Response¶
- Body:
Tag
- Status:
200
Example¶
GET https://epicgames-api/api/tags/id/1
Errors¶
404 Not Found¶
- Body:
"Tag Not Found"
- Status:
404
- Status Text:
"Not Found"
400 Bad Request¶
- Body:
string
- Status:
400
- Status Text:
"Bad Request"
Response¶
- Body:
Tag
- Status:
200
Example¶
GET https://epicgames-api/api/tags/slug/action
Errors¶
404 Not Found¶
- Body:
"Tag Not Found"
- Status:
404
- Status Text:
"Not Found"
400 Bad Request¶
- Body:
string
- Status:
400
- Status Text:
"Bad Request"