GET /product_tutorials

GET /product_tutorials

Fetch all product tutorials

Query parameters

  • product_id integer

    Product ID to filter by

  • user_id integer

    User ID to filter by

  • page integer

    requested page number

    Minimum value is 1. Default value is 1.

  • page_size integer

    requested page size

    Minimum value is 1, maximum value is 100. Default value is 12.

Responses

GET /product_tutorials
curl \
 -X GET https://api.cosmily.com/api/v1/product_tutorials \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "id": 42,
      "product_id": 42,
      "user": {
        "id": 42,
        "username": "string",
        "last_active": "string"
      },
      "measurement_id": 42,
      "unit_of_measurement_display": "string",
      "measurement_value": "string",
      "general_info": "string",
      "status": "string",
      "created_at": "string",
      "updated_at": "string"
    }
  ],
  "links": {
    "first": "string",
    "last": "string",
    "prev": "string",
    "next": "string"
  }
}