API Demo

Select HTTP Method: GET is what Users can use

Choose the HTTP method to interact with the API:

Elite Tech API Information

To interact with the Elite Tech application programmatically, you can use the provided API. The API includes various endpoints for searching, reading, updating, deleting, and creating data of different types.

Endpoints:

Endpoint Description
POST /api/:type/ Create a new product
PUT /api/:type/:id Update by type and ID
DELETE /api/:type/:id Delete by type and ID
GET /api/:type/:id Retrieve by type and ID
GET /api/:type/ <options (eg. ?name=amd&...)> Retrieve all by type

Options for GET Method:

Option Description
name Name of the product
manufacturer Manufacturer of the product
sort Sorting options
  • price - Sort by price
  • rate - Sort by rate
order Ordering options
  • ASC - Ascending order
  • DESC - Descending order
filter Filtering options
  • filterBy - Field to apply filtering
    • price
    • rate
  • filterType - Type of filtering
    • gt - Greater than
    • lt - Less than
    • eq - Equal to
  • filterValue - Value for filtering
Pagination Pagination options
  • start - Start from a specific product
  • end - Get products up to a specific product
  • limit - Limit the result to a specific number

You can combine pagination options using sequences:

["start:n:n", "n:end:n", "n:n:limit", "start:end:n", "start:n:limit"]

Examples:

  • Get the 10th case till the 12th case: /api/case?limit=10:12:n