policykit / policykit

Toolkit for building governance in your online community
http://policykit.org
MIT License
128 stars 25 forks source link

Onboarding API endpoint #622

Open antiantivirus opened 4 months ago

antiantivirus commented 4 months ago

Create onboarding API endpoint inline with the following docs:

{
    "members":[],
    "platform_policies":[
        "name": string,
        "description": string,
        "platform": string
    ],
    "constitution_policies": [
        "name": string,
        "description": string
    ]
}

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.