@@ -20,26 +20,26 @@ class Endpoint:
2020 'UPLOAD_APP' : {'METHOD' : 'POST' , 'PATH' : '/apps' },
2121 'FILES_LIST' : {
2222 'METHOD' : 'GET' ,
23- 'PATH' : '/apps/{app_id}/files/list ?path={path}' ,
23+ 'PATH' : '/apps/{app_id}/files?path={path}' ,
2424 },
2525 'FILES_READ' : {
2626 'METHOD' : 'GET' ,
27- 'PATH' : '/apps/{app_id}/files/read ?path={path}' ,
27+ 'PATH' : '/apps/{app_id}/files/content ?path={path}' ,
2828 },
2929 'FILES_CREATE' : {
3030 'METHOD' : 'PUT' ,
3131 'PATH' : '/apps/{app_id}/files' ,
3232 },
3333 'FILES_DELETE' : {
3434 'METHOD' : 'DELETE' ,
35- 'PATH' : '/apps/{app_id}/files/delete?path={path} ' ,
35+ 'PATH' : '/apps/{app_id}/files' ,
3636 },
3737 'MOVE_FILE' : {'METHOD' : 'PATCH' , 'PATH' : '/apps/{app_id}/files' },
3838 'LAST_DEPLOYS' : {
3939 'METHOD' : 'GET' ,
4040 'PATH' : '/apps/{app_id}/deployments' ,
4141 },
42- 'CURRENT_WEBHOOK ' : {
42+ 'CURRENT_INTEGRATION ' : {
4343 'METHOD' : 'GET' ,
4444 'PATH' : '/apps/{app_id}/deployments/current' ,
4545 },
@@ -257,12 +257,12 @@ def all_apps_status(cls) -> Endpoint:
257257 return cls ('ALL_APPS_STATUS' )
258258
259259 @classmethod
260- def current_webhook (cls ) -> Endpoint :
260+ def current_integration (cls ) -> Endpoint :
261261 """
262262 Returns an Endpoint object that represents the
263263 /apps/{app_id}/deployments/current endpoint.
264264 """
265- return cls ('CURRENT_WEBHOOK ' )
265+ return cls ('CURRENT_INTEGRATION ' )
266266
267267 @classmethod
268268 def move_file (cls ) -> Endpoint :
0 commit comments