"task1": "http://localhost:8000/api/task1/",
"task2": "http://localhost:8000/api/task2/",
"task3": "http://localhost:8000/api/task3/",
requestapi?
"big_job": "http://localhost:8000/api/bigjob/"
for example, the View code that calls the api
task of three task can be called via view:
class Task1ViewSet(JournalHookMixins, viewsets.ModelViewSet):
"""List all Hosts"""
queryset = Task1.objects.order_by("id")
serializer_class = Task1Serializer