Last active
June 23, 2023 04:33
-
-
Save f0-x/e9dbd2e162c038641866409ab4f85654 to your computer and use it in GitHub Desktop.
Funding Submissions π
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// After the successfull project's eligiblity check for the specific funding option | |
// user can trigger this POST Http Call to submit their project for review round π | |
// POST: /fundingSubmissions π | |
{ | |
"fundingCategoryId": "Unique id of the specific Funding Option of the current funding cycle", | |
"memberId": "Id of the member who submitted the application", | |
"projectId": "Id of the project submitted for this funding option", | |
"projectPosters": [ | |
{ | |
"id": "1.1.64116.af00006c", | |
"orientation": "horizontal", | |
"content": "1.1.64165.4400000f", | |
"MimeType": "image/jpeg", | |
"description": null, | |
"tags": null | |
}, | |
{ | |
"id": "1.1.64116.af000071", | |
"orientation": "vertical", | |
"content": "1.1.64165.4400000e", | |
"MimeType": "image/jpeg", | |
"description": null, | |
"tags": null | |
} | |
], | |
"projectLogline": "Logline of the project goes here", | |
"projectSynopsis": "Synopsis of the project goes here", | |
// "targetSlot" indicates whether this submission is intended for the | |
// 1) "Prime Funding Slot", i.e the main funding slot is still not full. | |
// or | |
// 2) "Waiting List Slot", i.e the main funding slot is full. It could be an Enum type | |
// accepting only these two values, either "prime" slot or "waitingList" slot | |
"targetSlot": "prime" || "waitingList" | |
} | |
// In case of the user accidentally submits to the wrong category or they change their mind later on | |
// this request un-submits their project from the specific funding category. | |
// DELETE: /fundingSubmissions π΄ | |
{ | |
"fundingCategoryId": "Unique id of the specific Funding Option of the current funding cycle", | |
"memberId": "Id of the member who accidentally submitted the application", | |
"projectId": "Id of the project to delete from this funding category" | |
} | |
// GET: /fundingSubmissions 𧲠| |
// returns an array of funding submissions by eligible candidates | |
// of all the funding cycles to date. | |
[ | |
{ | |
"id": "Id of the submission object", | |
"fundingCycleId": "Unique id of the Funding Cycle", | |
"fundingCategoryId": "Unique id of the specific Funding Category of the current funding cycle", | |
"memberId": "Id of the member who submitted the application", | |
"projectId": "Id of the project submitted for this funding option", | |
"targetSlot": "prime" || "waitingList" | |
} | |
] | |
// GET: /fundingSubmissions/1.0.6159e.c100c123 π Unique id of a funding cycle | |
// returns an array of funding submissions by eligible candidates | |
// of the specified 'fundingCycle' id on the the URL | |
[ | |
{ | |
"id": "Id of the submission object", | |
"fundingCategoryId": "Unique id of the specific Funding Option of the current funding cycle", | |
"memberId": "Id of the member who submitted the application", | |
"projectId": "Id of the project submitted for this funding option", | |
"targetSlot": "prime" || "waitingList" | |
} | |
] | |
// GET: /fundingSubmissions/1.0.6159e.c100c123?member=1.0.6159e.c100sdf4 | |
// returns an array of funding submissions of the given funding cycle by | |
// the specified 'memberId' on the query parameter of the URL | |
[ | |
{ | |
"id": "Id of the submission object", | |
"fundingCategoryId": "Unique id of the specific Funding Option of the current funding cycle", | |
"projectId": "Id of the project submitted for this funding option", | |
"targetSlot": "prime" || "waitingList" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment