We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Depends on #18
Create a back-end controller that can be used to GET an application form. GET should be able to retrieve an application form for a given eventId
POST is optional for now because we could insert the data for the Indaba2019 form directly into the database in the interim.
Example of JSON response:
{ "eventId": 1, "is_open": true, "deadline": "2019-04-30", sections: [ { "sectionId": 1, "name": "Section 1", "description": "Section 1 description", "order": 1 "questions": [ {"description": "Question 1", "type": "short-text", "required": true, "order": 1}, {"description": "Question 2", "type": "single-choice", "required": false, "order": 2}, ] }, { "sectionId": 2, "name": "Section 2", "description": "This is section 2", "order": 1 "questions": [ {"description": "What is 2+2?", "type": "short-text", "required": true, "order": 1}, {"description": "Upload your CV", "type": "file", "required": false, "order": 2}, ] }, ]
}
Definition of Done This task is done when:
The text was updated successfully, but these errors were encountered:
Carvalho96v2
No branches or pull requests
Depends on #18
Create a back-end controller that can be used to GET an application form.
GET should be able to retrieve an application form for a given eventId
POST is optional for now because we could insert the data for the Indaba2019 form directly into the database in the interim.
Example of JSON response:
{
"eventId": 1,
"is_open": true,
"deadline": "2019-04-30",
sections: [
{
"sectionId": 1,
"name": "Section 1",
"description": "Section 1 description",
"order": 1
"questions": [
{"description": "Question 1", "type": "short-text", "required": true, "order": 1},
{"description": "Question 2", "type": "single-choice", "required": false, "order": 2},
]
},
{
"sectionId": 2,
"name": "Section 2",
"description": "This is section 2",
"order": 1
"questions": [
{"description": "What is 2+2?", "type": "short-text", "required": true, "order": 1},
{"description": "Upload your CV", "type": "file", "required": false, "order": 2},
]
},
]
}
Definition of Done
This task is done when:
The text was updated successfully, but these errors were encountered: