This page was last updated 2024-06-26.
All GET endpoints are read-only unless otherwise noted. Recommended to use CTRL+F to find the endpoint you're looking for since I didn't feel like setting up anchors.
Source Code & Issue Tracker: github.com/enstrayed/enstrayedapi
Returns the commit the container is running in HTML format.
By default, this will return a JSON array with all of the blog posts on my website, however, if ?format=html
is used in the URL it will return the same but in HTML.
The result will only include posts in the directory set in the servers config.json that match a naming convention.
Returns whatever I'm listening to via the Last.fm API in JSON. If ?format=html
is used in the URL it will return the same but in HTML. If nothing is playing the JSON response will just have "playing": false
.
Internal use only: Requests to etyd.cc have their request rewritten to this endpoint.
Creates a new redirect for etyd.cc. Replace * in the URL for the target (eg. etyd.cc/target), and urlValue in the body with the URL to be redirected to.
Required Headers:Authorization
: An API key for the etyd
scope{
"url": "urlValue"
}
Deletes an existing redirect for etyd.cc. Replace * in the URL for the target (eg. etyd.cc/target)
Required Headers:Authorization
: An API key for the etyd
scopeReturns JSON containing the IP, Country and Cloudflare Ray IDs as present in the request headers.
Returns JSON containing all the headers received by the server.
Sends an email to the specified recipient, intended for application & automation use.
Required Headers:Authorization
: An API key for the mailjet
scope{
"recipient": "recipientEmailHere",
"subject": "emailSubjectHere",
"message": "emailBodyHere"
}