moulinette/test/actionsmap/moulitest.yml

89 lines
2.3 KiB
YAML
Raw Normal View History

#############################
# Global parameters #
#############################
_global:
namespace: moulitest
2021-06-13 18:51:13 +02:00
authentication:
api: dummy
2021-06-13 18:51:13 +02:00
cli: dummy
#############################
# Test Actions #
#############################
testauth:
actions:
none:
api: GET /test-auth/none
authentication:
api: null
cli: null
default:
api: GET /test-auth/default
2020-01-02 05:32:57 +01:00
only-api:
api: GET /test-auth/only-api
authentication:
api: dummy
cli: null
2020-01-02 05:32:57 +01:00
only-cli:
api: GET /test-auth/only-cli
authentication:
api: null
cli: dummy
2020-01-02 05:32:57 +01:00
other-profile:
api: GET /test-auth/other-profile
authentication:
api: yoloswag
cli: yoloswag
2020-01-07 18:38:59 +01:00
2020-01-08 17:08:59 +01:00
with_arg:
api: GET /test-auth/with_arg/<super_arg>
arguments:
super_arg:
help: Super Arg
with_extra_str_only:
api: GET /test-auth/with_extra_str_only/<only_a_str>
arguments:
only_a_str:
help: Only a String
extra:
pattern:
- !!str ^[a-zA-Z]
- "pattern_only_a_str"
with_type_int:
api: GET /test-auth/with_type_int/<only_an_int>
arguments:
only_an_int:
help: Only an Int
type: int
2019-12-28 16:31:23 +01:00
subcategories:
subcat:
actions:
none:
api: GET /test-auth/subcat/none
authentication:
api: null
cli: null
2019-12-28 16:31:23 +01:00
default:
api: GET /test-auth/subcat/default
post:
api: POST /test-auth/subcat/post
authentication:
api: dummy
cli: dummy
2019-12-28 16:31:23 +01:00
other-profile:
api: GET /test-auth/subcat/other-profile
authentication:
api: yoloswag
cli: yoloswag