Skip to content

Server/Ticket78/Fix interface api calls on the server side. #79

@bdfhjk

Description

@bdfhjk

Currently, the API scheme on the server is non consistent with apiary documentation.

Please fix the schema of following calls to be compatible with apiary, that interface will be working well with them.

That may involve changing the expected JSON format, outputted JSON format and a little of internal server logic.

List of calls to be fixed (or checked) in the scope of this ticket:

    url(r'^crash-reports/$', views.crash_report_list) 
    url(r'^crash-reports/(?P<pk>[0-9]+)/$', views.crash_report_detail),

    url(r'^crash-groups/$', views.crash_group_list),
    url(r'^crash-groups/(?P<pk>[0-9]+)/$', views.crash_group_detail),

    url(r'^solutions/(?P<pk>[0-9]+)/$', views.solution_detail),
    url(r'^solutions/$', views.solution_list),

Both include request and answer. In case of questions how to implement any of it, contact @ignacy130

Please remove these urls as they are not following apiary to avoid misunderstandings:

    url(r'^crash-groups/add/$', views.crash_group_add),
    url(r'^crash-reports/add/$', views.crash_report_add),

Deadline: Before 07.04 20:00

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions