GET /random/{count}/{outputField}
Summary: Get specific fields from random poems
Operation ID: getRandomPoemFields
Auth: unknown
Operation ID: getRandomPoemFields
Auth: unknown
Description
Returns specific fields from a number of random poems.
Parameters (2)
count
(integer, path, required)
Number of random poems
outputField
(string, path, required)
The field(s) to return
Constraints: {'enum': ['title', 'lines', 'linecount', 'author', 'all']}
Examples (1)
| Title | Type | URL | Action |
|---|---|---|---|
| Get 3 random poems with author and title only | doc_extracted |
https://poetrydb.org/random/3/author,title |
No probe data for this endpoint yet.