💉Drug Listesi
Uç-nokta: /drugs/:id
İstek Metodu: GET
Header Parametreleri
İstek Parametreleri
Cevap Parametreleri
data Cevap Yapısı
drug
curl İstek Örneği
curl --location 'https://api.vapi.co/drugs' \
--header 'Authorization: Bearer <API Anahtarı>'
curl --location 'https://api.vapi.co/drugs/' \
--header 'Authorization: Bearer <API Anahtarı>'
postman İstek Örneği
Cevap örneği
{
"data": [
{
"drug": {
"id": 4773,
"name": "5-HTP"
}
},
{
"drug": {
"id": 4369,
"name": "ACNEGEN"
}
},
{
"drug": {
"id": 48,
"name": "ADELEKS"
}
},
{
"drug": {
"id": 60,
"name": "ADVİL"
}
},
{
"drug": {
"id": 121,
"name": "ALKA-SELTZER"
}
},
...
],
"_links": {
"self": {
"href": "https://api.vapi.co/drugs?page=1&per-page=500"
},
"first": {
"href": "https://api.vapi.co/drugs?page=1&per-page=500"
},
"last": {
"href": "https://api.vapi.co/drugs?page=27&per-page=500"
},
"next": {
"href": "https://api.vapi.co/drugs?page=2&per-page=500"
}
},
"_meta": {
"totalCount": 13218,
"pageCount": 27,
"currentPage": 1,
"perPage": 500
},
"success": true
}
Last updated