Skip to content

Реализовать все известные методы API. #16

@iamlostshe

Description

@iamlostshe

В ходе разведки на сайте карелии (включен debug режим и на некоторых url можно получить отладочную информацию) был получен:

Список всех доступных методов

^desk/?$ [name='workspace']
^$ [name='web_edu.views.start']
^help/?$
^logout
^settings
^health/ [name='health-check']
^actions/ [name='web_edu.views.dict_view']
^rest/
^plugins/
^password_reset/$ [name='password_reset']
^password/reset/done/$ [name='password_reset_done']
^reset/(?P[0-9A-Za-z]+)-(?P.+)/$ [name='password_reset_confirm']
^reset/done/$ [name='password_reset_complete']
^reset_first/(?P[0-9A-Za-z]+)-(?P.+)/$ [name='password_reset_first_confirm']
^reset_first/done/$ [name='password_reset_first_complete']
^admin/
^static/(?P.)$
^media/
^wsfactory/api$
^wsfactory/api/(?P[\w-]+)(/\w
)?$
^sample/service$
^m3-users
^monitoring/production-request/save/$
^monitoring/production-request/switch-enabled/$
^monitoring/production-request/config/$
^monitoring/process-request/pid/(?P.+)/$
^monitoring/process-request/host/(?P.+)/pid/(?P.+)/$
^monitoring/process-request/switch-enabled/$
^monitoring/process-memory/$
^monitoring/process-memory/host/(?P.+)/pid/(?P.+)/$
^monitoring/process-memory/clear/$
^monitoring/process-memory/clear/host/(?P.+)/pid/(?P.+)/$
^monitoring/process-memory/switch-enabled/$
^monitoring/process-memory/config/$
^monitoring/silk/config/$
^monitoring/silk/switch-enabled/$
^monitoring/silk/
^auth/
^m3-users
^secret-key-auth/(?P<uuid_str>.+)$
^ws/declaration$
^ws/lang_declaration$
^ws/v1/declaration$
^ws/diary_smev$
^ws/EGE$
^ws/exams_smev$
^ws/info_smev$
^ws/pupil_service$
^ws/ege_service$
^ws/info$
^ws/school$
^ws/school_service$
^ws/
^personal-area/$ [name='web_edu.core.personal_area.views.application']
^pupil/.*
^parent/.*
^api/HomeworkService/* [name='HomeworkService']
^api/ScheduleService/* [name='ScheduleService']
^api/ProfileService/* [name='ProfileService']
^api/WidgetService/* [name='WidgetService']
^api/MarkService/* [name='MarkService']
^api/LessonPlanService/* [name='LessonPlanService']
^api/PortfolioServices/* [name='PortfolioServices']
^api/PortfolioFieldServices/* [name='PortfolioFieldServices']
^api/SchoolService/* [name='SchoolService']
^api/ContingentPortfolioServices/* [name='ContingentPortfolioServices']
^api/FeedbackService/* [name='FeedbackService']
^api/YaClassWidgetService/* [name='YaClassWidgetService']
^api/TestworkService/* [name='TestworkService']
^api/LiteratureService/* [name='LiteratureService']
^api/SferumChatService/* [name='SferumChatService']
^api/SferumService/* [name='SferumService']
^async/reporting/(?P<task_type>[0-9A-Za-z]+)/apply
^async/reporting/(?P<task_type>[0-9A-Za-z]+)/results$
^token/$
^oauth2/token/$ [name='token']
^monitoring/active-users/count/(?P<minutes_ago>\d+)$
^my_journal/
yaclass/auth$ [name='web_edu.plugins.yaclass.auth']
yaclass/get_token$
yaclass/get_user_info$
yaclass/login-contour$
yaclass/get_contour_url$
^api/
^sferum/service/
^sferum/service/statistics [name='web_edu.plugins.sferum.service.statistic.views.get_sferum_statistics_file']
^Schedule/(?P<esia_id>\d+)
^desk/data$ [name='workspace_data']
^me$ [name='me']
^current-role$ [name='current_role']
^sentry-debug/$
^config-id/$

из них нас интересуют методы, связанные с API:

^api/HomeworkService/* [name='HomeworkService']
^api/ScheduleService/* [name='ScheduleService']
^api/ProfileService/* [name='ProfileService']
^api/WidgetService/* [name='WidgetService']
^api/MarkService/* [name='MarkService']
^api/LessonPlanService/* [name='LessonPlanService']
^api/PortfolioServices/* [name='PortfolioServices']
^api/PortfolioFieldServices/* [name='PortfolioFieldServices']
^api/SchoolService/* [name='SchoolService']
^api/ContingentPortfolioServices/* [name='ContingentPortfolioServices']
^api/FeedbackService/* [name='FeedbackService']
^api/YaClassWidgetService/* [name='YaClassWidgetService']
^api/TestworkService/* [name='TestworkService']
^api/LiteratureService/* [name='LiteratureService']
^api/SferumChatService/* [name='SferumChatService']
^api/SferumService/* [name='SferumService']
  • HomeworkService/GetHomeworkFromRange

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureПредложение обновления функционала

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions