Skip to content

kvnlnt/tektonik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ark.tektonik

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.

MODEL
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

TOP

About

WIP: A RESTful api service for ARK websites.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors