http POST https://dash.readme.com/api/v1/api-spec/8ask23jlkasdf
 
{
"code": "SPEC_NOT_FOUND",
"message": "The spec you specified (8ask23jlkasdf) doesn't match any of the existing ones in ReadMe",
"suggestion": "Your spec id is a 12-digit code that you can find in the API Reference section of the ReadMe dashboard.",
"poem": [
"We couldn't find your spec",
"But we found other things instead!",
"Like change in the couch cushion",
"And a monster under the bed"
]
}
 
404 Not Found
http POST https://dash.readme.com/api/v1/
 
{
"code": "PROJECT_EMPTY",
"message": "You must provide a project to log in to",
"suggestion": "Pass in a project via the `project` body param. You can find a list of projects in your ReadMe dashboard!",
"poem": [
"Like a private speakeasy",
"Asking for a password at the door",
"We require you to tell us a project",
"Before you can see more"
]
}
 
400 Bad Request
http POST https://dash.readme.com/api/v1/
 
{
"code": "LOGIN_TWOFACTOR",
"message": "You must provide a two-factor code",
"suggestion": "You can do it via the API using `token`, or via the CLI using `rdme login --2fa`",
"poem": [
"Two-factor makes you safer",
"But now logins make you groan",
"Anytime you want to use a site",
"You have to pull out your phone"
]
}
 
401 Unauthorized
http POST https://dash.readme.com/api/v1/version/1.0.0
 
{
"code": "VERSION_CANT_DEMOTE_STABLE",
"message": "You can't make a stable version non-stable",
"suggestion": "There must be one stable version at all times. So, rather than demoting this version, promote another version (1.0.0, 2.0.0, 2.0.1) to be the stable version and this version will automatically not be stable.",
"poem": [
"The aliens arrived one day",
"'To your documentation, we shall go'",
"But because none of your docs were stable",
"We weren't sure which version to show"
]
}
 
400 Bad Request