Skip to content

Retrieve all dinosaur names

GET
/names

Retrieves all dinosaur names.

Successful operation

object
count
integer
Example
1188
data
Array<string>
Example
[
"Zephyrosaurus",
"Tyrannosaurus",
"Velociraptor"
]

No dinosaur names found

object
error
string
Example
Sorry, there was an error retrieving all dinosaur names

Unexpected error

object
error
string
Example
Sorry, an unexpected error occurred while retrieving all dinosaur names