Cogine LLM Gateway

供应商

获取所有供应商

GET
/api/vendors/

Response Body

curl -X GET "https://loading/api/vendors/"
Empty

创建供应商

POST
/api/vendors/

Response Body

curl -X POST "https://loading/api/vendors/"
Empty

更新供应商

PUT
/api/vendors/

Response Body

curl -X PUT "https://loading/api/vendors/"
Empty

搜索供应商

GET
/api/vendors/search

Query Parameters

keyword?string

Response Body

curl -X GET "https://loading/api/vendors/search"
Empty

获取指定供应商

GET
/api/vendors/{id}

Path Parameters

id*integer

Response Body

curl -X GET "https://loading/api/vendors/0"
Empty

删除供应商

DELETE
/api/vendors/{id}

Path Parameters

id*integer

Response Body

curl -X DELETE "https://loading/api/vendors/0"
Empty