base rest api endpoints.
This commit is contained in:
parent
2d471ecf9d
commit
45f92fb4c7
10 changed files with 208 additions and 2 deletions
11
moto/apigateway/urls.py
Normal file
11
moto/apigateway/urls.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
from __future__ import unicode_literals
|
||||
from .responses import APIGatewayResponse
|
||||
|
||||
url_bases = [
|
||||
"https?://apigateway.(.+).amazonaws.com"
|
||||
]
|
||||
|
||||
url_paths = {
|
||||
'{0}/restapis': APIGatewayResponse().restapis,
|
||||
'{0}/restapis/(?P<function_id>[^/]+)/?$': APIGatewayResponse().restapis_individual,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue