The URL of the API you want to use.
It takes a query string and returns an array of metadata objects or an error
The query string to search for.
An array of Metadata objects or an Error object.
It sends a POST request to the API endpoint /api/v1/feedback/
with the parameters thumbs_up
, post_slug
, and
feedback
boolean - True if the user liked the post, false if they didn't.
The slug of the post you want to submit feedback for.
An object with a message and http_status_code
Generated using TypeDoc
The constructor function is a special function that is called when an object is created from a class