Endpoints
Main URL: /interviewprep*
/questions
GET
Response: Entire list of Question resources (every single question in the database).
- Path variables: none
- Query string variables: none
- Request headers: none
- Request body: none
- Output returned in response body: Iterable in the form of JSON
POST
Request: Question resource for a new interview question.
Response: Question resource as stored in the server.
- Path variables: none
- Query string variables: none
- Request headers: none
- Request body: Question object
- Output returned in response body: Question object in the form of JSON
/questions/{questionsId}
GET
Response: One Question resource with the specified QuestionId.
- Path variables: UUID externalKey
- Query string variables: none
- Request headers: none
- Request body: none
- Output returned in response body: Question object in the form of JSON
PUT
Request: An updated Question resource.
- Path variables: UUID externalKey
- Query string variables: none
- Request headers: none
- Request body: Question object
- Output returned in response body: Question object in the form of JSON
DELETE
Request: Question resource to be deleted.
- Path variables: UUID externalKey
- Query string variables: none
- Request headers: none
- Request body: none
- Output returned in response body: nothing
/questions/random
GET
Response: One random Question resource.
- Path variables: none
- Query string variables: none
- Request headers: none
- Request body: none
- Output returned in response body: Question object in the form of JSON
/categories*
GET
Response: Entire list of Category resources (every single category in the database).
- Path variables: UUID externalKey
- Query string variables: none
- Request headers: none
- Request body: none
- Output returned in response body: Iterable in the form of JSON
POST
Request: Category resource for a new category object.
Response: Category resource as stored in the server.
- Path variables: none
- Query string variables: none
- Request headers: none
- Request body: Category object
- Output returned in response body: Category in the form of JSON
/categories/{categoryId}
GET
Response: One Category resource with the specified categoryId.
- Path variables: none
- Query string variables: none
- Request headers: none
- Request body: none
- Output returned in response body: Category in the form of JSON
PUT
Request: An updated Category resource.
- Path variables: UUID categoryId
- Query string variables: none
- Request headers: none
- Request body: Category object
- Output returned in response body: Category in the form of JSON
DELETE
Request: Category resource to be deleted.