Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current Restore this Version View Page History

« Previous Version 3 Current »


QueryAPI endpointNotes
Given single user, list of bodies they're member of<path-to-oms-core>/api/members/<id>field "bodies"
Given single user, list of bodies they're applicant of<path-to-oms-core>/api/members/<id>field "join_requests" (contains both approved and pending requests)
Given single user, list of events they've participated to<path-to-oms-events>/mine/participating

contains all of the events when the logged in is participating (regardless of the status)

Given single user, list of events they're applicant of<path-to-oms-events>/mine/participatingcontains all of the events when the logged in is participating (regardless of the status)
Given single user, list of events they're accepted to<path-to-oms-events>/mine/participatingcontains all of the events when the logged in is participating (regardless of the status), to get when the user is accepted, GET <path-to-oms-events>/single/<event id>/participants/mine
Given body, list of users belonging to it<path-to-oms-core>/api/bodies/<id>/members
Given body, list of users applying to it<path-to-oms-core>/api/bodies/<id>/join_requests
Given an event, list of applicants/pax(/organisers)

Given a local, events that it has organised

Given a local, events that it will host




Given user, list of their permission

four of them:

<path-to-oms-core>/api/my_permissions - global

<path-to-oms-core>/api/circles/<id>/my_permissions - permissions for circle

<path-to-oms-core>/api/bodies/<id>/my_permissions - permissions for body

<path-to-oms-core>/api/members/<id>/my_permissions - permissions for member

Just for 'internal work' (frontend needs to know what to display)