Skip to content

Add a maximum joke length option #546

@BookCatKid

Description

@BookCatKid

Is your feature request related to a problem? Please describe.

Some jokes can be quite long and don’t embed well in certain apps or UI layouts. It would be helpful to be able to request a joke with a guaranteed maximum character length (for example, 150 characters).

Describe the solution you'd like

Add an optional query parameter to the API that allows clients to specify a maximum character count for the returned joke.

Describe alternatives you've considered

Clients could repeatedly request new jokes until a shorter one is returned, but this is inefficient and unreliable.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions