You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/04/21 01:27:41 UTC

[GitHub] [apisix-dashboard] qihaiyan commented on issue #2436: Consumer List Page reports error when a consumer is created with admin api

qihaiyan commented on issue #2436:
URL: https://github.com/apache/apisix-dashboard/issues/2436#issuecomment-1104615629

   > Hi @qihaiyan, thanks for your report.
   > 
   > > 1. creating a consumer with admin API:
   > 
   > I want to know the response to this request. By the way you can refer to https://apisix.apache.org/docs/apisix/admin-api#consumer
   
   the response is 
   ```json
   {"action":"set","node":{"value":{"username":"test","update_time":1650504185,"create_time":1650504185,"desc":"test"},"key":"\/apisix\/consumers\/test"}}
   ```
   
   the admin api document mentions that only username for consumer is required, other params ars all optional. so when i create a consumer with admin api , only username is used.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org