newsletter-site
GET
https://hermeticor.com /p/n/{ref} Publication home: featured and latest posts
Parameters
refstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/p/n/{ref}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /p/n/{ref}/archive Archive with search and pagination
Parameters
qstringquerypageintegerqueryrtstringqueryrefstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/p/n/{ref}/archive"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
GET
https://hermeticor.com /p/n/{ref}/s/{slug} Posts of one section
Parameters
qstringquerypageintegerqueryrtstringqueryrefstringpathrequiredslugstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/p/n/{ref}/s/{slug}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
GET
https://hermeticor.com /p/n/{ref}/a/{slug} Posts of one author
Parameters
qstringquerypageintegerqueryrtstringqueryrefstringpathrequiredslugstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/p/n/{ref}/a/{slug}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
GET
https://hermeticor.com /p/n/{ref}/about About page
Parameters
refstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/p/n/{ref}/about"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
GET
https://hermeticor.com /p/n/{ref}/subscribe Subscribe page
Parameters
fromstringqueryrefstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/p/n/{ref}/subscribe"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
POST
https://hermeticor.com /p/n/{ref}/subscribe Subscribe (consent recorded with the exact text shown)
Parameters
refstringpathrequiredRequest body
application/json
{}Code samples
cURL
curl -X POST "https://hermeticor.com/p/n/{ref}/subscribe" \
-H "Content-Type: application/json" \
-d '{}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
GET
https://hermeticor.com /p/n/{ref}/p/{slug} One post (full text for entitled readers, preview and an upgrade box otherwise)
Parameters
rtstringqueryutm_sourcestringqueryrefstringpathrequiredslugstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/p/n/{ref}/p/{slug}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
POST
https://hermeticor.com /p/n/{ref}/p/{slug}/beacon Read-depth and time beacon from the post page
Parameters
refstringpathrequiredslugstringpathrequiredRequest body
application/json
viewstringsecondsintegerdepthintegersectionstring{
"view": "string",
"seconds": 0,
"depth": 0,
"section": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/p/n/{ref}/p/{slug}/beacon" \
-H "Content-Type: application/json" \
-d '{"view":"string","seconds":0,"depth":0,"section":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredGET
https://hermeticor.com /p/n/{ref}/feed.xml RSS feed (free part of every post)
Parameters
refstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/p/n/{ref}/feed.xml"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
GET
https://hermeticor.com /p/n/{ref}/atom.xml Atom feed
Parameters
refstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/p/n/{ref}/atom.xml"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
GET
https://hermeticor.com /p/n/{ref}/sitemap.xml sitemap.xml
Parameters
refstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/p/n/{ref}/sitemap.xml"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
GET
https://hermeticor.com /p/n/{ref}/robots.txt robots.txt
Parameters
refstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/p/n/{ref}/robots.txt"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
GET
https://hermeticor.com /p/n/{ref}/{*} 301/302 for an old address, else 404
Parameters
refstringpathrequired*stringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/p/n/{ref}/{*}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
Updated