v1

latestOpenAPI 3.0.22026-08-0426137631.3 KB
Product / Content APIs

Product / Content ID List API

This API endpoint allows you to fetch the unique identifiers (product_ids) of all products stored in the app. To get a list of product_ids, make a GET request to the following URL:

GET /v1/products/_ids

Response Format

The API will return an array of product_ids in a JSON object. The status_code will be 200 if the request is successful. If any error occurs during the request, the status_code will not be 200 and the message field will indicate the error.

Example Successful Response

{
  "message": "success",
  "data": {
    "ids": [
      "product_1",
      "product_2",
      "product_3",
      // ... more product_ids
    ]
  }
}

Example Error Response

If the dataset cannot be found, the API will return a 404 error:

{
  "status_code": 404,
  "message": "not found"
}

If another error occurs during the request, the API will return a 500 error

{
  "message": "Something went wrong. Please contact miso product team."
}
get/v1/products/_ids

Response

Successful Response

messagestring required