Skip to main content
GET
/
v1
/
api
/
categories
/
nom
/
{nom}
Get a category by name
curl --request GET \
  --url http://localhost:3091/v1/api/categories/nom/{nom} \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "code": "<string>",
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/api/auth/login

Path Parameters

nom
string
required

Response

Category found

id
integer<int32>
code
string
name
string