Demo entry 5864654



Submitted by anonymous on Aug 14, 2016 at 20:47
Language: Python. Code size: 1.0 kB.

class AppLogListAPIView(CommonFilteringListView):

    def get(self, request, *args, **kwargs):
        serializer: sa_logs.serializers.AppLogListSerializer
        parameters_strategy: merge
            - path
            - name: datetime_start
              description: filter screenshots from date
              required: false
              type: datetime
            - name: datetime_end
              description: filter screenshots to date
              required: false
              type: datetime
            - code: 400
              message: Wrong input data
            - code: 401
              message: Not authenticated / Invalid signature (token)
            - code: 403
              message: User has one-time password
            - code: 405
              message: Method not allowed
        return super(AppLogListAPIView, self).get(request, *args, **kwargs)

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).