GET /users/:id_or_username/product_tutorials
Returns published product tutorials for user
Path parameters
-
Username or ID of user
GET /users/{id_or_username}/product_tutorials
curl \
-X GET https://api.cosmily.com/api/v1/users/{id_or_username}/product_tutorials \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": [
{
"id": 42,
"product_id": 42,
"user_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"
}
}
Response examples (200)
{
"data": [
{
"id": 42,
"product_id": 42,
"user_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"
}
}