Skip to content

Commit

Permalink
Rename endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
vinulw committed Dec 5, 2024
1 parent 67dffe5 commit 85e3986
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/server/oasisapi/analyses/v2_api/viewsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def input_file(self, request, pk=None, version=None):

@swagger_auto_schema(methods=['get'])
@action(methods=['get'], detail=True)
def list_input_files(self, request, pk=None, version=None):
def input_file_tar_list(self, request, pk=None, version=None):
"""
get:
List the files in `input_file`.
Expand All @@ -434,7 +434,7 @@ def list_input_files(self, request, pk=None, version=None):

@swagger_auto_schema(methods=['get'], responses={200: FILE_RESPONSE}, manual_parameters=[FILENAME_PARAM])
@action(methods=['get'], detail=True)
def extract_input_file(self, request, pk=None, version=None):
def input_file_tar_extract(self, request, pk=None, version=None):
"""
get:
Extract and get `input_file` content.
Expand Down Expand Up @@ -528,7 +528,7 @@ def output_file(self, request, pk=None, version=None):

@swagger_auto_schema(methods=['get'])
@action(methods=['get'], detail=True)
def list_output_files(self, request, pk=None, version=None):
def output_file_tar_list(self, request, pk=None, version=None):
"""
get:
List the files in `output_file`.
Expand All @@ -537,7 +537,7 @@ def list_output_files(self, request, pk=None, version=None):

@swagger_auto_schema(methods=['get'], responses={200: FILE_RESPONSE}, manual_parameters=[FILENAME_PARAM])
@action(methods=['get'], detail=True)
def extract_output_file(self, request, pk=None, version=None):
def output_file_tar_extract(self, request, pk=None, version=None):
"""
get:
Extract and get `output_file` content.
Expand Down
Binary file modified src/server/oasisapi/db.sqlite3
Binary file not shown.

0 comments on commit 85e3986

Please sign in to comment.