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 2020/12/05 13:27:01 UTC

[GitHub] [apisix] moonming commented on pull request #2943: feat: support enable/disable route

moonming commented on pull request #2943:
URL: https://github.com/apache/apisix/pull/2943#issuecomment-739250972


   got it
   
   Thanks,
   Ming Wen
   Twitter: _WenMing
   
   
   罗泽轩 <no...@github.com> 于2020年12月5日周六 下午9:25写道:
   
   > *@spacewander* commented on this pull request.
   > ------------------------------
   >
   > In doc/zh-cn/admin-api.md
   > <https://github.com/apache/apisix/pull/2943#discussion_r536758557>:
   >
   > > @@ -76,6 +76,7 @@
   >
   >  |filter_func|可选|匹配规则|用户自定义的过滤函数。可以使用它来实现特殊场景的匹配要求实现。该函数默认接受一个名为 vars 的输入参数,可以用它来获取 Nginx 变量。|function(vars) return vars["arg_name"] == "json" end|
   >
   >  |labels   |可选 |匹配规则|标识附加属性的键值对|{"version":"v2","build":"16","env":"production"}|
   >
   >  |enable_websocket|可选 |辅助| 是否启用 `websocket`(boolean), 缺省 `false`.||
   >
   > +|status          |可选 |辅助| 是否启用此路由, 缺省 `1`。|`1` 表示启用,`0` 表示禁用|
   >
   >  |create_time|可选|辅助|单位为秒的 epoch 时间戳,如果不指定则自动创建|1602883670|
   >
   >
   > @moonming <https://github.com/moonming> @nic-chen
   > <https://github.com/nic-chen>
   > The last item 1602883670 is an example, not the default value.
   >
   > —
   > You are receiving this because you were mentioned.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/apisix/pull/2943#discussion_r536758557>, or
   > unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AGJZBK5QQEEOV5BXKKFHUA3STIYDBANCNFSM4ULQ4ZMA>
   > .
   >
   


----------------------------------------------------------------
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.

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