ark.tektonik or just "tektonik" is the rest api for the project ARK. It's resources can be best understood by reviewing the ARK project's documentation.
Table of Contents
Properties are domain names.
Column | Type |
---|---|
id | primary key |
property | string |
Example:
curl -i -H "Content-Type: application/json" -X POST -d '{"property":"website.com"}' http://127.0.0.1:5000/properties
Headers:
- Content-Type: application/json
Request:
{
"property": "my.website.com"
}
Response:
{
"id":1,
"property": "my.website.com"
}
Returns:
- 201
- 400
Example:
curl -i -H http://127.0.0.1:5000/properties
Response:
{
"id":1,
"property": "my.website.com"
},
{
"id":2,
"property": "other.website.com"
}
Returns:
- 200
- 404