- new endpoint to check the token for an org invitation.

- new endpoint to add user to organisation
- new endpoint to return users for an organisation
This commit is contained in:
Rebecca Law
2018-02-20 17:09:16 +00:00
parent 57a174aeb4
commit 13ef2d7bae
11 changed files with 125 additions and 17 deletions

View File

@@ -1,3 +1,4 @@
from app.models import INVITED_USER_STATUS_TYPES
from app.schema_validation.definitions import uuid
post_create_organisation_schema = {
@@ -51,7 +52,7 @@ post_update_invited_org_user_status_schema = {
"description": "POST update organisation invite schema",
"type": "object",
"properties": {
"status": {"type": "string"}
"status": {"enum": INVITED_USER_STATUS_TYPES}
},
"required": ["status"]
}