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
URL: /api/topic/{id}
Method: GET
Returns a single topic from the database
returns: { "topics": [ { "id": 12, "text": "shakespeare" } ] }
{ "topics": [ { "id": 12, "text": "shakespeare" } ] }
Validation: ID is numeric, greater than 0, less than or equal to the max Topic ID in the DB
errors: Return an error indicating the ID is invalid
The text was updated successfully, but these errors were encountered:
Added detail to aid in grooming.
Sorry, something went wrong.
No branches or pull requests
URL: /api/topic/{id}
Method: GET
Returns a single topic from the database
returns:
{ "topics": [ { "id": 12, "text": "shakespeare" } ] }
Validation:
ID is numeric, greater than 0, less than or equal to the max Topic ID in the DB
errors: Return an error indicating the ID is invalid
The text was updated successfully, but these errors were encountered: