GET /product_tutorials/:id

GET /product_tutorials/{id}

Returns a single product tutorial

Path parameters

  • id integer(int64) Required

    ID of the resource to fetch

Responses

GET /product_tutorials/{id}
curl \
 -X GET https://api.cosmily.com/api/v1/product_tutorials/{id} \
 -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",
    "product_tutorial_instructions": [
      {
        "id": 42,
        "product_tutorial_id": 42,
        "instruction": "string",
        "created_at": "string",
        "updated_at": "string"
      }
    ],
    "product_tutorial_warnings": [
      {
        "id": 42,
        "product_tutorial_id": 42,
        "warning": "string",
        "created_at": "string",
        "updated_at": "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",
    "product_tutorial_instructions": [
      {
        "id": 42,
        "product_tutorial_id": 42,
        "instruction": "string",
        "created_at": "string",
        "updated_at": "string"
      }
    ],
    "product_tutorial_warnings": [
      {
        "id": 42,
        "product_tutorial_id": 42,
        "warning": "string",
        "created_at": "string",
        "updated_at": "string"
      }
    ]
  }
}