From 585fb76a593f1a55a11d2d93b71b45fa60dc87ba Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Mon, 21 Sep 2020 10:11:00 -0400 Subject: [PATCH] Updated API Docs (markdown) --- API-Docs.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/API-Docs.md b/API-Docs.md index e754720..0b954f0 100644 --- a/API-Docs.md +++ b/API-Docs.md @@ -112,7 +112,7 @@ __________________________________________________________________ **POST** or **GET** (legacy) `/api/voteOnSponsorTime` -**Input** (URL Parameters): +**Input** Normal Vote (URL Parameters): ``` { UUID: string, //id of the sponsor being voted on @@ -121,6 +121,17 @@ __________________________________________________________________ } ``` +OR + +**Input** Category Vote (URL Parameters): +``` +{ + UUID: string, //id of the sponsor being voted on + userID: string, //the local user id + category: string //the name of the category to change this submission to +} +``` + **Response**: ``` {