Submits information for the onboarding form. Data in request sent using FormData.
Parameters
user : Currently logged in user.
base role: Array of member IDs that should be given base role.
policies: list of policies to start with - chosen from platform_policies.
governance_modal: name of governance modal to start with - chosen from constitution_policies.
community_document: string containing contents of community document.
Response
status : Response/status code
This endpoint is for the new API that will be used for the new version of PK. In this new version the frontend and backend are split into separate applications. Backend in Django / DRF and frontend in React.
Create onboarding API endpoint inline with the following docs:
GET api/onboarding
Returns information for the onboarding form.
Parameters
user
: Currently logged in user.Response
members
: Array of members in the communityplatform_policies
: Array of platform policies to start withconstitutional_policies
: Array of constitutional policies to start withPOST api/onboarding
Submits information for the onboarding form. Data in request sent using FormData.
Parameters
user
: Currently logged in user.base role
: Array of member IDs that should be given base role.policies
: list of policies to start with - chosen from platform_policies.governance_modal
: name of governance modal to start with - chosen from constitution_policies.community_document
: string containing contents of community document.Response
status
: Response/status codeThis endpoint is for the new API that will be used for the new version of PK. In this new version the frontend and backend are split into separate applications. Backend in Django / DRF and frontend in React.