GET /unit_of_measurements/:id

GET /unit_of_measurements/{id}

Return a single unit of measurement

Path parameters

  • id integer(int64) Required

    ID of the resource to fetch

Responses

GET /unit_of_measurements/{id}
curl \
 -X GET https://api.cosmily.com/api/v1/unit_of_measurements/{id} \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "id": 42,
    "measurement": "string",
    "singular_display": "string",
    "plural_display": "string",
    "created_at": "string",
    "updated_at": "string"
  }
}
Response examples (200)
{
  "data": {
    "id": 42,
    "measurement": "string",
    "singular_display": "string",
    "plural_display": "string",
    "created_at": "string",
    "updated_at": "string"
  }
}