Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
beat.web
beat.web
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 54
    • Issues 54
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 2
    • Merge Requests 2
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • beat
  • beat.webbeat.web
  • Issues
  • #187

Closed
Open
Opened May 27, 2015 by Laurent EL SHAFEY@laurent.el-shafey
  • Report abuse
  • New issue
Report abuse New issue

team creation is not api v1 compatible

While defining the API v1, it seems that the team creation has been forgotten.

If I try to create a team, I end up with such an error:

Page not found (404)
Request Method:
POST
Request URL:
http://127.0.0.1:8000/api/teams/user/
Using the URLconf defined in beat.web.urls,
Django tried these URL patterns, in this order:
^$
[name='index']
^login/$
[name='login']
^user/(?P<username>\w+)/$
[name='userpage']
^settings/$
[name='user-settings']
^search/(?P<username>\w+)/(?P<queryname>[\w\-]+)/$
[name='search']
^search/$
[name='search']
^tos/$
[name='terms-of-service']
^disclaimer/$
[name='legal-disclaimer']
^contact/$
[name='contact']
^logout/$
[name='logout']
^signup/$
[name='registration']
^signup/complete/$
[name='registration-complete']
^signup/activate/(?P<activation_key>\w+)/$
[name='registration-activation']
^preregister/$
[name='pre-registration']
^preregistration/complete/$
[name='pre-registration-complete']
^algorithms/
^libraries/
^attestations/
^backend/
^dataformats/
^databases/
^experiments/
^statistics/
^toolchains/
^teams/
^plotters/
^admin/
^api/v1/teams/
^api/v1/algorithms/
^api/v1/attestations/
^api/v1/backend/
^api/v1/databases/
^api/v1/dataformats/
^api/v1/experiments/
^api/v1/libraries/
^api/v1/statistics/
^api/v1/toolchains/
^api/v1/plotters/
^api/v1/
^static\/(?P<path>.*)$
The current URL, api/teams/user/, didn't match any of these.

I guess that fixing the URL in the form should be enough.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: beat/beat.web#187