mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-24 17:41:03 +01:00
16 lines
299 B
Python
16 lines
299 B
Python
from app import api
|
|
from routes.base import BaseApi
|
|
|
|
|
|
class DeployApi(BaseApi):
|
|
col_name = 'deploys'
|
|
|
|
arguments = (
|
|
)
|
|
|
|
|
|
api.add_resource(DeployApi,
|
|
'/api/deploys',
|
|
'/api/deploys/<string:id>',
|
|
'/api/deploys/<string:id>/<string:action>')
|